Perbaikan laporan semua transaksi with print

This commit is contained in:
2026-08-03 18:22:55 +07:00
parent d1bfa4f2eb
commit 9f8c67a5dc
14 changed files with 32900 additions and 257 deletions
@@ -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,