shopit-back/app/Domains/Catalog/Models
ncoronel 573d4fe5e6 Refactor ticket validity handling and improve tests
- Updated tests for Accommodation, Entry, Food, Merchandise, and Sale controllers to use soft deletes for variants and ensure proper inventory counts.
- Enhanced ticket generation logic to resolve validity from soft-deleted catalog sources.
- Introduced a new TicketValidityResolver service to manage ticket validity based on event dates and variant definitions.
- Removed unnecessary database assertions and improved the clarity of validity checks in tests.
- Added comprehensive tests for the new TicketValidityResolver service, ensuring correct handling of event dates and multi-select options.
- Cleaned up unused code and assertions in existing tests for better maintainability.
2026-08-14 09:00:51 -03:00
..
Attribute.php Add tests for ticket validity and event date formatting 2026-08-11 12:41:35 -03:00
AttributeOption.php Add tests for ticket validity and event date formatting 2026-08-11 12:41:35 -03:00
Brand.php refactor(catalog): Complete catalog refactor to simplify its data model and its querying. 2026-07-21 09:23:19 -03:00
BundleComponent.php refactor(catalog): Complete catalog refactor to simplify its data model and its querying. 2026-07-21 09:23:19 -03:00
CatalogItem.php Refactor ticket validity handling and improve tests 2026-08-14 09:00:51 -03:00
Category.php feat: Implement staff management features; add controller, service, resource, routes, and tests for staff and category assignments 2026-08-04 16:20:30 -03:00
FeaturedGroup.php feat: Introduce source type for featured groups; add category association and implement FeaturedGroupService for item sourcing 2026-08-04 13:17:00 -03:00
FeaturedItem.php refactor(catalog): Complete catalog refactor to simplify its data model and its querying. 2026-07-21 09:23:19 -03:00
Inventory.php refactor(catalog): Complete catalog refactor to simplify its data model and its querying. 2026-07-21 09:23:19 -03:00
ItemAttribute.php feat(catalog): add show_in_selector attribute to item attributes and update related logic 2026-08-12 16:11:53 -03:00
Variant.php Refactor ticket validity handling and improve tests 2026-08-14 09:00:51 -03:00
VariantDefinition.php refactor(catalog): Complete catalog refactor to simplify its data model and its querying. 2026-07-21 09:23:19 -03:00