Numer zamówienia: order[ 'number' ];?>
Data zamówienia order[ 'date_order' ];?>

Dane osoby kupującej:
order[ 'client_name' ];?> order[ 'client_surname' ];?>
order[ 'client_firm' ] ):?>
order[ 'client_firm' ];?>
order[ 'client_street' ] ):?>
order[ 'client_street' ];?>
order[ 'client_postal_code' ] ):?> order[ 'client_postal_code' ];?> order[ 'client_city' ] ):?> order[ 'client_city' ];?>
Kwota zamówienia order[ 'summary' ];?> zł

order[ 'transport' ] );?>: order[ 'transport_cost' ];?> zł
order['transport_id'] == 2 and $this -> order[ 'inpost_paczkomat' ] ):?> order[ 'inpost_paczkomat' ] );?>
Paczkomat: |
order['transport_id'] == 9 and $this -> order[ 'orlen_point' ] ):?> order[ 'orlen_point' ] );?>
Punkt Orlen: |

order[ 'payment_method' ];?>
order_statuses[ $this -> order[ 'status' ] ];?>
order['statuses'] ) ): foreach ( $this -> order['statuses'] as $status ):?>
: order_statuses[$status['status_id']];?>
Wiadomość do zamówienia:
order[ 'message' ];?>
order[ 'products' ] ) ): foreach ( $this -> order[ 'products' ] as $product ):?>
Zdjęcie Nazwa Ilość Cena / szt: Cena / szt (po rabacie): Suma (po rabacie):

Wiadomość: ' . $product['message'] : '';?>
id = 'order-details'; $grid -> gdb_opt = $gdb; $grid -> include_plugins = true; $grid -> title = 'Szczegóły zamówienia: ' . $this -> order[ 'number' ]; $grid -> buttons = [ [ 'label' => 'Wstecz', 'url' => '/admin/shop_order/view_list/', 'icon' => 'fa-reply', 'class' => 'btn btn-dark btn-sm mr5' ], [ 'label' => 'Edytuj zamówienie', 'url' => '/admin/shop_order/order_edit/order_id=' . $this -> order['id'], 'icon' => 'fa-pencil', 'class' => 'btn btn-danger btn-sm mr5 ml5' ] ]; if ( $this -> prev_order_id ) { $grid -> buttons[] = [ 'label' => 'Poprzednie zamówienie', 'url' => '/admin/shop_order/order_details/order_id=' . $this -> prev_order_id, 'icon' => 'fa-arrow-left', 'class' => 'btn btn-success btn-sm mr5 ml5' ]; } if ( $this -> next_order_id ) { $grid -> buttons[] = [ 'label' => 'Następne zamówienie', 'url' => '/admin/shop_order/order_details/order_id=' . $this -> next_order_id, 'icon' => 'fa-arrow-right', 'class' => 'btn btn-success btn-sm mr5 ml5' ]; } $grid -> buttons[] = [ 'label' => 'Wyślij ponownie zamówienie do apilo.com', 'url' => '/admin/shop_order/send_order_to_apilo/order_id=' . $this -> order['id'], 'icon' => 'fa-refresh', 'class' => 'btn btn-primary btn-sm mr5 ml5 pull-right btn-send-order-to-apilo' ]; $grid -> default_buttons = false; $grid -> external_code = $out; echo $grid -> draw(); ?>