feat: Implement VM suspension feature with email notification

- Added suspend method in VCenterManagerController to handle VM suspension requests.
- Introduced VmSuspendedMail for notifying customers about VM suspension.
- Created email template for VM suspension notification.
- Updated API routes to include VM suspend functionality.
- Modified cors.php to allow additional local development URL.
- Updated DatabaseSeeder to include AdminSeeder and commented out unused seeders.
- Removed deprecated Livewire components related to cart, customer email history, invoices, orders, tickets, transactions, user settings, and VPS reinstall modal.
This commit is contained in:
baodev0
2026-05-21 10:17:16 +07:00
parent 4a308cd19a
commit a31d238135
18 changed files with 226 additions and 796 deletions
+3 -2
View File
@@ -16,13 +16,14 @@ class DatabaseSeeder extends Seeder
public function run(): void
{
$this->call(BankTransferPaymentSeeder::class);
$this->call(AdminSeeder::class);
$this->call(RoleSeeder::class);
$this->call(RolesAndPermissions::class);
$user = User::find(1);
$user->assignRole('Full Administrator');
$this->call(TemplateSeeder::class);
$this->call(Setting::class);
$this->call(ControlPanelSeeder::class);
$this->call(VPSProductSeeder::class);
// $this->call(ControlPanelSeeder::class);
// $this->call(VPSProductSeeder::class);
}
}