update
This commit is contained in:
@@ -1099,6 +1099,7 @@ h4.section-title {
|
||||
gap: 6px;
|
||||
font-weight: 600;
|
||||
padding: 6px 0;
|
||||
margin-bottom: 8px;
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
color: var(--c-primary, #2563eb);
|
||||
}
|
||||
@@ -1909,6 +1910,7 @@ h4.section-title::before {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.order-tag.is-info {
|
||||
border-color: #bfdbfe;
|
||||
@@ -2312,6 +2314,27 @@ details[open] > .order-statuses-side__title .order-statuses-side__arrow {
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
.item-personalization {
|
||||
margin-top: 4px;
|
||||
padding: 4px 8px;
|
||||
background: #f8fafc;
|
||||
border-left: 2px solid #cbd5e1;
|
||||
border-radius: 2px;
|
||||
font-size: 0.92em;
|
||||
color: #475569;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.item-personalization__label {
|
||||
font-weight: 600;
|
||||
color: #64748b;
|
||||
display: block;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.item-personalization__line {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.order-grid-2 {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
@@ -2393,6 +2416,7 @@ details[open] > .order-statuses-side__title .order-statuses-side__arrow {
|
||||
.payment-add-form__actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.order-kv dt {
|
||||
|
||||
@@ -359,6 +359,7 @@ h4.section-title {
|
||||
gap: 6px;
|
||||
font-weight: 600;
|
||||
padding: 6px 0;
|
||||
margin-bottom: 8px;
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
color: var(--c-primary, #2563eb);
|
||||
|
||||
@@ -1602,6 +1603,29 @@ details[open] > .order-statuses-side__title .order-statuses-side__arrow {
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
.item-personalization {
|
||||
margin-top: 4px;
|
||||
padding: 4px 8px;
|
||||
background: #f8fafc;
|
||||
border-left: 2px solid #cbd5e1;
|
||||
border-radius: 2px;
|
||||
font-size: 0.92em;
|
||||
color: #475569;
|
||||
line-height: 1.4;
|
||||
|
||||
&__label {
|
||||
font-weight: 600;
|
||||
color: #64748b;
|
||||
display: block;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
&__line {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
}
|
||||
|
||||
.order-grid-2 {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
|
||||
@@ -169,7 +169,17 @@ foreach ($addressesList as $address) {
|
||||
<?php endif; ?>
|
||||
<div>
|
||||
<div class="order-item-name"><?= $e((string) ($item['original_name'] ?? '')) ?></div>
|
||||
<div class="muted"><?= $e((string) ($item['item_type'] ?? '')) ?></div>
|
||||
<?php $personalization = trim((string) ($item['personalization'] ?? '')); ?>
|
||||
<?php if ($personalization !== ''): ?>
|
||||
<div class="item-personalization">
|
||||
<span class="item-personalization__label">Personalizacja:</span>
|
||||
<?php foreach (explode("\n", $personalization) as $line): ?>
|
||||
<?php if (trim($line) !== ''): ?>
|
||||
<div class="item-personalization__line"><?= $e(trim($line)) ?></div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
@@ -193,7 +203,6 @@ foreach ($addressesList as $address) {
|
||||
<dl class="order-kv mt-12">
|
||||
<dt><?= $e($t('orders.details.fields.status')) ?></dt><dd><?= $e((string) ($statusLabel ?? '-')) ?></dd>
|
||||
<dt>Nr zamowienia</dt><dd><strong><?= $e((string) ($orderRow['internal_order_number'] ?? '-')) ?></strong></dd>
|
||||
<dt><?= $e($t('orders.details.fields.source_order_id')) ?></dt><dd><?= $e((string) ($orderRow['source_order_id'] ?? '-')) ?></dd>
|
||||
<dt><?= $e($t('orders.details.fields.external_order_id')) ?></dt><dd><?= $e((string) ($orderRow['external_order_id'] ?? '-')) ?></dd>
|
||||
<dt><?= $e($t('orders.details.fields.ordered_at')) ?></dt><dd><?= $e((string) ($orderRow['ordered_at'] ?? '-')) ?></dd>
|
||||
<dt><?= $e($t('orders.details.fields.customer_login')) ?></dt><dd><?= $e((string) ($orderRow['customer_login'] ?? '-')) ?></dd>
|
||||
|
||||
Reference in New Issue
Block a user