loan remaining added

This commit is contained in:
2024-11-26 01:37:59 +05:00
parent 5d5e269285
commit 8b87f58a0c
9 changed files with 224 additions and 5 deletions

View File

@@ -197,7 +197,6 @@ class LoanOrder extends Model
static::creating(LoanOrderRepo::creating());
static::created(LoanOrderRepo::created());
static::updated(function (LoanOrder $model) {
info($model->notes);
if ($model->notes && $model->wasChanged('notes')) {
auth()->user()->alerts()->create([
'name' => 'Duýdyryş',