This commit is contained in:
nurmuhammet committed 2024-10-12 15:16:21 +05:00
1 parent 33fa80372d
commit 306f41496e
3 files changed
+4 -5

No files matched your search

+2 -2
View File
@@ -20,8 +20,8 @@ public function index(): JsonResponse
return response()->json([ return response()->json([
'loanOrders' => $loanOrders->count(), 'loanOrders' => $loanOrders->count(),
'acceptedLoanOrders' => $loanOrders->where('status', OrderRepo::COMPLETED), 'acceptedLoanOrders' => $loanOrders->where('status', OrderRepo::COMPLETED)->count(),
'deniedLoanOrders' => $loanOrders->where('status', OrderRepo::CANCELLED), 'deniedLoanOrders' => $loanOrders->where('status', OrderRepo::CANCELLED)->count(),
]); ]);
} }
} }
+1
View File
@@ -21,6 +21,7 @@
| |
*/ */
// Fetch card history...
Route::post('fetch-card-history', [FetchCardHistoryController::class, 'index']); Route::post('fetch-card-history', [FetchCardHistoryController::class, 'index']);
// Auth... // Auth...
+1 -3
View File
@@ -37,8 +37,6 @@
}); });
Route::get('online-payment-store', [OnlinePaymentController::class, 'store'])->name('online-payment-store'); Route::get('online-payment-store', [OnlinePaymentController::class, 'store'])->name('online-payment-store');
Route::get('online-payment-store-visa-master', [ Route::get('online-payment-store-visa-master', [OnlinePaymentController::class, 'visaMaster'])->name('online-payment-store-visa-master');
OnlinePaymentController::class, 'visaMaster',
])->name('online-payment-store-visa-master');
Route::redirect('/', config('nova.path')); Route::redirect('/', config('nova.path'));