fix: naprawiono crash przy składaniu zamówienia z kuponem rabatowym

Fatal Error: Call to undefined method stdClass::is_one_time() w OrderRepository:793.
Zamieniono wywołania nieistniejących metod na stdClass na dostęp do właściwości
+ istniejącą metodę CouponRepository::markAsUsed().

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jacek
2026-03-15 14:04:18 +01:00
parent a606d603e2
commit a45256e9f6
7 changed files with 252 additions and 24 deletions

View File

@@ -29,6 +29,12 @@ Status: Planning
|-------|------|-------|--------|-----------|
| 6 | IntegrationsRepository split → ApiloRepository | 2 | Done | 2026-03 |
## Hotfix
| Phase | Name | Plans | Status | Completed |
|-------|------|-------|--------|-----------|
| 7 | Coupon Fatal Error — order placement crash | 1 | Done | 2026-03-15 |
## Phase Details
### Phase 4 — CSRF protection