- Kolorowe badge'e statusow dostawy w tabelach paczek (show.php + prepare.php) - Link sledzenia z carrier detection (InPost, Apaczka, Orlen, Allegro, Google fallback) - Sekcja Status dostawy w boksie Platnosc i wysylka - Ustawienie interwalu trackingu crona (5-120 min) w zakladce Ustawienia - Tekstowe mapowania statusow Apaczka API (NEW, CONFIRMED, etc.) - Fix: use-statements ApaczkaShipmentService (pre-existing bug) - Fix: pickup date normalization (next day po 16:00) - Fix: przycisk Pobierz etykiete (POST zamiast link do prepare) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
802 B
SCSS
26 lines
802 B
SCSS
.delivery-badge {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
border-radius: 3px;
|
|
font-size: 0.8em;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
|
|
&--unknown { background: #f5f5f5; color: #999; }
|
|
&--created { background: #e3f2fd; color: #1565c0; }
|
|
&--confirmed { background: #bbdefb; color: #0d47a1; }
|
|
&--in_transit { background: #fff3e0; color: #e65100; }
|
|
&--out_for_delivery { background: #ffe0b2; color: #bf360c; }
|
|
&--ready_for_pickup { background: #f3e5f5; color: #6a1b9a; }
|
|
&--delivered { background: #e8f5e9; color: #2e7d32; }
|
|
&--returned { background: #ffebee; color: #c62828; }
|
|
&--cancelled { background: #e0e0e0; color: #616161; }
|
|
&--problem { background: #fff8e1; color: #f57f17; }
|
|
}
|
|
|
|
.tracking-link {
|
|
margin-left: 4px;
|
|
text-decoration: none;
|
|
font-size: 0.85em;
|
|
}
|