This commit is contained in:
Dwi Swandhana
2026-05-07 09:39:01 +07:00
parent 667e5924a8
commit a6b180378b
@@ -86,7 +86,11 @@ class ListController extends Controller
}
}
if ($akhir != '' AND $mulai != $akhir){
$arraylist = $arraylist->whereBetween('verifikasi', [$mulai, $akhir]);
if ($mulai == $akhir){
$arraylist = $arraylist->whereDate('verifikasi', $mulai);
} else {
$arraylist = $arraylist->whereBetween('verifikasi', [$mulai, $akhir]);
}
} else {
if ($jenis == 'ThisDay' OR $jenis == ''){
if ($mulai == '' OR is_null($mulai)){ $mulai = date('Y-m-d'); }