feat(desfile): refactor entry management to use row-based configuration and expand seat options

This commit is contained in:
2026-08-14 13:32:02 -03:00
parent 4be94275f1
commit de8da72354
8 changed files with 298 additions and 188 deletions

View File

@@ -36,6 +36,11 @@ class CreateDesfilePuraTendenciaTenantTest extends TestCase
);
$rowAndSeatMigration->up();
$seatOptionsMigration = require database_path(
'migrations/2026_08_14_040000_expand_desfile_seat_options.php'
);
$seatOptionsMigration->up();
$footerBackgroundMigration = require database_path(
'migrations/2026_08_12_060000_set_desfile_footer_background_image.php'
);
@@ -192,7 +197,7 @@ class CreateDesfilePuraTendenciaTenantTest extends TestCase
'tipo' => ['VIP + LUNCH', 'NORMAL'],
'sector' => ['A', 'B', 'C', 'D'],
'fila' => array_map('strval', range(1, 5)),
'asiento' => array_map('strval', range(1, 17)),
'asiento' => array_map('strval', range(1, 100)),
], $attributes->map(fn (object $attribute): array => DB::table('attribute_options')
->where('attribute_id', $attribute->id)
->orderBy('sort_order')