feat: email gửi tay/nhắc gia hạn, gói hosting, sửa dữ liệu sản phẩm

- Gửi email theo template cho 1 khách, tab lịch sử email, nhắc gia hạn dịch vụ hàng loạt
- Mail lưu from/bcc/sent_by; mẫu MARKETING và mẫu cũ trong TemplateSeeder
- Gói hosting: giới hạn, trạng thái, lấy plan Plesk qua CLI gateway
- Backfill payment_method và ngày đơn hàng còn thiếu
- Bổ sung field CPU/RAM/Disk/Băng thông cho loại sản phẩm vps và cloud

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
baodev0
2026-10-09 11:32:05 +07:00
co-authored by Claude Opus 5.5
parent 8651dde6b1
commit 30898ea46f
59 changed files with 1771 additions and 108 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ enum ProductTypeEnums: string
case EMAIL = 'email';
case SSL = 'ssl';
case DOMAIN = 'domain';
case WEB_DESIGN = 'web design';
case WEB_DESIGN = 'web_design';
case ADDON = 'addon';
case HARDWARE = 'hardware';
case IT_SUPPORT = 'it_support';
@@ -24,7 +24,7 @@ enum ProductTypeEnums: string
self::CLOUD => 'Cloud',
self::EMAIL => 'Email',
self::SSL => 'SSL',
self::DOMAIN => 'Domain',
self::DOMAIN => 'Tên miền',
self::WEB_DESIGN => 'Web Design',
self::ADDON => 'Addon',
self::HARDWARE => 'Hardware',
@@ -49,4 +49,4 @@ enum ProductTypeEnums: string
self::SERVER_RENTAL => 'magenta',
};
}
}
}