feat(inventory): add InventorySubject enum and integrate into catalog item management

This commit is contained in:
2026-08-12 14:42:30 -03:00
parent 5b089e71b2
commit 8e94cf7856
13 changed files with 280 additions and 6 deletions

View File

@@ -42,7 +42,12 @@ return [
'cannot_confirm' => 'A cancelled, rejected, or expired purchase cannot be confirmed.',
'inconsistent_reservation' => 'The purchase has an inconsistent stock reservation.',
'paid_cannot_cancel' => 'A paid purchase cannot be cancelled.',
'direct_items_max_stock' => 'There is not enough stock. Maximum available: :max.',
'stock' => [
'seat_unavailable' => 'Seat :selection is no longer available.',
'ticket_unavailable' => 'Ticket :selection is no longer available.',
'product_unavailable' => 'There is not enough stock for :selection. Maximum available: :max.',
'product_selection' => ':product (:selection)',
],
'empty_cart' => 'The selected cart does not contain items.',
'catalog_item_missing' => 'One or more catalog items could not be loaded.',
'catalog_item_wrong_tenant' => 'One or more catalog items do not belong to the tenant.',
@@ -80,6 +85,13 @@ return [
'test_sent' => 'Test email sent successfully.',
],
'catalog' => [
'attribute_labels' => [
'tipo' => 'Type',
'sector' => 'Sector',
'fila' => 'Row',
'asiento' => 'Seat',
'event_date' => 'Date',
],
'standard_with_components' => 'A standard item cannot have components.',
'duplicate_component' => 'The component is duplicated.',
'component_wrong_tenant' => 'The item does not belong to the bundle tenant.',