feat: add deposit receipt upload and admin approval/rejection workflow with SMS
This commit is contained in:
@@ -199,6 +199,8 @@ Route::middleware(['auth:user', 'admin.page'])->group(function (){
|
||||
Route::put('/wallet/withdraw/{id}',[WalletController::class,'updateWithdraw']);
|
||||
Route::get('/wallet/withdraw/{id}',[WalletController::class,'getWithdraw']);
|
||||
Route::post('/wallet/withdraw/complete',[WalletController::class,'completeWithdraw']);
|
||||
Route::post('/wallet/deposit/approve', [WalletController::class, 'approveDeposit']);
|
||||
Route::post('/wallet/deposit/reject', [WalletController::class, 'rejectDeposit']);
|
||||
Route::post('/wallet/withdraw_physical/table',[WalletController::class,'indexPhysicalWithdraw']);
|
||||
Route::get('/wallet/withdraw_physical/options/{customerId}',[WalletController::class,'physicalWithdrawOptions']);
|
||||
Route::post('/wallet/withdraw_physical',[WalletController::class,'createPhysicalWithdraw']);
|
||||
|
||||
@@ -119,6 +119,7 @@ Route::middleware(['auth:customer', 'customer.active'])->group(function () use (
|
||||
Route::post('/wallet/withdraw/table', [WalletController::class, 'indexWithdraw']);
|
||||
Route::post('/wallet/withdraw_physical/table', [WalletController::class, 'index_withdraw_physical']);
|
||||
Route::post('wallet/withdraw/otp', [WalletController::class, 'withdrawOtp']);
|
||||
Route::post('wallet/deposit_request', [WalletController::class, 'depositRequest']);
|
||||
|
||||
Route::post('/withdraw/table', [WalletController::class, 'withdrawTable']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user