116 lines
3.3 KiB
PHP
116 lines
3.3 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>mivita.care - Storno-Lieferschein</title>
|
|
<style>
|
|
/* roboto fonts */
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: url('fonts/roboto/roboto-v20-latin-300.ttf') format('truetype');
|
|
}
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('fonts/roboto/roboto-v20-latin-regular.ttf') format('truetype');
|
|
}
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url('fonts/roboto/roboto-v20-latin-700.ttf') format('truetype');
|
|
}
|
|
|
|
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 10pt;
|
|
margin: 20mm 15mm;
|
|
}
|
|
|
|
h1 {
|
|
color: #CC0000;
|
|
font-size: 16pt;
|
|
margin-bottom: 5mm;
|
|
}
|
|
|
|
.header {
|
|
margin-bottom: 10mm;
|
|
}
|
|
|
|
.info-box {
|
|
background-color: #FFF3CD;
|
|
border-left: 3pt solid #FF9800;
|
|
padding: 3mm;
|
|
margin: 5mm 0;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 5mm 0;
|
|
}
|
|
|
|
th {
|
|
background-color: #FFCCCC;
|
|
padding: 2mm;
|
|
text-align: left;
|
|
}
|
|
|
|
td {
|
|
padding: 2mm;
|
|
border-bottom: 1pt dotted #ccc;
|
|
}
|
|
|
|
.negative-amount {
|
|
color: #CC0000;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<h1>{{ __('pdf.cancellation_delivery') }}</h1>
|
|
<p>
|
|
<strong>{{ __('pdf.cancellation_for') }}:</strong> {{ $original_invoice->full_number }}<br>
|
|
<strong>{{ __('pdf.date') }}:</strong> {{ $invoice_date }}<br>
|
|
<strong>{{ __('pdf.cancellation_nr') }}:</strong> {{ $invoice_number }}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="info-box">
|
|
<strong>{{ __('pdf.attention') }}:</strong> {{ __('pdf.cancellation_delivery_info') }}
|
|
</div>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>{{ __('pdf.pos') }}</th>
|
|
<th>{{ __('pdf.article') }}</th>
|
|
<th>{{ __('pdf.quantity') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@php $pos = 0; @endphp
|
|
@foreach($shopping_order->shopping_order_items as $item)
|
|
@php $pos++; @endphp
|
|
<tr>
|
|
<td>{{ $pos }}</td>
|
|
<td>
|
|
<strong>{{ $item->product_title }}</strong>
|
|
@if($item->product_subtitle)
|
|
<br><span style="font-size: 8pt;">{{ $item->product_subtitle }}</span>
|
|
@endif
|
|
</td>
|
|
<td class="negative-amount">-{{ $item->quantity }} {{ $item->unit }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
<p style="margin-top: 10mm;">
|
|
{{ __('pdf.cancellation_delivery_note') }}
|
|
</p>
|
|
</body>
|
|
</html>
|