Add Allegro shipment service and related components

- Implement AllegroShipmentService for managing shipment creation and status checks.
- Create ShipmentController to handle shipment preparation and label downloading.
- Introduce ShipmentPackageRepository for database interactions related to shipment packages.
- Add methods for retrieving delivery services, creating shipments, checking creation status, and downloading labels.
- Implement address validation and token management for Allegro API integration.
This commit is contained in:
2026-03-06 01:06:59 +01:00
parent 9df7a63244
commit 1b5e403c31
46 changed files with 6705 additions and 133 deletions

View File

@@ -58,6 +58,12 @@
background: #b91c1c;
}
.btn--sm {
min-height: 28px;
padding: 3px 10px;
font-size: 12px;
}
.btn--block {
width: 100%;
}
@@ -90,6 +96,40 @@
box-shadow: var(--focus-ring);
}
.input {
min-height: 34px;
border: 1px solid var(--c-border);
border-radius: 8px;
padding: 5px 10px;
font: inherit;
color: var(--c-text-strong);
background: #ffffff;
}
.input--sm {
min-height: 28px;
padding: 3px 8px;
font-size: 12px;
}
.flash {
padding: 8px 12px;
border-radius: 6px;
font-size: 13px;
}
.flash--success {
border: 1px solid #b7ebcf;
background: #f0fff6;
color: #0f6b39;
}
.flash--error {
border: 1px solid #fed7d7;
background: #fff5f5;
color: var(--c-danger);
}
.alert {
padding: 12px 14px;
border-radius: 8px;
@@ -130,6 +170,11 @@
.table-wrap {
width: 100%;
overflow-x: auto;
&--visible {
overflow: visible !important;
overflow-x: visible !important;
}
}
.table {
@@ -155,6 +200,12 @@
white-space: nowrap;
}
.table--details th:first-child,
.table--details td:first-child {
width: 36px;
text-align: center;
}
.pagination {
display: flex;
align-items: center;