feat: nhắc gia hạn QR theo dịch vụ, failover server hosting, CCCD admin, log cấp phát dịch vụ

- Mail campaign: mẫu nhắc gia hạn thanh toán QR, chọn dịch vụ + chu kỳ từng dòng (renewal_services)
- Hosting: nhiều server Plesk cho một gói (service_plan_servers), chuyển server khi server chết
- Admin xem/sửa giấy tờ định danh khách, tuỳ chọn gia hạn cho khách, nhật ký cấp phát dịch vụ
- Đánh dấu mẫu email dịch vụ là non-marketing

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
baodev0
2026-10-30 18:36:41 +07:00
co-authored by Claude Sonnet 5.5
parent 047c23beff
commit 55a834a2f8
53 changed files with 1463 additions and 119 deletions
+11
View File
@@ -1,7 +1,9 @@
<?php
use App\Http\Controllers\Api\Admin\Customer\CustomerIdentityController;
use App\Http\Controllers\Api\Admin\Ticket\TicketController as AdminTicketController;
use App\Http\Controllers\Api\Admin\Transaction\AdminTransactionController;
use App\Support\CustomerIdentity;
use Illuminate\Support\Facades\Route;
Route::prefix('v1/administrator/transactions')
@@ -21,3 +23,12 @@ Route::prefix('v1/administrator/tickets')
->whereNumber('index')
->name('image');
});
Route::prefix('v1/administrator/customers')
->as('admin.customers.')
->middleware('signed')
->group(function () {
Route::get('{customer:uuid}/identity-image/{side}', [CustomerIdentityController::class, 'image'])
->whereIn('side', array_keys(CustomerIdentity::SIDES))
->name('identity-image');
});