@extends('layouts.main') @section('content')
{{ c_trans('Status zamówienia') }}: {{ $order->c('getStatus') }} @if ($order->payed == false && $order->payment->type == 2) @cstack('Orders::history.orders.options', $order) @endif
{{ c_trans('Forma wysyłki') }}: {{ $order->shipment->getExistsLanguageColumnValue('name') }}
@if( $has_order_shipment_package){{ c_trans('Rabat') }}: @isset( $order->discountCode) {{ c_trans('Kod rabatowy') }} - {{ optional( $order->discountCode )->name }} @endisset ( - {!! c_template()->price($order->discount_amount, '%d,%02d') !!} {!! $order->loadMissing('currency')->currency->user_currency_code !!} )
@endisset{{ c_trans('Całkowity koszt zamówienia i koszt wysyłki') }}: {!! c_template()->price($order->getSum()) !!} {{ $currency = $order->currency->currency_code }}
{{ $order->name }}
@if ($order->orderAddress)
{{ $order->orderAddress->street }} {{ $order->orderAddress->number }} {{ $order->orderAddress->apartment ? (' / ' . $order->orderAddress->apartment) : '' }}
{{ $order->orderAddress->postal }} {{ $order->orderAddress->city }}
@endif
{{ c_trans('Tel') }}: {{ $order->phone }}
@if ($order->orderInvoice->company) {{ $order->orderInvoice->company }}
@endif
{{ $order->orderInvoice->name }} {{ $order->orderInvoice->surname }}
{{ $order->orderInvoice->street }} {{ $order->orderInvoice->number }} {{ $order->orderInvoice->apartment ? (' / ' . $order->orderInvoice->apartment) : '' }}
{{ $order->orderInvoice->postal }} {{ $order->orderInvoice->city }}
{{ c_trans('NIP') }}: {{ $order->orderInvoice->identity }}
{{ $order->additional_info }}
{{ $comment->user->name }} {{ $comment->created_at }}
{{ $comment->content }}
{{ c_trans('Produkt') }} | {{ c_trans('Cena') }} | {{ c_trans('Sztuki') }} | {{ c_trans('Wartość') }} |
---|---|---|---|
@if ($position->product)
{{ $position->name }}
@else
{{ $position->name }}
@endif
|
{{ c_trans('Cena') }}: {{ c_price($position->gross, ['currency_code' => $order->currency->currency_code]) }} @if( c_options()->get('display_product_unit', 'products') ) / {{ optional( optional($position->loadMissing(['product.unit.unitLang'])->product)->unit)->getExistingLanguageColumnValue('name') ?? c_trans('szt.')}} @else {{ c_trans('szt.') }} @endif | {{ c_trans('Sztuk') }}: {{ $position->quantity }} @if( c_options()->get('display_product_unit', 'products') ) {{ optional( optional($position->loadMissing(['product.unit.unitLang'])->product)->unit)->getExistingLanguageColumnValue('name') ?? c_trans('szt.')}} @endif | {{ c_trans('Wartość') }}: {!! c_template()->price($position->gross * $position->quantity) !!} {{ $currency }} |