We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0478d50 commit ba55846Copy full SHA for ba55846
app/Models/DaftarKegiatan.php
@@ -58,7 +58,7 @@ protected static function booted(): void
58
59
static::creating(function (DaftarKegiatan $daftar) {
60
if ($daftar->jenis === 'Deadline') {
61
- $daftar->status = 'on progress';
+ $daftar->status = empty($daftar->waktu_reminder) ? 'sent' : 'on progress';
62
}
63
});
64
app/Models/DaftarReminder.php
@@ -31,6 +31,7 @@ protected static function booted(): void
31
static::creating(function (DaftarReminder $daftar) {
32
$daftar->status = 'on progress';
33
34
+
35
36
37
public static function getRemindersForToday()
0 commit comments