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 d1c304e commit 887ef42Copy full SHA for 887ef42
app/Helpers/Helper.php
@@ -747,7 +747,7 @@ public static function getUsersByPengelola($role, $tanggal)
747
$usersIdByPengelola = Pengelola::cache()
748
->get('all')
749
->where('role', $role)
750
- ->where('active', '<', $tanggal)
+ ->whereDate('active', '<', $tanggal)
751
->reject(function ($item) use ($tanggal) {
752
return $item['inactive'] && $item['inactive'] < $tanggal;
753
})
0 commit comments