update logic
This commit is contained in:
@@ -120,6 +120,7 @@ Route::prefix('v1')
|
||||
->controller(CustomerController::class)
|
||||
->group(function () {
|
||||
Route::get('trash', 'trash')->middleware('perm:customer.view');
|
||||
Route::get('vps/available', 'listAvailableVms')->middleware('perm:customer.view');
|
||||
Route::get('/', 'index')->middleware('perm:customer.view');
|
||||
Route::post('/', 'store')->middleware('perm:customer.create');
|
||||
Route::get('{uuid}', 'show')->middleware('perm:customer.view');
|
||||
@@ -130,6 +131,7 @@ Route::prefix('v1')
|
||||
Route::post('{uuid}/add-credit', 'addCredit')->middleware('perm:customer.edit');
|
||||
Route::post('{uuid}/add-total', 'addTotal')->middleware('perm:customer.edit');
|
||||
Route::get('{uuid}/services', 'getServices')->middleware('perm:customer.view');
|
||||
Route::post('{uuid}/services', 'createService')->middleware('perm:customer.edit');
|
||||
Route::get('{uuid}/orders', 'getOrders')->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/invoices', 'getInvoices')->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/transactions', 'getTransactions')->middleware('perm:customer.view');
|
||||
|
||||
Reference in New Issue
Block a user