Initial reseller domain report, enable editing domain service details

This commit is contained in:
Deon George
2021-07-13 12:31:56 +10:00
parent bc26f7b881
commit b515a1edeb
26 changed files with 652 additions and 56 deletions

View File

@@ -16,10 +16,10 @@ use App\Http\Controllers\{AdminController,
*/
Route::group(['middleware'=>['auth:api','role:reseller']], function() {
Route::get('/r/agents','ResellerServicesController@agents');
// Route::get('/r/agents','ResellerServicesController@agents');
Route::get('/r/accounts',[ResellerServicesController::class,'accounts']);
Route::get('/r/clients','ResellerServicesController@clients');
Route::get('/r/service_inactive','ResellerServicesController@service_inactive');
// Route::get('/r/clients','ResellerServicesController@clients');
// Route::get('/r/service_inactive','ResellerServicesController@service_inactive');
Route::post('r/invoices/{o}',[AdminController::class,'pay_invoices'])
->where('o','[0-9]+')
->middleware(['theme:adminlte-be','role:wholesaler']);