added seprated method for withdraw and deposit

This commit is contained in:
2026-06-09 20:43:01 +03:30
parent e75edfb791
commit e13cce568d
4 changed files with 237 additions and 1 deletions
+1
View File
@@ -97,6 +97,7 @@ Route::middleware('auth:user')->group(function (){
Route::post('/wallet/transaction/table',[WalletController::class,'index']);
Route::post('/wallet/transaction/update',[WalletController::class,'updateTransaction']);
Route::post('/wallet/withdraw/table',[WalletController::class,'indexWithdraw']);
Route::post('/wallet/withdraw/report',[WalletController::class,'exportWithdrawReport']);
Route::put('/wallet/withdraw/{id}',[WalletController::class,'updateWithdraw']);
Route::get('/wallet/withdraw/{id}',[WalletController::class,'getWithdraw']);
Route::post('/wallet/withdraw/complete',[WalletController::class,'completeWithdraw']);