ok
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user