File: D:/HostingSpaces/Eurotools/euro-tools.nl/resources/views/emails/admin/orderConfirmation.blade.php
@extends('emails.master')
@section('sub-header')
@lang('shop/notifications.admin_order_received.mail_subject')
@endsection
@section('message')
{!! __('shop/notifications.admin_order_received.mail_intro', [
'name' => config('business.company_name'),
]) !!}
<br/>
<br/>
<a target="_blank" href="{{ route('invoice.createInvoice', ['order' => $order->id]) }}">Klik hier</a> om deze pakbon als pdf te printen, of kopieer de volgende link in de browser: <a target="_blank" href="{{ route('invoice.createInvoice', ['order' => $order->id]) }}">{{ route('invoice.createInvoice', ['order' => $order->id]) }}</a>
<br/>
<br/>
<br/>
<table border="0" cellpadding="0" cellspacing="0" width="516">
<tbody>
<tr>
<td width="258">
<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/>
{{$order->shipping_country}}
</p>
</td>
<td width="258">
<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/>
{{$order->invoice_country}}
</p>
</td>
</tr>
</tbody>
</table>
<br/>
@if($customer->company_vat_number_validated == 0)
{!! __('shop/notifications.admin_order_received.vat_not_validated_yet') !!}
<br/>
<br/>
@endif
<br/>
<h2>@lang('shop/notifications.admin_order_received.order')</h2>
{{-- Request table --}}
<table border="0" cellpadding="0" cellspacing="0" width="516">
<tbody>
<tr>
<td style="padding: 0 0 10px; border-top: 1px solid #e0e0e0; font-size: 7px;"> </td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="516">
<thead>
<tr>
<th width="456" style="text-align: left;"><h3>@lang('shop/notifications.admin_order_received.product')</h3></th>
<th width="60" style="text-align: right;"><h3 style="text-align: right;">@lang('shop/notifications.admin_order_received.quantity')</h3></th>
</tr>
</thead>
<tbody>
@foreach($order->products as $product)
<tr>
<td style="padding: 5px 0;" width="456">
{{$product->name}}<br/>
{{ $product->article_number }}
</td>
<td style="padding: 5px 0; vertical-align: top; text-align: right" width="60">{{$product->quantity}}x</td>
</tr>
@endforeach
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding: 0; border-bottom: 1px solid #e0e0e0; font-size: 7px;"> </td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="516">
{{--<tr>--}}
{{--<td style="padding: 20px 0 0;" width="200"></td>--}}
{{--<td style="padding: 20px 0 0;" width="216">--}}
{{--Sub total--}}
{{--</td>--}}
{{--<td style="padding: 20px 0 0;" width="5">€</td>--}}
{{--<td style="padding: 20px 0 0; text-align: right;" width="95">--}}
{{--{{number_format(($order->sub_total_euro / 100), 2, '.', ' ')}}--}}
{{--</td>--}}
{{--</tr>--}}
{{--<tr>--}}
{{--<td width="200"></td>--}}
{{--<td width="216">--}}
{{--Shipping costs--}}
{{--</td>--}}
{{--<td width="5">€</td>--}}
{{--<td width="95" style="text-align: right;">--}}
{{--{{number_format(($order->shipping_costs_euro / 100), 2, '.', ' ')}}--}}
{{--</td>--}}
{{--</tr>--}}
<tr>
<td width="200" style="padding: 20px 0 0;"></td>
<td width="216" style="padding: 20px 0 0;">
<strong style="color: #2F3133;">Total</strong>
</td>
<td width="5" style="padding: 20px 0 0;"><strong style="color: #2F3133;">€</strong></td>
<td width="95" style="padding: 20px 0 0; text-align: right;">
<strong style="color: #2F3133;">
{{number_format(($order->cart_total / 100), 2, ',', '.')}}
</strong>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<br/>
<br/>
<br/>
{!! __('shop/notifications.footer') !!}
@endsection