Add service renewal functionality and command for expired services
This commit is contained in:
@@ -33,6 +33,7 @@ Route::prefix('v1')->as('api.')->group(function () {
|
||||
Route::get('invoices/order/{orderNum}', 'getClientInvoiceDetailByOrderNum')->name('invoices.detailByOrderNum');
|
||||
Route::get('dich-vu', 'getClientServices')->name('services.list');
|
||||
Route::patch('dich-vu/{id}/auto-renew', 'updateClientServiceAutoRenew')->name('services.autoRenew.update');
|
||||
Route::post('dich-vu/{id}/renew', 'renewService')->name('services.renew');
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user