Add service renewal functionality and command for expired services

This commit is contained in:
pbao9
2026-04-15 20:52:11 +07:00
parent dba49c4374
commit 64a9d603e2
6 changed files with 289 additions and 1 deletions
+1
View File
@@ -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');
});