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:
@@ -115,7 +115,7 @@ final class VmProvisionService
|
||||
*/
|
||||
public function updatePassword(int $moduleVmwareId, string $plainPassword): void
|
||||
{
|
||||
ModuleVmware::where('id', $moduleVmwareId)->update([
|
||||
ModuleVmware::findOrFail($moduleVmwareId)->update([
|
||||
'password' => $this->encryptPassword($plainPassword),
|
||||
'plain_password' => $plainPassword,
|
||||
]);
|
||||
@@ -130,7 +130,7 @@ final class VmProvisionService
|
||||
*/
|
||||
public function savePassword(int $moduleVmwareId, string $ip, string $plainPassword): void
|
||||
{
|
||||
ModuleVmware::where('id', $moduleVmwareId)->update([
|
||||
ModuleVmware::findOrFail($moduleVmwareId)->update([
|
||||
'ip' => $ip,
|
||||
'password' => $this->encryptPassword($plainPassword),
|
||||
'plain_password' => $plainPassword,
|
||||
|
||||
Reference in New Issue
Block a user