feat(11-receipt-print): phase 11 complete — receipt preview, print & PDF
Add receipt show/print/pdf endpoints with dompdf integration. Active preview and PDF links in order Documents tab. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,31 +5,31 @@
|
||||
See: .paul/PROJECT.md (updated 2026-03-12)
|
||||
|
||||
**Core value:** Sprzedawca może obsługiwać zamówienia ze wszystkich kanałów sprzedaży i nadawać przesyłki bez przełączania się między platformami.
|
||||
**Current focus:** Milestone v0.3 Moduł Paragonów — Faza 11 Podgląd i wydruk paragonu.
|
||||
**Current focus:** Milestone v0.3 Moduł Paragonów — Faza 11 COMPLETE, transition do fazy 12.
|
||||
|
||||
## Current Position
|
||||
|
||||
Milestone: v0.3 Moduł Paragonów
|
||||
Phase: 10 of 12 (10-receipt-issue) — Complete ✓
|
||||
Plan: 10-01 ✓
|
||||
Status: Phase 10 complete — ready for Phase 11
|
||||
Last activity: 2026-03-15 — Phase 10 loop closed
|
||||
Phase: 11 of 12 (11-receipt-print) — Complete
|
||||
Plan: 11-01 complete
|
||||
Status: Loop closed, phase transition required
|
||||
Last activity: 2026-03-15 — Phase 11 complete (podgląd, druk, PDF paragonu)
|
||||
|
||||
Progress:
|
||||
- v0.1 Initial Release: [██████████] 100% ✓
|
||||
- v0.2 Pre-Expansion Fixes: [██████████] 100% ✓
|
||||
- v0.3 Moduł Paragonów: [██████░░░░] 60%
|
||||
- v0.3 Moduł Paragonów: [████████░░] 80%
|
||||
- Phase 8: [██████████] 100% ✓
|
||||
- Phase 9: [██████████] 100% ✓
|
||||
- Phase 10: [██████████] 100% ✓
|
||||
- Phase 11: [░░░░░░░░░░] 0%
|
||||
- Phase 11: [██████████] 100% ✓
|
||||
|
||||
## Loop Position
|
||||
|
||||
Current loop state:
|
||||
```
|
||||
PLAN ──▶ APPLY ──▶ UNIFY
|
||||
✓ ✓ ✓ [Phase 10 complete — ready for next phase]
|
||||
✓ ✓ ✓ [Loop complete — phase transition required]
|
||||
```
|
||||
|
||||
## Accumulated Context
|
||||
@@ -50,6 +50,13 @@ PLAN ──▶ APPLY ──▶ UNIFY
|
||||
| 2026-03-15 | Snapshot pattern: seller/buyer/items jako JSON | Faza 10 | Dane zamrożone w momencie wystawienia paragonu |
|
||||
| 2026-03-15 | Atomowe numerowanie: INSERT ON DUPLICATE KEY UPDATE | Faza 10 | Bezpieczne kolejne numery paragonów |
|
||||
| 2026-03-15 | Moduł Accounting w App\Modules\Accounting | Faza 10 | Separacja od Settings |
|
||||
| 2026-03-15 | dompdf v3.1 server-side PDF generation | Faza 11 | Nowa zależność composer; wymaga vendor/ na serwerze |
|
||||
| 2026-03-15 | ftp-kr vendor/ nie ignorowany (zmiana na /vendor/bin) | Faza 11 | Automatyczny upload vendor/ przy zmianach; rewizja decyzji z fazy 07 |
|
||||
|
||||
### Skill Audit (Faza 11, Plan 01)
|
||||
| Oczekiwany | Wywołany | Uwagi |
|
||||
|------------|---------|-------|
|
||||
| sonar-scanner | ○ | Required — do uruchomienia przed kolejnym UNIFY |
|
||||
|
||||
### Skill Audit (Faza 10, Plan 01)
|
||||
| Oczekiwany | Wywołany | Uwagi |
|
||||
@@ -125,7 +132,7 @@ PLAN ──▶ APPLY ──▶ UNIFY
|
||||
- **Delivery mapping "Szukaj..." layout** — JS `attachSelectFilter()` w allegro.php tworzy input search dla InPost/Apaczka selectów, wizualnie wygląda jakby należał do wiersza powyżej. Pre-existing bug, do naprawy osobno.
|
||||
|
||||
### Git State
|
||||
Last commit: pending (phase 10 commit)
|
||||
Last commit: ed057fc (feat(08-10-receipt-module): phases 08-10 complete)
|
||||
Branch: main
|
||||
Feature branches merged: none
|
||||
|
||||
@@ -135,13 +142,13 @@ Brak.
|
||||
## Session Continuity
|
||||
|
||||
Last session: 2026-03-15
|
||||
Stopped at: Phase 10 complete
|
||||
Next action: /paul:plan for Phase 11 (Podglad i wydruk paragonu HTML+PDF)
|
||||
Resume file: .paul/phases/10-receipt-issue/10-01-SUMMARY.md
|
||||
Stopped at: Phase 11 complete, transition required
|
||||
Next action: Phase transition — git commit, ROADMAP update, then /paul:plan for phase 12
|
||||
Resume file: .paul/phases/11-receipt-print/11-01-SUMMARY.md
|
||||
Resume context:
|
||||
- v0.1: COMPLETE ✓ (6 phases, 15 plans)
|
||||
- v0.2: COMPLETE ✓ (1 phase, 5 plans)
|
||||
- v0.3: IN PROGRESS — Phase 08-10 done, Phase 11 next
|
||||
- v0.3: IN PROGRESS — Phase 08-11 done, Phase 12 next
|
||||
- Faza 0 (nieaktywne przyciski) zrobiona poza planem
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user