// Route::resource('notices', NoticeController::class); // Route::delete('notices/{noticeId}/files/{fileId}', [NoticeController::class, 'removeFile'])->name('notices.removeFile'); // Route::get('notices/urgent', [NoticeController::class, 'urgent'])->name('notices.urgent'); // Route::get('notices/active', [NoticeController::class, 'active'])->name('notices.active'); /** payment */ // Route::get('/payment', [PaymentController::class, 'index'])->name('payment.index'); // Route::get('/payment/export', [PaymentController::class, 'export'])->name('payment.export'); // Route::get('/payment/{id}/print', [PaymentController::class, 'print'])->name('payment.print'); // Route::get('/payment/{id}/download', [PaymentController::class, 'download'])->name('payment.download'); // Route::get('/payment', function () { // return view('frontend.payment'); // })->name('payment'); // Route::post('/initiate-payment', [PaymentController::class, 'initiate']); // Route::get('/payment/callback', [PaymentController::class, 'callback'])->name('khalti.callback'); // Route::get('/payment', [PaymentController::class, 'showResult'])->name('payment.result'); // // Payment status and download routes // Route::get('/payment/complete', [PaymentController::class, 'handlePaymentCompletion'])->name('payment.complete'); // Route::get('/payment/status/{payment}', [PaymentStatusController::class, 'showStatus'])->name('payment.status');; // Route::get('/payment/receipt/{payment}', [PaymentController::class, 'downloadReceipt'])->name('payment.receipt'); // Route::get('/payment/generate-receipt/{payment}', [PaymentController::class, 'generateReceiptForPayment'])->name('payment.generate-receipt'); // Route::get('/payment/cancelled', [PaymentController::class, 'handleCancelledPayment'])->name('payment.cancelled'); // Route::get('/payment/failed', [PaymentController::class, 'paymentFailed'])->name('payment.failed'); // Route::get('/payment/print-receipt/{payment}', [PaymentController::class, 'printReceipt'])->name('payment.print-receipt'); // Route::post('/admin/payment/{id}/refund', [PaymentController::class, 'refund'])->name('admin.payment.refund'); // Route::post('/admin/payment/set-default-charges', [PaymentController::class, 'setDefaultCharges'])->name('admin.payment.set-default-charges');