08 2024
This commit is contained in:
parent
c1c613a4b9
commit
881fc84207
384 changed files with 50679 additions and 990 deletions
151
resources/views/pdf/booking_coupon.blade.php
Normal file
151
resources/views/pdf/booking_coupon.blade.php
Normal file
|
|
@ -0,0 +1,151 @@
|
|||
<!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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue