feat: Add customer notes functionality and enhance invoice/order models with date fields
This commit is contained in:
@@ -132,9 +132,24 @@ Route::prefix('v1')
|
||||
'perm:customer.edit',
|
||||
);
|
||||
Route::put('{uuid}/services/{serviceId}', 'updateService')->middleware('perm:customer.edit');
|
||||
Route::get('{uuid}/notes', 'getCustomerNotes')->middleware('perm:customer.view');
|
||||
Route::post('{uuid}/notes', 'storeCustomerNote')->middleware('perm:customer.edit');
|
||||
Route::delete('{uuid}/notes/{noteId}', 'destroyCustomerNote')->middleware('perm:customer.edit');
|
||||
Route::get('{uuid}/services/{serviceId}/notes', 'getServiceNotes')->middleware('perm:customer.view');
|
||||
Route::post('{uuid}/services/{serviceId}/notes', 'storeServiceNote')->middleware('perm:customer.edit');
|
||||
Route::delete('{uuid}/services/{serviceId}/notes/{noteId}', 'destroyServiceNote')->middleware(
|
||||
'perm:customer.edit',
|
||||
);
|
||||
Route::get('{uuid}/orders', 'getOrders')->middleware('perm:customer.view');
|
||||
Route::put('{uuid}/orders/{orderId}', 'updateOrder')->middleware('perm:customer.edit');
|
||||
Route::get('{uuid}/invoices', 'getInvoices')->middleware('perm:customer.view');
|
||||
Route::put('{uuid}/invoices/{invoiceId}', 'updateInvoice')->middleware(
|
||||
'perm:customer.edit',
|
||||
);
|
||||
Route::get('{uuid}/transactions', 'getTransactions')->middleware('perm:customer.view');
|
||||
Route::put('{uuid}/transactions/{transactionId}', 'updateTransaction')->middleware(
|
||||
'perm:customer.edit',
|
||||
);
|
||||
Route::get('{uuid}/domains', 'getDomains')->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/dns-domains', 'getDnsDomains')->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/dns-domains/{domainId}/records', 'getDnsDomainRecords')->middleware(
|
||||
|
||||
Reference in New Issue
Block a user