feat: Add IT Support catalog and related migrations, seeders, and email templates

- Created migration to add 'group_label' to 'product_type_fields' table.
- Implemented ItSupportCatalogSeeder to populate IT Support features and tiers.
- Added ProductCategorySeeder for initial product categories.
- Developed ProductMockupSeeder for mockup products in various categories.
- Introduced ProductTypeFieldSeeder to define fields for different product types.
- Created email templates for VPS service information and service renewal reminders.
This commit is contained in:
baodev0
2026-08-26 16:19:38 +07:00
parent 382b7c0ef8
commit c917e3bf5e
47 changed files with 2992 additions and 1759 deletions
+9
View File
@@ -12,6 +12,9 @@ enum ProductTypeEnums: string
case DOMAIN = 'domain';
case WEB_DESIGN = 'web design';
case ADDON = 'addon';
case HARDWARE = 'hardware';
case IT_SUPPORT = 'it_support';
case SERVER_RENTAL = 'server_rental';
public function label(): string
{
@@ -24,6 +27,9 @@ enum ProductTypeEnums: string
self::DOMAIN => 'Domain',
self::WEB_DESIGN => 'Web Design',
self::ADDON => 'Addon',
self::HARDWARE => 'Hardware',
self::IT_SUPPORT => 'IT Support',
self::SERVER_RENTAL => 'Thuê máy chủ',
};
}
@@ -38,6 +44,9 @@ enum ProductTypeEnums: string
self::DOMAIN => 'purple',
self::WEB_DESIGN => 'pink',
self::ADDON => 'orange',
self::HARDWARE => 'volcano',
self::IT_SUPPORT => 'geekblue',
self::SERVER_RENTAL => 'magenta',
};
}
}