feat(mail-campaigns): sender info + resolve typed emails against customers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
baodev0
2026-10-22 21:18:53 +07:00
co-authored by Claude Opus 5.5
parent 54c14c41d8
commit e1efc88fd2
10 changed files with 277 additions and 18 deletions
@@ -79,6 +79,8 @@ class ProductController extends Controller
'product_type' => 'nullable|string',
'category' => 'nullable|string|max:255',
'thumbnail' => 'nullable|string|max:2048',
'short_description' => 'nullable|string',
'description' => 'nullable|string',
'is_active' => 'boolean',
'setup_fee' => 'nullable|numeric|min:0',
'cpu' => 'nullable|numeric|min:0',
@@ -114,6 +116,8 @@ class ProductController extends Controller
'service_plan_id' => $validated['service_plan_id'] ?? null,
'product_type' => $productType,
'thumbnail' => ($validated['thumbnail'] ?? null) ?: null,
'short_description' => $validated['short_description'] ?? null,
'description' => $validated['description'] ?? null,
'is_active' => $validated['is_active'] ?? true,
'setup_fee' => $validated['setup_fee'] ?? 0,
'cpu' => $validated['cpu'] ?? null,
@@ -148,6 +152,8 @@ class ProductController extends Controller
'service_plan_id' => 'nullable|integer|exists:service_plans,id',
'product_type' => 'nullable|string',
'thumbnail' => 'nullable|string|max:2048',
'short_description' => 'nullable|string',
'description' => 'nullable|string',
'is_active' => 'boolean',
'setup_fee' => 'nullable|numeric|min:0',
'cpu' => 'nullable|numeric|min:0',