wip
This commit is contained in:
@@ -200,7 +200,7 @@ class LoanOrder extends Model
|
||||
static::updated(function (LoanOrder $model) {
|
||||
if ($model->notes && $model->wasChanged('notes')) {
|
||||
Alert::create([
|
||||
'user_id' => auth()->id(),
|
||||
'user_id' => $model->user_id,
|
||||
'name' => 'Duýdyryş',
|
||||
'value' => $model->notes,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user