Perbaikan laporan semua transaksi with print
This commit is contained in:
@@ -175,9 +175,11 @@ public function vehicleReport(Request $request)
|
||||
// : 'tp.pklogin';
|
||||
if ($harian == 1) {
|
||||
// $dateColumn = ['tp.waktu_masuk', 'tp.waktu_keluar'];
|
||||
$isReport = "harian";
|
||||
$dateColumn = ["tp.waktu_keluar"];
|
||||
} else {
|
||||
// $dateColumn = ['tp.pmlogin', 'tp.pklogin'];
|
||||
$isReport = "shift";
|
||||
$dateColumn = ["tp.pklogin"];
|
||||
}
|
||||
|
||||
@@ -446,6 +448,7 @@ public function vehicleReport(Request $request)
|
||||
return [
|
||||
// 'date' => $startDate->format('Y-m-d'),÷
|
||||
"date" => $startDate,
|
||||
"reportTime" => $isReport,
|
||||
"tunai" => $tunai,
|
||||
"nontunai" => $cashless,
|
||||
"overNight" => $onCheck,
|
||||
|
||||
Reference in New Issue
Block a user