create API and update wallet component statistics

This commit is contained in:
edmondlang
2022-03-20 23:50:54 +08:00
parent f9d246b9f6
commit ce60f96eb6
3 changed files with 161 additions and 91 deletions
+2
View File
@@ -10,4 +10,6 @@ Route::group(['prefix' => 'wallets', 'namespace' => 'Wallets', 'as' => 'wallet.'
Route::post('/credit', 'CreditWalletController@credit')->name('credit'); // admin +
Route::put('/{transaction_id}/update-status/{status}', 'UpdateStatusWalletController@updateStatus')->where('status', 'approve|reject')->name('approval');
Route::get('/reports', 'WalletReportController@walletsReport')->name('reports');
});