517 lines
No EOL
17 KiB
PHP
517 lines
No EOL
17 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>partner.gruene-seele.bio</title>
|
|
<style>
|
|
|
|
/* roboto-300 - latin */
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: url('fonts/roboto-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
}
|
|
/* roboto-regular - latin */
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('fonts/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
}
|
|
/* roboto-500 - latin */
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
src: url('fonts/roboto-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
}
|
|
/* roboto-700 - latin */
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url('fonts/roboto-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
}
|
|
html {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
color: #000;
|
|
background: #fff;
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 8pt;
|
|
font-weight: 400 ;
|
|
}
|
|
table {
|
|
border: none;
|
|
}
|
|
|
|
strong {
|
|
font-weight: bold !important;
|
|
}
|
|
|
|
@page {
|
|
margin: 0px;
|
|
}
|
|
@page {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
|
|
@page {
|
|
margin: 75mm 0 40mm 0;
|
|
}
|
|
|
|
.font-weight-bold {
|
|
font-weight: bold !important;
|
|
}
|
|
|
|
#address_box {
|
|
position: absolute;
|
|
top:-30mm;
|
|
left: 15mm;
|
|
width: 100mm;
|
|
height: 45mm;
|
|
z-index: 1;
|
|
font-size: 8pt;
|
|
line-height: 9pt;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
#address_box_top {
|
|
font-size: 7pt;
|
|
color:#858585;
|
|
}
|
|
|
|
#title_box {
|
|
position: absolute;
|
|
top:0mm;
|
|
left: 15mm;
|
|
width: 180mm;
|
|
height: 10mm;
|
|
z-index: 2;
|
|
text-align: center;
|
|
}
|
|
#title_box .title {
|
|
font-size: 15pt;
|
|
line-height: 12pt;
|
|
}
|
|
#title_box .subtitle {
|
|
font-size: 9pt;
|
|
line-height: 9pt;
|
|
}
|
|
|
|
#detail_box_left {
|
|
position: absolute;
|
|
top:8mm;
|
|
left: 15mm;
|
|
width: 90mm;
|
|
height: 15mm;
|
|
z-index: 3;
|
|
font-size: 8pt;
|
|
}
|
|
|
|
#detail_box_right {
|
|
position: absolute;
|
|
top:8mm;
|
|
left: 105mm;
|
|
width: 90mm;
|
|
height: 15mm;
|
|
z-index: 4;
|
|
font-size: 8pt;
|
|
}
|
|
|
|
#detail_box_left table, #detail_box_right table {
|
|
width: 100%;
|
|
line-height: 9pt;
|
|
}
|
|
|
|
#detail_box_left table td {
|
|
text-align: left;
|
|
}
|
|
|
|
#detail_box_right table td {
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
#invoice_box {
|
|
position: relative;
|
|
padding-top: 20mm;
|
|
margin-left: 15mm;
|
|
width: 180mm;
|
|
font-size: 8pt;
|
|
line-height: 8pt;
|
|
}
|
|
|
|
#invoice_box table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
|
|
#invoice_box table tfoot tr {
|
|
page-break-after: avoid;
|
|
}
|
|
|
|
#invoice_box table tr td {
|
|
vertical-align: top;
|
|
padding-top: 2mm;
|
|
padding-bottom: 2mm;
|
|
padding-left: 1.5mm;
|
|
padding-right: 1.5mm;
|
|
border-top: 0.5pt dotted #1a1a18;
|
|
}
|
|
|
|
#invoice_box table tfoot tr td {
|
|
border-top: none;
|
|
}
|
|
|
|
#invoice_box table tfoot tr.fullline td {
|
|
border-top: 0.3pt solid #575755;
|
|
}
|
|
|
|
#invoice_box table tfoot tr.fullline td.no-border {
|
|
border-top: none;
|
|
}
|
|
|
|
#invoice_box table tfoot tr td {
|
|
padding-top: 1.2mm;
|
|
padding-bottom: 1.2mm;
|
|
|
|
}
|
|
|
|
|
|
|
|
#invoice_box table td.small {
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#invoice_box table tr th {
|
|
line-height: 12pt;
|
|
padding-bottom: 1mm;
|
|
padding-left: 1mm;
|
|
padding-right: 1mm;
|
|
background-color: rgb(212, 212, 212);
|
|
|
|
}
|
|
|
|
|
|
|
|
#invoice_box table td .title {
|
|
font-size: 10pt;
|
|
}
|
|
#invoice_box table td .description {
|
|
padding-top: 1mm;
|
|
font-size: 9pt;
|
|
|
|
}
|
|
|
|
#invoice_box table td .price_net {
|
|
padding-top: 1mm;
|
|
font-size: 10pt;
|
|
padding-bottom: 1mm;
|
|
}
|
|
|
|
#invoice_box table td .price_tax {
|
|
padding-top: 0.7mm;
|
|
padding-bottom: 0.7mm;
|
|
}
|
|
|
|
#invoice_box table td .price_total {
|
|
padding-top: 2mm;
|
|
font-size: 11pt;
|
|
}
|
|
.singel-line-top {
|
|
border-top: 1pt solid #1a1a18;
|
|
}
|
|
.double-line {
|
|
border-bottom: 2.5pt double #1a1a18;
|
|
}
|
|
.dotted-line {
|
|
border-bottom: 0.8pt dotted #1a1a18;
|
|
}
|
|
|
|
#footer_box {
|
|
position: relative;
|
|
top:0mm;
|
|
left: 15mm;
|
|
width: 180mm;
|
|
height: 20mm;
|
|
z-index: 6;
|
|
font-size: 8pt;
|
|
line-height: 8pt;
|
|
}
|
|
|
|
.text-right {
|
|
text-align: right;
|
|
}
|
|
.text-left {
|
|
text-align: left;
|
|
}
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="address_box">
|
|
<div id="address_box_top">GRÜNE SEELE GmbH • Hauptstr. 174 • 51143 Köln</div>
|
|
|
|
@if($shopping_order->shopping_user->billing_company)
|
|
{{ $shopping_order->shopping_user->billing_company }}<br>
|
|
@else
|
|
@if($shopping_order->payment_for !== 7)
|
|
Firma <br>
|
|
@endif
|
|
@endif
|
|
{{ \App\Services\HTMLHelper::getSalutationLang($shopping_order->shopping_user->billing_salutation) }}
|
|
{{ $shopping_order->shopping_user->billing_firstname }} {{ $shopping_order->shopping_user->billing_lastname }}<br>
|
|
{{ $shopping_order->shopping_user->billing_address }}<br>
|
|
@if($shopping_order->shopping_user->billing_address_2)
|
|
{{ $shopping_order->shopping_user->billing_address_2 }}<br>
|
|
@endif
|
|
{{ $shopping_order->shopping_user->billing_zipcode }} {{ $shopping_order->shopping_user->billing_city }}<br>
|
|
@if($shopping_order->shopping_user->billing_country)
|
|
{{ $shopping_order->shopping_user->billing_country->getLocated() }}
|
|
@endif
|
|
</div>
|
|
|
|
<div id="title_box">
|
|
<div class="title">RECHNUNG</div>
|
|
{{-- @if($cancellation)
|
|
<div class="subtitle">{{ $invoice->invoice_name }}</div>
|
|
@endif--}}
|
|
</div>
|
|
|
|
<div id="detail_box_left">
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
{{ __('Rechnungsnummer') }}: {{ $invoice_number }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
{{ __('Bestellnummer') }}: {{ $shopping_order->getLastShoppingPayment('reference') }}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div id="detail_box_right">
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
{{ __('Datum') }}: {{ $invoice_date }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
{{ __(' Umsatzsteuer-ID') }}: DE296797691
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div id="invoice_box">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="text-left" style="width: 50%">Bezeichnung</th>
|
|
<th class="text-center" style="width: 15%">Anzahl</th>
|
|
|
|
<th class="text-center" style="width: 20%">
|
|
@if($shopping_order->shopping_user->is_from === 'user_order')
|
|
Netto-Preis
|
|
@else
|
|
Preis
|
|
@endif
|
|
</th>
|
|
<th class="text-right" style="width: 15%">Summe</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($shopping_order->shopping_order_items as $shopping_order_item)
|
|
<tr class="item">
|
|
<td class="small text-left">
|
|
{{ $shopping_order_item->product->name }}
|
|
</td>
|
|
<td class="text-center small">
|
|
{{ $shopping_order_item->qty }}
|
|
</td>
|
|
<td class="small text-center">
|
|
@if($shopping_order->shopping_user->is_from === 'user_order')
|
|
{{ $shopping_order_item->getFormattedPriceNet() }} €
|
|
@else
|
|
{{ $shopping_order_item->getFormattedPrice() }} €
|
|
@endif
|
|
</td>
|
|
<td class="text-right small">
|
|
@if($shopping_order->shopping_user->is_from === 'user_order')
|
|
{{ $shopping_order_item->getFormattedTotalPriceNet() }} €
|
|
@else
|
|
{{ $shopping_order_item->getFormattedTotalPrice() }} €
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
<tfoot>
|
|
@if($shopping_order->shopping_user->is_from === 'user_order')
|
|
<tr class="fullline">
|
|
<td class="text-right" colspan="3">
|
|
Zwischensumme
|
|
</td>
|
|
<td class="text-right">
|
|
{{ $shopping_order->getFormattedSubtotalFull() }} €*
|
|
</td>
|
|
</tr>
|
|
@if($shopping_order->shopping_user->is_for !== 'cr')
|
|
<tr class="">
|
|
<td class="text-right no-border"> </td>
|
|
<td class="text-right" colspan="2">
|
|
Handelspanne
|
|
</td>
|
|
<td class="text-right">
|
|
- {{ $shopping_order->getFormattedDiscount() }} €*
|
|
</td>
|
|
</tr>
|
|
<tr class="">
|
|
<td class="text-right no-border"> </td>
|
|
<td class="text-right" colspan="2">
|
|
<strong>Summe (Netto)</strong>
|
|
</td>
|
|
<td class="text-right">
|
|
<strong>{{ $shopping_order->getFormattedSubtotal() }} €*</strong>
|
|
</td>
|
|
</tr>
|
|
@endif
|
|
@endif
|
|
|
|
<tr class="fullline">
|
|
<td class="text-right no-border"> </td>
|
|
<td class="text-right" colspan="2">
|
|
{{__('email.checkout_mail_shipping')}}
|
|
</td>
|
|
<td class="text-right">
|
|
@if($shopping_order->shopping_user->is_from === 'user_order')
|
|
{{ $shopping_order->getFormattedShippingNet() }} €*
|
|
@else
|
|
{{ $shopping_order->getFormattedShipping() }} €
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr class="fullline">
|
|
<td class="text-right no-border"> </td>
|
|
<td class="text-right" colspan="2">
|
|
{{__('email.checkout_mail_subtotal_ws')}}
|
|
</td>
|
|
<td class="text-right">
|
|
{{ $shopping_order->getFormattedSubtotalShipping() }} €*
|
|
</td>
|
|
</tr>
|
|
<tr class="">
|
|
<td class="text-right no-border"> </td>
|
|
<td class="text-right" colspan="2">
|
|
@if($shopping_order->isTax())
|
|
{{__('email.checkout_mail_tax_19')}}
|
|
@else
|
|
{{__('email.checkout_mail_tax')}}
|
|
@endif
|
|
|
|
</td>
|
|
<td class="text-right">
|
|
{{ $shopping_order->getFormattedTax() }} €
|
|
</td>
|
|
</tr>
|
|
@if($shopping_order->shopping_user->is_from === 'user_order' && $shopping_order->payment_credit > 0)
|
|
<tr class="fullline">
|
|
<td class="text-right no-border"> </td>
|
|
<td class="text-right" colspan="2">
|
|
<b> Summe (Brutto):</b>
|
|
</td>
|
|
<td class="text-right">
|
|
<b> {{ $shopping_order->getFormattedTotalWithoutCredit() }} €</b>
|
|
</td>
|
|
</tr>
|
|
<tr class="border-bottom">
|
|
<td class="text-right no-border"> </td>
|
|
<td class="text-right" colspan="2">
|
|
aus Guthaben (Brutto):
|
|
</td>
|
|
<td class="text-right">
|
|
{{ $shopping_order->getFormattedPaymentCredit() }} €
|
|
</td>
|
|
</tr>
|
|
@endif
|
|
<tr class="fullline">
|
|
<td class="text-right no-border"> </td>
|
|
<td class="text-right" colspan="2">
|
|
@if($shopping_order->isTax())
|
|
<b>Gesamtsumme (Brutto):</b>
|
|
@else
|
|
<b>Gesamtsumme:</b>
|
|
@endif
|
|
</td>
|
|
<td class="text-right">
|
|
<b>{{ $shopping_order->getFormattedTotalShipping() }} €</b>
|
|
<br>
|
|
<span style="font-size: 0.9em"><em>* Nettobeträge</em></span>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
|
|
|
|
|
|
|
|
</table>
|
|
</div>
|
|
<div id="footer_box">
|
|
<div class="text">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div id="footer_box">
|
|
<div class="text">
|
|
<p>{{ __('pdf.delivery_date_is_invoice_date') }}<br>
|
|
{{ __('pdf.intended_use') }}: <b>{{ $shopping_order->getLastShoppingPayment('reference') }}</b>
|
|
/ {{ __('pdf.status_of_invoice') }}: <b>{{ App\Services\Payment::getFormattedTxaction($shopping_order->txaction) }}</b>
|
|
/ {{ __('pdf.payment_type') }}: <b>{{ $shopping_order->getLastShoppingPayment('getPaymentType') }}</b><br>
|
|
{{ __('pdf.invoice_footer_info') }}</p>
|
|
</p>
|
|
|
|
@if(isset($shopping_order->shopping_user->auth_user))
|
|
<p>
|
|
@if(isset($shopping_order->shopping_user->auth_user->account->tax_identification_number) && $shopping_order->shopping_user->auth_user->account->tax_identification_number !== '')
|
|
<b>{{ __('pdf.vat_id_of_the_recipient_of_the_service') }}: {{ $shopping_order->shopping_user->auth_user->account->tax_identification_number }}</b><br>
|
|
@else
|
|
@if(isset($shopping_order->shopping_user->auth_user->account->tax_number) && $shopping_order->shopping_user->auth_user->account->tax_number !== '')
|
|
{{ __('pdf.vat_of_the_recipient_of_the_service') }}: {{ $shopping_order->shopping_user->auth_user->account->tax_number }}<br>
|
|
@endif
|
|
@endif
|
|
@if(isset($user_reverse_charge) && $user_reverse_charge)
|
|
<br>{{ __('pdf.invoice_does_not_include_vat') }}<br>
|
|
{{ __('pdf.vat_is_declared_and_paid_by_recipient') }}<br>
|
|
{{ __('pdf.tax_free_export_delivery_eu') }} / {{ $shopping_order->shopping_user->billing_country->getLocated() }}
|
|
@endif
|
|
|
|
@if((isset($user_tax_free) && $user_tax_free) && (!isset($user_reverse_charge) || $user_reverse_charge == false))
|
|
<br><b>{{ __('pdf.tax_free_export_delivery_noteu') }} / {{ $shopping_order->shopping_user->billing_country->getLocated() }}</b>
|
|
@endif
|
|
</p>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |