update
This commit is contained in:
@@ -1,5 +1,30 @@
|
||||
# Tech Changelog
|
||||
|
||||
## 2026-04-04 (Email templates - split list/form view)
|
||||
- `EmailTemplateController`:
|
||||
- dodano osobne endpointy widokowe `create()` i `edit()` dla formularza szablonu,
|
||||
- wydzielono render formularza do `renderForm(...)`,
|
||||
- `save()` przy bledzie walidacji/CSRF wraca na odpowiednia podstrone formularza (`/create` albo `/edit?id=`), zamiast do listy.
|
||||
- Routing:
|
||||
- dodano trasy `GET /settings/email-templates/create` oraz `GET /settings/email-templates/edit`.
|
||||
- Widoki:
|
||||
- `resources/views/settings/email-templates.php` zawiera tylko liste szablonow i akcje tabeli,
|
||||
- dodano `resources/views/settings/email-templates-form.php` jako osobna podstrone create/edit (Quill, zmienne, preview).
|
||||
- Brak zmian schematu bazy danych.
|
||||
|
||||
## 2026-04-04 (Phase 69 - Allegro Tracking English Statuses, Plan 01)
|
||||
- `DeliveryStatus::slugifyAllegroDescription()`:
|
||||
- dodano obsluge prefiksow EN (`Parcel has been ...`, `Parcel is ...`, `Courier has ...`) przed slugifikacja.
|
||||
- `DeliveryStatus`:
|
||||
- rozszerzono `ALLEGRO_EDGE_MAP` o slugi EN i ich mapowanie na statusy biznesowe (m.in. `awaiting_pick_up`, `delivered`, `dispatched`, `released_for_delivery`),
|
||||
- rozszerzono `ALLEGRO_EDGE_DESCRIPTIONS` o opisy EN/PL dla nowych slugow,
|
||||
- rozszerzono `guessStatusFromDescription()` o keyword fallback dla statusow EN (delivery/return/cancel/pickup/transit/confirmed/created/problem).
|
||||
- Dodano test jednostkowy `tests/Unit/DeliveryStatusTest.php` pokrywajacy:
|
||||
- mapowanie EN (`Parcel is awaiting pick-up`, `Parcel has been delivered`),
|
||||
- fallback EN (`released for delivery`),
|
||||
- regresje mapowania PL (`Przesylka zostala dostarczona`).
|
||||
- Brak zmian schematu bazy danych.
|
||||
|
||||
## 2026-04-03 (Phase 64 - Receipt Datetime Precision, Plan 01)
|
||||
- Migracja `20260403_000076_alter_receipts_issue_date_to_datetime.sql`: ALTER TABLE receipts MODIFY issue_date DATETIME NOT NULL.
|
||||
- `ReceiptController::store()`: zapis issue_date jako Y-m-d H:i:s, konwersja z formatu datetime-local (T separator).
|
||||
@@ -878,5 +903,3 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user