This commit is contained in:
2025-07-04 19:00:47 +05:00
parent cfcfdefc36
commit 1746ba4a60
4 changed files with 39 additions and 11 deletions

View File

@@ -94,4 +94,15 @@ class LoanPaidOffLetterOrder extends Model
{
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());
}
}