This commit is contained in:
2024-11-29 15:22:12 +05:00
parent 7d212ab9f3
commit b431869bb6

View File

@@ -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,
]);