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