File: D:/HostingSpaces/Eurotools/euro-tools.nl/resources/views/shop/PDF/invoice.blade.php
@extends('shop.PDF.master')
@section('message')
<div class="c-order-data">
<div class="c-order-data__column">
<h3>@lang('shop/notifications.admin_order_received.shipping_address')</h3>
<p>
{{$order->invoice_first_name}} {{$order->invoice_last_name}}
<br/>
{{$order->shipping_street}} {{$order->shipping_house_number}} @if($order->shipping_house_number_addition != ''){{$order->shipping_house_number_addition}}@endif
<br/>
{{$order->shipping_postal}} {{$order->shipping_city}}<br/>
{{ strtoupper($order->shipping_country) }}
</p>
</div>
<div class="c-order-data__column">
<h3>@lang('shop/notifications.admin_order_received.invoice_address')</h3>
<p>
{{$order->invoice_first_name}} {{$order->invoice_last_name}}
<br/>
{{$order->invoice_street}} {{$order->invoice_house_number}} @if($order->invoice_house_number_addition != ''){{$order->invoice_house_number_addition}}@endif
<br/>
{{$order->invoice_postal}} {{$order->invoice_city}}<br/>
{{ strtoupper($order->invoice_country)}}
</p>
</div>
</div>
@if($order->customer->company_vat_number_validated == 0)
<div class="c-content-row">
{!! __('shop/notifications.admin_order_received.vat_not_validated_yet') !!}
</div>
@endif
<div class="c-order">
<h2>@lang('shop/notifications.admin_order_received.order')</h2>
<div style="border-top: 1px solid #e0e0e0; font-size: 7px;"></div>
<table width="100%">
<tr>
<th><strong>Art Nr.</strong></th>
<th><strong>@lang('shop/notifications.admin_order_received.product')</strong></th>
<th><strong>@lang('shop/notifications.admin_order_received.quantity')</strong></th>
</tr>
@foreach($order->products as $product)
{{-- <div class="c-order__item">--}}
{{-- <span class="c-order__item-name">--}}
{{-- {{$product->name}}<br/>--}}
{{-- {{ $product->article_number }}--}}
{{-- </span>--}}
{{-- <span class="c-order__quantity">--}}
{{-- {{$product->quantity}}x--}}
{{-- </span>--}}
{{-- </div>--}}
<tr>
<td width="80" valign="top">
{{ $product->article_number }}
</td>
<td valign="top">
{{$product->name}}
</td>
<td width="80" valign="top">{{$product->quantity}}x</td>
</tr>
@endforeach
</table>
<div style="border-top: 1px solid #e0e0e0; font-size: 7px;"></div>
<table width="100%">
<tr>
<td> </td>
<td style="text-align: right; padding-right: 10px;"><strong>Totaal:</strong></td>
<td width="80">
<strong style="color: #2F3133;">
€ {{number_format(($order->cart_total / 100), 2, ',', '.')}}
</strong>
</td>
</tr>
</table>
</div>
@endsection