feat(ticketing): add entry reservations management for admin app
- Introduced new routes for entry reservations in admin app, including form, index, store, and download functionalities. - Created a migration to add the "Reserva de Tickets" menu item to the admin app. - Updated MenuSeeder to include the new menu item for ticket reservations. - Developed a PDF view for entry reservations. - Implemented tests for the EntryReservationController and EntryReservationService to ensure proper functionality and access control. - Refactored test setup to use a dedicated schema creation trait for better isolation and maintainability.
This commit is contained in:
@@ -100,6 +100,12 @@ class MenuSeeder extends Seeder
|
||||
'parent_menu_code' => 'main.adminapp',
|
||||
'route' => '/admin/tickets',
|
||||
],
|
||||
[
|
||||
'code' => 'adminapp.ticket-reservations',
|
||||
'label' => 'Reserva de Tickets',
|
||||
'parent_menu_code' => 'main.adminapp',
|
||||
'route' => '/admin/ticket-reservations',
|
||||
],
|
||||
[
|
||||
'code' => 'adminapp.fiesta-futbol-infantil.entradas',
|
||||
'label' => 'Entradas',
|
||||
@@ -318,6 +324,7 @@ class MenuSeeder extends Seeder
|
||||
'adminapp.desfile.reservas',
|
||||
];
|
||||
$onTicketMenuCodes = [
|
||||
'adminapp.ticket-reservations',
|
||||
'event.index',
|
||||
'event.category',
|
||||
'event.detail',
|
||||
|
||||
Reference in New Issue
Block a user