1.fix layout and add icon in Tiada Data diperolehi dalam carian 2.add account statements icon in rekod Tebus

This commit is contained in:
Cyclone
2025-12-01 20:29:14 +08:00
committed by Nur Izzati
parent 863388ac6a
commit b330abd0e2
3 changed files with 116 additions and 103 deletions
+1 -49
View File
@@ -224,55 +224,7 @@ Route::get('/autoserahan/rekod', [AutoSerahanController::class,'record'])->name
Route::get('/autoserahan/rekod', [AutoSerahanController::class,'record'])->name('autoserahan.rekod');
Route::get('/accounts/statements', [AccountStatementController::class,'showStatement'])->name('accountstatement.rekod');
// Route::get('/accounts', function () {
// $accountHolder = [
// 'name' => 'John Smith',
// 'address' => '2450 Courage St, STE 108',
// 'city_state_zip' => 'Brownsville, TX 78521',
// ];
// $bankDetails = [
// 'name' => 'PERMODALAN KELANTAN BERHAD',
// 'address' => '231 Valley Farms Street Santa Monica, CA 90403',
// 'email' => 'firstcitizensbank@domain.com',
// 'branch' => 'Main Branch - Santa Monica',
// 'account_number' => '111-234-567-890',
// 'statement_date' => '10/31/2025',
// 'period_covered' => '10/01/2025 to 10/31/2025',
// ];
// $summary = [
// 'opening_balance' => 175800.00,
// 'total_credit' => 510000.00,
// 'total_debit' => 94000.00,
// 'closing_balance' => 591800.00,
// 'account_type' => 'Current Account',
// 'transaction_count' => 8,
// ];
// $transactions = [
// // Note: The PDF format has Debit/Credit columns reversed in some tools,
// // but standard accounting puts Credits first. We'll follow the PDF logic
// // where amounts are placed under the correct column (Credit or Debit).
// ['date' => '10/02/2025', 'description' => 'Payment - Credit Card', 'credit' => null, 'debit' => 5400.00, 'balance' => 170400.00],
// ['date' => '10/03/2025', 'description' => 'Payment - Insurance', 'credit' => null, 'debit' => 3000.00, 'balance' => 167400.00],
// ['date' => '10/05/2025', 'description' => 'Account Transfer In', 'credit' => 500000.00, 'debit' => null, 'balance' => 667400.00],
// ['date' => '10/10/2025', 'description' => 'Cheque Deposit', 'credit' => 10000.00, 'debit' => null, 'balance' => 677400.00],
// ['date' => '10/15/2025', 'description' => 'Payment - Electricity', 'credit' => null, 'debit' => 1500.00, 'balance' => 675900.00],
// ['date' => '10/20/2025', 'description' => 'Payment - Water Utility', 'credit' => null, 'debit' => 600.00, 'balance' => 675300.00],
// ['date' => '10/25/2025', 'description' => 'Payment - Car Loan', 'credit' => null, 'debit' => 3500.00, 'balance' => 671800.00],
// ['date' => '10/30/2025', 'description' => 'Account Transfer Out', 'credit' => null, 'debit' => 80000.00, 'balance' => 591800.00],
// ];
// return view('accounts-statements', compact('accountHolder', 'bankDetails', 'summary', 'transactions'));
// });
Route::get('/accounts/statements/{norujukan}', [AccountStatementController::class,'showStatement'])->name('accountstatement.rekod');
Route::get('{any}', function () {
return view('home');