Work on cards

This commit is contained in:
2023-12-08 23:54:21 +05:00
parent a4265e488c
commit 63e264805a
15 changed files with 299 additions and 98 deletions

View File

@@ -25,19 +25,8 @@ class LoanOrderNovaRepo
{
$model->update([
'unique_id' => static::fillUniqueId($request, $model),
'filled_by' => auth()->id(),
'user_id' => auth()->id(),
'status' => OrderRepo::defaultStatus(),
]);
}
/**
* After model has been updated
*/
public static function afterUpdate(NovaRequest $request, Model $model): void
{
$model->update([
'filled_by' => auth()->id(),
]);
}
}