update
This commit is contained in:
@@ -86,11 +86,7 @@ class ListController extends Controller
|
||||
}
|
||||
}
|
||||
if ($akhir != '' AND $mulai != $akhir){
|
||||
if ($mulai == $akhir){
|
||||
$arraylist = $arraylist->whereDate('verifikasi', $mulai);
|
||||
} else {
|
||||
$arraylist = $arraylist->whereBetween('verifikasi', [$mulai, $akhir]);
|
||||
}
|
||||
$arraylist = $arraylist->whereBetween('verifikasi', [$mulai, $akhir]);
|
||||
} else {
|
||||
if ($jenis == 'ThisDay' OR $jenis == ''){
|
||||
if ($mulai == '' OR is_null($mulai)){ $mulai = date('Y-m-d'); }
|
||||
@@ -100,7 +96,11 @@ class ListController extends Controller
|
||||
} else if ($jenis == 'mundur3'){
|
||||
$arraylist = $arraylist->whereDate('verifikasi', '>=', Carbon::today()->subDays(2));
|
||||
} else {
|
||||
|
||||
if ($mulai == $akhir){
|
||||
$arraylist = $arraylist->whereDate('verifikasi', $mulai);
|
||||
} else {
|
||||
$arraylist = $arraylist->whereBetween('verifikasi', [$mulai, $akhir]);
|
||||
}
|
||||
}
|
||||
}
|
||||
$arraylist = $arraylist->get();
|
||||
|
||||
Reference in New Issue
Block a user