115 lines
No EOL
5 KiB
PHP
115 lines
No EOL
5 KiB
PHP
|
|
@if(isset($yard_shopping_items))
|
|
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5;line-height:1.6em;" cellpadding="2" cellspacing="0" width="100%">
|
|
<tr>
|
|
<th style="color:#43413f; text-align: left; vertical-align: top;line-height:1.2em;">{{ __('tables.product') }}</th>
|
|
<th style="color:#43413f; text-align: center; vertical-align: top;line-height:1.2em;">
|
|
@if($yard_shopping_items['tax_free'])
|
|
{{ __('tables.net_price') }}
|
|
@else
|
|
{{ __('tables.price') }}
|
|
@endif
|
|
</th>
|
|
<th style="color:#43413f; text-align: center; vertical-align: top;line-height:1.2em;">{{ __('tables.quantity') }}</th>
|
|
<th style="color:#43413f; text-align: right; vertical-align: top;line-height:1.2em;">{{ __('tables.sum') }}</th>
|
|
</tr>
|
|
@foreach($yard_shopping_items['items'] as $items)
|
|
<tr>
|
|
<td style="color:#37302d; text-align: left; vertical-align: top;line-height:1.6em;">
|
|
<strong>{{ $items->name }}</strong> @if($items->abo_type) {{ __('abo.abo') }} {{ __('abo.'.$items->abo_type) }} @endif
|
|
</td>
|
|
<td style="color:#37302d; text-align: center; vertical-align: top;line-height:1.6em;">
|
|
@if($yard_shopping_items['tax_free'])
|
|
{{ Util::formatNumber($items->price_net) }} €
|
|
@else
|
|
{{ Util::formatNumber($items->price) }} €
|
|
@endif
|
|
</td>
|
|
<td style="color:#37302d; text-align: center; vertical-align: top; width: 10%;line-height:1.6em;">
|
|
{{ $items->qty }}
|
|
</td>
|
|
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
|
@if($yard_shopping_items['tax_free'])
|
|
{{ Util::formatNumber($items->price_net_total) }} €
|
|
@else
|
|
{{ Util::formatNumber($items->price_total) }} €
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
<tr>
|
|
<td colspan="4">
|
|
<hr>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" style="color:#37302d; text-align: left; vertical-align: top;line-height:1.6em;">
|
|
{{__('order.subtotal')}}
|
|
</td>
|
|
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
|
{{ $yard_shopping_items['total']['subtotal'] }} €
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4">
|
|
<hr>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" style="color:#37302d; text-align: left; vertical-align: top;line-height:1.6em;">
|
|
{{__('Delivery country')}}
|
|
</td>
|
|
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
|
{{ $yard_shopping_items['total']['shippingCountryName'] }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" style="color:#37302d; text-align: left; vertical-align: top;line-height:1.6em;">
|
|
{{__('order.shipping_costs')}}
|
|
</td>
|
|
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
|
{{ $yard_shopping_items['total']['shippingNet'] }} €
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" style="color:#37302d; text-align: left; vertical-align: top;line-height:1.6em;">
|
|
{{__('order.total_without_VAT')}}
|
|
</td>
|
|
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
|
{{ $yard_shopping_items['total']['subtotalWithShipping'] }} €
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" style="color:#37302d; text-align: left; vertical-align: top;line-height:1.6em;">
|
|
{{__('order.plus_VAT')}}
|
|
</td>
|
|
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
|
{{ $yard_shopping_items['total']['taxWithShipping'] }} €
|
|
</td>
|
|
</tr>
|
|
|
|
@if($yard_shopping_items['tax_free'])
|
|
<tr>
|
|
<td colspan="3" style="color:#37302d; text-align: left; vertical-align: top;line-height:1.6em;">
|
|
<b>{{__('order.total_net')}}</b>
|
|
</td>
|
|
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
|
<b>{{ $yard_shopping_items['total']['totalWithShipping'] }} €</b>
|
|
<br>
|
|
<span style="font-size: 0.8em">{{__('email.checkout_mail_subtotal_ws')}}</span>
|
|
</td>
|
|
</tr>
|
|
@else
|
|
<tr>
|
|
<td colspan="3" style="color:#37302d; text-align: left; vertical-align: top;line-height:1.6em;">
|
|
<b>{{__('order.total_gross')}}</b>
|
|
</td>
|
|
<td style="color:#37302d; text-align: right; vertical-align: top;line-height:1.6em;">
|
|
<b>{{ $yard_shopping_items['total']['totalWithShipping'] }} €</b>
|
|
<br>
|
|
<span style="font-size: 0.8em">{{__('email.checkout_mail_tax_info')}}</span>
|
|
</td>
|
|
</tr>
|
|
@endif
|
|
</table>
|
|
@endif |