This commit is contained in:
nurmuhammet committed 2025-07-04 19:00:47 +05:00
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());
}
}