Skip to content

Commit 115f243

Browse files
committed
Save model after updating status to 'sent' in DaftarKegiatan actions
1 parent f2562a3 commit 115f243

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Nova/DaftarKegiatan.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ public function actions(NovaRequest $request)
239239
$model = $models->first();
240240
$model->status = 'sent';
241241
$model->daftarReminder()->update(['status' => 'sent']);
242+
$model->save();
242243
})
243244
->showInline()
244245
->showOnDetail()

0 commit comments

Comments
 (0)