This commit is contained in:
Dwi Swandhana
2026-03-05 06:10:10 +07:00
parent 72041e07ce
commit 632fff4230
5 changed files with 120 additions and 51 deletions
@@ -871,4 +871,18 @@ class ReportController extends Controller
'rekap' => $rekap
]);
}
public function genRekapPenerimaanSample(Request $request) {
$data = [];
$tanggal = $request->input('tanggal');
$tanggal = str_replace('tanggal=', '', $tanggal);
$query = Periksa::select('*');
$periksa = $query->whereDate('daftar', $tanggal)->orderBy('id', 'ASC')->get();
if ($periksa->count() == 0) {
return response()->json([]);
}
return view('cetak.rekappenerimaansample', [
'tanggal' => $tanggal,
'detail' => $periksa
]);
}
}