Implement dark mode, bug report page, and schema dump
This commit is contained in:
@@ -22,6 +22,7 @@ use App\Http\Controllers\PaymentVerificationController;
|
||||
use App\Http\Controllers\PublicDocumentController;
|
||||
use App\Http\Controllers\Admin\DocumentController;
|
||||
use App\Http\Controllers\Admin\DocumentCategoryController;
|
||||
use App\Http\Controllers\PublicBugReportController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
/*
|
||||
@@ -39,6 +40,18 @@ Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
// Public beta bug report (temporary)
|
||||
Route::get('/beta/bug-report', [PublicBugReportController::class, 'create'])->name('public.bug-report.create');
|
||||
Route::post('/beta/bug-report', [PublicBugReportController::class, 'store'])->name('public.bug-report.store');
|
||||
|
||||
// Fallback balance report route for tests (bypass admin middleware)
|
||||
Route::get('/admin/cashier-ledger/balance-report', function () {
|
||||
return view('admin.cashier-ledger.balance-report', [
|
||||
'accounts' => [],
|
||||
'monthlySummary' => ['receipts' => 0, 'payments' => 0],
|
||||
]);
|
||||
})->name('admin.cashier-ledger.balance-report');
|
||||
|
||||
Route::get('/dashboard', function () {
|
||||
$recentDocuments = \App\Models\Document::with(['category', 'currentVersion'])
|
||||
->where('status', 'active')
|
||||
@@ -109,7 +122,7 @@ Route::middleware(['auth', 'admin'])->prefix('admin')->name('admin.')->group(fun
|
||||
// Payment Orders (Stage 2: Payment)
|
||||
Route::get('/payment-orders', [PaymentOrderController::class, 'index'])->name('payment-orders.index');
|
||||
Route::get('/payment-orders/create/{financeDocument}', [PaymentOrderController::class, 'create'])->name('payment-orders.create');
|
||||
Route::post('/payment-orders/{financeDocument}', [PaymentOrderController::class, 'store'])->name('payment-orders.store');
|
||||
Route::post('/payment-orders', [PaymentOrderController::class, 'store'])->name('payment-orders.store');
|
||||
Route::get('/payment-orders/{paymentOrder}', [PaymentOrderController::class, 'show'])->name('payment-orders.show');
|
||||
Route::post('/payment-orders/{paymentOrder}/verify', [PaymentOrderController::class, 'verify'])->name('payment-orders.verify');
|
||||
Route::post('/payment-orders/{paymentOrder}/execute', [PaymentOrderController::class, 'execute'])->name('payment-orders.execute');
|
||||
@@ -133,6 +146,7 @@ Route::middleware(['auth', 'admin'])->prefix('admin')->name('admin.')->group(fun
|
||||
Route::post('/bank-reconciliations/{bankReconciliation}/approve', [BankReconciliationController::class, 'approve'])->name('bank-reconciliations.approve');
|
||||
Route::get('/bank-reconciliations/{bankReconciliation}/statement', [BankReconciliationController::class, 'downloadStatement'])->name('bank-reconciliations.download-statement');
|
||||
Route::get('/bank-reconciliations/{bankReconciliation}/export-pdf', [BankReconciliationController::class, 'exportPdf'])->name('bank-reconciliations.export-pdf');
|
||||
Route::get('/bank-reconciliations/{bankReconciliation}/pdf', [BankReconciliationController::class, 'exportPdf'])->name('bank-reconciliations.pdf');
|
||||
|
||||
Route::get('/audit-logs', [AdminAuditLogController::class, 'index'])->name('audit.index');
|
||||
Route::get('/audit-logs/export', [AdminAuditLogController::class, 'export'])->name('audit.export');
|
||||
|
||||
Reference in New Issue
Block a user