Sammelbestellung von Extern
This commit is contained in:
parent
d01b4bd560
commit
582ca8299d
33 changed files with 3437 additions and 1466 deletions
154
resources/views/pdf/invoice-journal-collection.blade.php
Normal file
154
resources/views/pdf/invoice-journal-collection.blade.php
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
<style>
|
||||
#invoice_journal_box {
|
||||
position: relative;
|
||||
padding-top: 0mm;
|
||||
margin-left: 15mm;
|
||||
width: 180mm;
|
||||
line-height: 10pt;
|
||||
font-size: 8pt;
|
||||
|
||||
}
|
||||
.client_order_box {
|
||||
position: relative;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
#invoice_journal_box table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.client_order_box, {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
#invoice_journal_box table tr td, #invoice_journal_box table tr th {
|
||||
vertical-align: top;
|
||||
padding-top: 1mm;
|
||||
padding-bottom: 1mm;
|
||||
padding-left: 1.5mm;
|
||||
padding-right: 1.5mm;
|
||||
border-top: 0.5pt dotted #1a1a18;
|
||||
font-size: 8pt;
|
||||
|
||||
}
|
||||
|
||||
#invoice_journal_box table tfoot tr td {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
#invoice_journal_box table tfoot tr.fullline td {
|
||||
border-top: 0.3pt solid #575755;
|
||||
}
|
||||
|
||||
|
||||
#invoice_journal_box table tfoot tr td {
|
||||
padding-top: 0.8mm;
|
||||
padding-bottom: 0.8mm;
|
||||
|
||||
}
|
||||
|
||||
#invoice_journal_box table tr.small td, #invoice_journal_box table tfoot tr.small td {
|
||||
font-size: 7.5pt;
|
||||
padding-top: 0.5mm;
|
||||
padding-bottom: 0.5mm;
|
||||
}
|
||||
|
||||
#invoice_journal_box table tr.bg-grey td {
|
||||
background-color: rgb(195, 195, 195);
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<div id="invoice_journal_box">
|
||||
<h4>Sammelbestellung behinhaltet folgende Kundenbestellungen</h4>
|
||||
@if($shopping_order->shopping_collect_order)
|
||||
@foreach($shopping_order->shopping_collect_order->orders as $order)
|
||||
@php($order = $shopping_order->shopping_collect_order->initShoppingOrder($order))
|
||||
|
||||
<div class="client_order_box">
|
||||
<table>
|
||||
<thead>
|
||||
|
||||
<tr class="bg-grey">
|
||||
<td colspan="4">
|
||||
<b>Bestellnummer: {{ $order['order_id'] }}</b> |
|
||||
WP Number: {{ $order['wp_order_number'] }} |
|
||||
Points: {{ $order['shopping_order']->points }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="bg-grey">
|
||||
<td colspan="4">
|
||||
Rechnungsadresse: {{ $order['billing_address'] }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="bg-grey">
|
||||
<td colspan="4">
|
||||
Lieferadresse: {{ $order['shipping_address'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="">
|
||||
<th class="text-left">Produkt</th>
|
||||
<th class="text-right">VK-Preis brutto</th>
|
||||
<th class="text-right">Anzahl</th>
|
||||
<th class="text-right">Summe</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($order['shopping_order']->shopping_order_items as $shopping_order_item)
|
||||
<tr class="">
|
||||
<td class="text-left">
|
||||
<strong>{{ $shopping_order_item->product->name }}</strong>
|
||||
<span class="text-muted">#{{ $shopping_order_item->product->number }}</span>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
{{ $shopping_order_item->getFormattedPrice() }} €
|
||||
</td>
|
||||
<td class="text-right">
|
||||
{{ $shopping_order_item->qty }}
|
||||
</td>
|
||||
<td class="text-right">
|
||||
{{ $shopping_order_item->getFormattedTotalPrice() }} €
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
<tr class="fullline small">
|
||||
<td colspan="3">{{__('email.checkout_mail_shipping')}} </td>
|
||||
<td class="text-right">
|
||||
{{ $order['shopping_order']->getFormattedShipping() }} €
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="small">
|
||||
<td colspan="3"> {{__('email.checkout_mail_subtotal_ws')}}</td>
|
||||
<td class="text-right">
|
||||
{{ $order['shopping_order']->getFormattedSubtotalWs() }} €
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="small">
|
||||
<td colspan="3">{{__('email.checkout_mail_tax')}}</td>
|
||||
<td class="text-right">
|
||||
{{ $order['shopping_order']->getFormattedTax() }} €
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="fullline">
|
||||
<td colspan="3"> <b>{{__('email.checkout_mail_total')}}</b></td>
|
||||
<td class="text-right">
|
||||
<b>{{ $order['shopping_order']->getFormattedTotalShipping() }} €</b>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue