151 lines
No EOL
3.9 KiB
PHP
151 lines
No EOL
3.9 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<base href="{{ url('/') }}">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>STERN TOURS</title>
|
|
<style>
|
|
/*DIN LANG*/
|
|
@font-face {
|
|
font-family: "Source Sans 3";
|
|
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Source Sans 3';
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
|
|
}
|
|
@font-face {
|
|
font-family: 'Source Sans 3';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Source Sans 3';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
|
|
}
|
|
|
|
|
|
html {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
color: #000;
|
|
font-size: 11.5pt;
|
|
line-height: 1em;
|
|
font-weight: 400 ;
|
|
font-family: "Source Sans 3", serif;
|
|
|
|
}
|
|
|
|
table {
|
|
border: none;
|
|
}
|
|
|
|
strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
@page {
|
|
margin: 0;
|
|
padding: 0;
|
|
/* margin: 20mm 15mm 22mm 15mm; */
|
|
color:#000;
|
|
}
|
|
|
|
main {
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.page_break { page-break-before: always; }
|
|
|
|
#pdf-page {
|
|
position: relative;
|
|
}
|
|
|
|
a {
|
|
color: #648859 !important;
|
|
}
|
|
|
|
#coupon-address {
|
|
position: absolute;
|
|
top: 50mm;
|
|
left: 120mm;
|
|
width: 60mm;
|
|
height: 40mm;
|
|
padding: 0px;
|
|
text-align: left;
|
|
font-size: 11.5pt;
|
|
line-height: 1.1em;
|
|
font-weight: 400;
|
|
}
|
|
#coupon-value {
|
|
position: absolute;
|
|
top: 50mm;
|
|
left: 14mm;
|
|
width: 100mm;
|
|
height: 40mm;
|
|
padding: 0px;
|
|
text-align: left;
|
|
font-size: 11.5pt;
|
|
font-weight: 400;
|
|
}
|
|
.coupon-value-euro {
|
|
font-size: 50pt;
|
|
line-height: 0.8em;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="coupon-value">
|
|
im Wert von<br>
|
|
<span class="coupon-value-euro">{{ _number_format($coupon->value) }} €</span><br>
|
|
<br><br>
|
|
<table style="width: 100mm">
|
|
<tr>
|
|
<td style="width: 25mm">Nummer:</td>
|
|
<td style="width: 75mm">{{ $coupon->number }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Gültig vom:</td>
|
|
<td>{{ _format_date($coupon->issue_date) }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Gültig bis:</td>
|
|
<td>{{ _format_date($coupon->valid_date) }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div id="coupon-address">
|
|
Ausgestellt für:<br>
|
|
@if($coupon->customer)
|
|
{{ ($coupon->customer->salutation ? $coupon->customer->salutation->name . ' ' : '' ) }}
|
|
{{ ($coupon->customer->title ? $coupon->customer->title . ' ' : '' ) }}
|
|
{{ $coupon->customer->fullName() }}<br>
|
|
{{ $coupon->customer->street ? $coupon->customer->street : '' }}<br>
|
|
{{ $coupon->customer->zip ? $coupon->customer->zip." " : '' }}
|
|
{{ $coupon->customer->city ? $coupon->customer->city : '' }}
|
|
@endif
|
|
</div>
|
|
<div class="page_break">
|
|
</div>
|
|
</body>
|
|
</html> |