File: D:/HostingSpaces/SBogers10/vebon.komma.pro/resources/views/kms/pdfs/shippingList.blade.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style>
body{
font-family: "Helvetica", "Arial", sans-serif;
font-size: 12px;
}
address{
padding: 50px 0 75px 50px;
font-style: normal;
font-size: 14px;
}
.subtotal td{
border-top: #000000 solid 1px;
padding-top: 10px;
}
.total td {
font-size: 14px;
border-top: #000000 solid 1px;
padding-top: 10px;
}
.order-overview th{
padding-bottom: 5px;
}
.order-overview .order-overview-product td {
vertical-align: top;
padding: 5px 0 3px 0;
border-top: solid 1px #000000;
}
.order-overview-product-composition td{
font-size: 10px;
padding: 0 0 2px 0;
}
.order-overview-product-composition-item td{
font-size: 10px;
padding: 3px 0;
}
.footer {
page-break-after: always;
}
.footer:last-of-type {
page-break-after: auto;
}
.row {
display: block;
}
.col-12 {
display: inline-block;
width: 100%;
}
.col-9{
display: inline-block;
width: 75%;
}
.col-8{
display: inline-block;
width: 66%;
}
.col-6{
display: inline-block;
width: 50%;
}
.col-4{
display: inline-block;
width: 33%;
}
.col-3{
display: inline-block;
width: 25%;
}
</style>
</head>
<body>
@foreach($orders as $order)
<div class="row">
<div class="col-8">
<img src="images/structure/tops_logo_footer.png" width="100px"/>
<address>
{!! $order->getFullInvoiceAddress() !!}<br/>
</address>
</div>
<div class="col-4">
<p>
<strong>{!! Lang::get('tops.name') !!}</strong><br/>
{!! Config::get('komma/tops.address.invoice.street') !!}<br />
{!! Config::get('komma/tops.address.invoice.postal') !!} {!! Config::get('komma/tops.address.invoice.city') !!}<br />
{!! Lang::get('tops.address.country') !!}<br />
</p>
<p>
{!! Lang::get('pages/contact.chamber_of_commerce') !!}: {!! Config::get('komma/tops.coc_number') !!}<br/>
{!! Lang::get('pages/contact.vat_number') !!}: {!! Config::get('komma/tops.vat_number') !!}1<br/>
{!! Lang::get('pages/contact.bank_number') !!}: {!! Config::get('komma/tops.iban_number') !!}<br />
{!! Lang::get('pages/contact.bic_number') !!}: {!! Config::get('komma/tops.bic_number') !!}
</p>
</div>
</div>
<div class="row">
<div class="col-8">
<h2>Pakbon</h2>
</div>
<div class="col-4">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>{!! Lang::get('kms/orderOverview.order_number') !!}:</td>
<td>{!! $order->order_number !!}</td>
</tr>
<tr>
<td>{!! Lang::get('kms/orderOverview.order_date') !!}:</td>
<td>{!! \Carbon\Carbon::parse($order->ordered_at)->format('d-m-Y') !!}</td>
</tr>
<tr>
<td>{!! Lang::get('kms/orderOverview.shipping_date') !!}:</td>
<td>{!! \Carbon\Carbon::now()->format('d-m-Y') !!}</td>
</tr>
</table>
</div>
</div>
<p> </p>
<div class="row">
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="order-overview">
<tr>
<th align="left" width="100px">{!! Lang::get('kms/orderOverview.article_number') !!}</th>
<th align="left" width="100px">{!! Lang::get('kms/orderOverview.pick_number') !!}</th>
<th align="left" width="75px">{!! Lang::get('kms/orderOverview.quantity') !!}</th>
<th align="left">{!! Lang::get('kms/orderOverview.description') !!}</th>
</tr>
@foreach($order->products as $product)
<tr class="order-overview-product">
<td>{!! $product->internal_article_number !!}</td>
<td>{!! $product->pick_number !!}</td>
<td class="order-overview-product-quantity">{!! $product->quantity !!}</td>
<td class="order-overview-product-description">{!! $product->title !!} - <em>{!! $product->description !!}</em></td>
</tr>
<tr class="order-overview-product-composition">
<td colspan="2"></td>
<td colspan="2">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
@foreach($product->getCompositionAsObject() as $composite)
<tr class="order-overview-product-composition-item">
<td valign="top" width="75px"><em>{!!$composite->quantity!!}</em></td>
<td valign="top"><em>{!!$composite->type!!} - {!!$composite->size!!} - {!!$composite->class!!}</em></td>
</tr>
@endforeach
</table>
</td>
</tr>
@endforeach
</table>
</div>
<div class="footer"></div>
@endforeach
</body>
</html>