ok
This commit is contained in:
1 parent
cfcfdefc36
commit
1746ba4a60
4 files changed
+39
-11
No files matched your search
@@ -94,4 +94,15 @@ public function branch(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Branch::class, 'branch_id');
|
||||
}
|
||||
|
||||
/**
|
||||
* "boot" method for model
|
||||
*/
|
||||
protected static function boot()
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
static::creating(LoanOrderRepo::creating());
|
||||
static::created(LoanOrderRepo::created());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user