Logo
{{ __('labels.order.invoice.invoice') }}
{{ __('labels.order.table.order_number') }}: {{$order->order_no}}
{{ __('labels.order.invoice.invoice_date') }}: {{ date('d-m-Y') }}
@php $addressArray = json_decode($order->shipping_address, true); $firstName = $addressArray['first_name'] ?? ''; $lastName = $addressArray['last_name'] ?? ''; $houseNo = $addressArray['house_no'] ?? ''; $addressLine = $addressArray['address'] ?? ''; $addressAdditional = $addressArray['address_additional'] ?? ''; $postNumber = $addressArray['post_number'] ?? ''; $city = $addressArray['city'] ?? ''; $postalCode = $addressArray['postal_code'] ?? ''; $phone = $addressArray['phone'] ?? ''; $address = $firstName.' '.$lastName.', '.$houseNo.', '.$addressLine.', '.$addressAdditional.' '.$postNumber.', '.$city.'
Postleitzahl/PLZ : '.$postalCode.',
Telefon : '.$phone; @endphp
{{ __('labels.order.invoice.invoice_to') }}:

{{ __('labels.order.invoice.name') }} : {{$order->user->first_name}} {{$order->user->last_name}}

{{ __('labels.order.invoice.email') }} : {{$order->user->email}}

{{ __('labels.order.invoice.address') }} : {!!$address!!}

{{ __('labels.order.invoice.payment') }}

{{ __('labels.order.table.transaction_id') }} : {{$order->payments->transaction_id}}

{{ __('labels.order.invoice.payment_type') }} : {{$order->payments->payment_method}}

{{ __('labels.order.table.payment_status') }} : {{__('labels.order.table.'.$order->payments->payment_status)}}

@if(isset($order) && $order->items) @forelse($order->items as $index => $variant) @empty @endforelse @else @endif @if($order->discount_amount && $order->discount_amount > 0) @endif
{{ __('labels.table.#') }} {{ __('labels.product.form.pcode') }} {{ __('labels.order.invoice.product_description') }} {{ __('labels.order.invoice.price') }} {{ __('labels.order.invoice.quantity') }} {{ __('labels.order.invoice.total') }}
{{++ $index}} {{$variant->pcode_sku}} {{$variant->product['name']}} ({{$variant->product->brand['name']}}) - {{$variant->strength}} / {{$variant->pack_qty}} {{$variant->price}} € {{$variant->quantity}} {{$variant->total}} €
{{ __('labels.order.invoice.no_product') }}
{{ __('labels.order.invoice.no_product') }}
{{ __('labels.order.invoice.sub_total') }}: {{ $order->sub_total_amount }} €
{{ __('labels.order.invoice.prescription') }}: {{ $order->prescription_fee }} €
{{ __('labels.order.invoice.discount') }} : - {{ $order->discount_amount }} €
{{ __('labels.order.invoice.shipping') }} ({{ucfirst($order->shipping_method ?? 'standard')}}) : {{ $order->shipping_cost }} €
{{ __('labels.order.invoice.total') }}: {{$order->total_amount}} €