wip
This commit is contained in:
1 parent
772ac9ad0f
commit
eefe130ad3
7 files changed
+20
-3
No files matched your search
@@ -5,6 +5,7 @@
|
||||
use App\Models\Branch\Branch;
|
||||
use App\Models\Order\Card\CardType;
|
||||
use App\Models\User;
|
||||
use App\Repos\Order\Loan\LoanOrderRepo;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
@@ -121,4 +122,15 @@ public function priceAmount(): float
|
||||
{
|
||||
return 3.02;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* "boot" method for model
|
||||
*/
|
||||
protected static function boot()
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
static::created(LoanOrderRepo::created());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user