feat: remove EventProductType references and related logic from catalog and fiesta futbol infantil components

This commit is contained in:
2026-08-10 16:37:28 -03:00
parent 5bfc8b9f70
commit 69320c54d4
21 changed files with 90 additions and 79 deletions

View File

@@ -2,7 +2,6 @@
namespace Database\Seeders;
use App\Domains\Catalog\Enums\EventProductType;
use App\Domains\Catalog\Enums\FeaturedGroupSource;
use App\Domains\Catalog\Enums\GroupLayout;
use App\Domains\Catalog\Enums\InventoryPolicy;
@@ -109,7 +108,6 @@ class FiestaFutbolInfantilProductSeeder extends Seeder
'nombre' => 'Abono',
'category_id' => $categories['entradas']->id,
'precio' => 40000,
'event_product_type' => EventProductType::Entry->value,
'has_tickets' => true,
'attribute_codes' => ['event_date'],
'multi_select_attribute_codes' => ['event_date'],
@@ -143,7 +141,6 @@ class FiestaFutbolInfantilProductSeeder extends Seeder
{
return $this->catalogService->create([
'tenant_code' => $tenant->codigo,
'event_product_type' => EventProductType::Product->value,
'descripcion' => $data['nombre'],
'inventory_policy' => InventoryPolicy::Unlimited->value,
...$data,