';
$checkIcon = '';
$copyBtn = static function (string $value) use ($e, $copyIcon, $checkIcon): string {
if ($value === '') return '';
return ' ';
};
?>
= $e($t('orders.preview.order_number')) ?>
Nr:
= $e($orderNumber) ?>= $copyBtn($orderNumber) ?>
Zewn. ID:
= $e($externalId) ?>= $copyBtn($externalId) ?>
= $e($t('orders.preview.buyer')) ?>
Nazwa:
= $e($buyerName) ?>= $copyBtn($buyerName) ?>
Email:
= $e($buyerEmail) ?>= $copyBtn($buyerEmail) ?>
Telefon:
= $e($buyerPhone) ?>= $copyBtn($buyerPhone) ?>
Brak danych
= $e($t('orders.preview.delivery_address')) ?>
Odbiorca:
= $e($deliveryName) ?>= $copyBtn($deliveryName) ?>
Ulica:
= $e($deliveryStreet) ?>
Miasto:
= $e($deliveryCity) ?>
Punkt:
= $e($deliveryParcel) ?>= $deliveryParcelId !== '' ? ' (' . $e($deliveryParcelId) . ')' : '' ?>
Brak danych
= $e($t('orders.preview.products')) ?> (= $e((string) count($itemsList)) ?>)
| Produkt |
Ilosc |
Cena |
= $e((string) ($item['original_name'] ?? '-')) ?>
|
= $e((string) $qty) ?> |
= $e($price !== null ? number_format($price, 2, '.', ' ') . ' ' . $currency : '-') ?> |
= $e($t('orders.preview.notes')) ?>
= $e((string) ($note['note_type'] ?? '')) ?> | = $e((string) ($note['created_at_external'] ?? '')) ?>
= $e((string) ($note['comment'] ?? '')) ?>= $copyBtn(trim((string) ($note['comment'] ?? ''))) ?>
= $e($t('orders.preview.summary')) ?>
Razem:
= $e($totalWithTax . ' ' . $currency) ?>
Oplacono:
= $e($totalPaid . ' ' . $currency) ?>
Platnosc:
= $e($paymentType) ?>