Commit graph

8 commits

Author SHA1 Message Date
bronkuu
3b184c7c6f more simpler + torty sectino 2026-06-15 20:30:15 +02:00
bronkuu
cf2e217030 code simplification 2026-06-15 20:00:04 +02:00
bronkuu
5f156ab6a0 blocked dates page and warning for special-cake orders
Add blocked_date table (migration 5), model, and store CRUD methods.
Add management page at /blocked with add/delete functionality.
Add nav link 'Terminy zablokowane' with event_busy icon.
Pass blocked dates to order form as JSON data attribute.
On form submit, if the order has special cakes and the date is
blocked, show a confirm() dialog warning the user.
2026-06-15 18:54:48 +02:00
bronkuu
9aafbb94ec tags and special cakes: models, migrations, store layer
Add Tag, SpecialCake, Cake.Tags, Order.SpecialCakes types.
Add migrations for tag, cake_tag, special_cake, special_cake_tag tables.
Add store methods: GetTags, GetCakeTags, SaveCakeTags, CreateTag,
GetSpecialCakes, GetSpecialCakeTags, SaveSpecialCakes, saveSpecialCakeTags.
Load tags in GetCake/GetCakes, cascade tag saves in SaveCake.
Remove debug log calls from ParsePrice.
2026-06-15 18:49:21 +02:00
bronkuu
8194cea85e trying to fix price 2026-06-15 13:45:28 +02:00
bronku
d382de4236 removed cake categories 2026-06-11 01:13:42 +02:00
Bronku
66884c64bb added todos 2025-07-02 10:24:46 +02:00
Bronku
65709049d7 removed 'internal' directory 2025-06-19 21:48:06 +02:00
Renamed from internal/models/data.go (Browse further)