<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>mein STERN TOURS</title>
    <style type="text/css">
        img {
            max-width: 600px;
            outline: none;
            text-decoration: none;
            -ms-interpolation-mode: bicubic;
        }
        a {
            text-decoration: none;
            border: 0;
            outline: none;
            color: #5f8155;
        }
        a:hover {
            color:#e5aa30;
        }
        a img {
            border: none;
        }
        td, h1, h2, h3 {
            font-family: "Roboto", Helvetica, Arial, sans-serif;
            font-weight: 400;
        }

        td {
            text-align: left;
        }
        body {
            -webkit-font-smoothing: antialiased;
            -webkit-text-size-adjust: none;
            width: 100%;
            height: 100%;
            color: #37302d;
            background: #ffffff;
            font-size: 14px;
            line-height: 20px
        }
        table {
            border-collapse: collapse !important;
        }
        .headline {
            color: #5f8155;
            font-size: 16px;
        }

        .force-full-width {
            width: 100% !important;
        }
    </style>
</head>
<body class="body" style="padding:0; margin:0; display:block; background:#f8f8f8; -webkit-text-size-adjust:none" bgcolor="#f8f8f8">

<div style="display: none; mso-hide: all; width: 0px; height: 0px; max-width: 0px; max-height: 0px; font-size: 0px; line-height: 0px;">
    {{ $copy1line }}
</div>

<table align="center" cellpadding="0" cellspacing="0" width="100%" height="100%">
    <tr>
        <td align="center" valign="top" bgcolor="#f8f8f8" width="100%">
            <center>
                <br>
                <table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="700" class="w320">
                    <tr>
                        <td align="center" valign="top">
                            @include('emails.header')
                            <table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%"
                                   bgcolor="#ffffff">
                                <tr>
                                    <td>
                                        <table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="90%">
                                            <tr>
                                                <td style="color:#37302d; text-align: left">
                                                    <br>
                                                    <b><span class="headline"> {{ $salutation }} </span></b>
                                                    <br>
                                                    <p style="font-size: 14px;">{{ $copy1line }}</p>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="3" cellspacing="0" width="90%">
                                            <tr>
                                                <td style="color:#37302d; text-align: right; vertical-align: top; width: 25%; " >
                                                    {{ __('Belegungszeitraum:') }}
                                                </td>
                                                <td style="color:#37302d; text-align: left; vertical-align: top;">
                                                    <strong>von {{$model->from_date}} bis {{$model->to_date}}</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="color:#37302d; text-align: right; vertical-align: top; border-top:1px solid #e4e4e4;" >
                                                    {{ __('Ferienwohnung:') }}
                                                </td>
                                                <td style="color:#37302d; text-align: left; vertical-align: top; border-top:1px solid #E4E4E4;">
                                                    <strong>{!! nl2br($model->getNameAddressLocation()) !!}</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="color:#37302d; text-align: right; vertical-align: top; border-top:1px solid #E4E4E4;" >
                                                    {{ __('Mietpreis:') }}
                                                </td>
                                                <td style="color:#37302d; text-align: left; vertical-align: top; border-top:1px solid #E4E4E4;">
                                                    <strong>{{ $model->price_travel_total }} €</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="color:#37302d; text-align: right; vertical-align: top; border-top:1px solid #E4E4E4;" >
                                                    {{ __('Service-Gebühr:') }}
                                                </td>
                                                <td style="color:#37302d; text-align: left; vertical-align: top; border-top:1px solid #E4E4E4;">
                                                    <strong>{{ $model->price_service }} €</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="color:#37302d; text-align: right; vertical-align: top; border-top:1px solid #E4E4E4;" >
                                                    {{ __('Kaution:') }}
                                                </td>
                                                <td style="color:#37302d; text-align: left; vertical-align: top; border-top:1px solid #E4E4E4;">
                                                    <strong>{{ $model->price_deposit }} €</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="color:#37302d; text-align: right; vertical-align: top; border-top:1px solid #E4E4E4;" >
                                                    {{ __('Gesamtpreis:') }}
                                                </td>
                                                <td style="color:#37302d; text-align: left; vertical-align: top; border-top:1px solid #E4E4E4;">
                                                    <strong>{{ $model->price_total }} €</strong>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="color:#37302d;font-size: 14px;">
                                        <table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="90%">
                                            @if($notice && $notice != "")
                                                <tr>
                                                    <td style="color:#37302d;">
                                                        <p><b>Wichtige Hinweise:</b><br>
                                                        {!! nl2br($notice) !!}</p>
                                                    </td>
                                                </tr>
                                            @endif
                                            <tr>
                                                <td style="color:#37302d;">
                                                    <br>
                                                    <p>Mietbedingungen und Mietbestätigung / Rechnung finden Sie als PDF im Anhang.</p>
                                                    <p>Mit dieser Buchungsbestätigung ist der Mietvertrag für <strong>Sie und uns verbindlich.</strong></p>

                                                    @if($model->isFromDateAfterDays())
                                                        <ul>
                                                            <li>eine sofort zahlungsfällige Anzahlung von 50% Mietpreis = <strong>{{ $model->getPriceTravelTotalFirstPay() }} €</strong></li>
                                                            <li>sowie eine Restzahlung von <strong>{{ $model->getPriceTravelTotalSecondPay() }} €</strong> bis spätestens 4 Wochen vor Belegungsbeginn inkl. der oben genannten Kaution.</li>
                                                        </ul>
                                                    @else
                                                        <ul>
                                                            <li>den Gesamtbetrag von <strong>{{ $model->getPriceTravelTotalPay() }} €</strong></li>
                                                        </ul>
                                                    @endif
                                                    <p>auf folgendes Bankkonto:<br>
                                                        <strong>STERN TOURS GmbH<br>
                                                            IBAN: DE83100208900018857111<br>
                                                            BIC: HYVEDEMM488<br>
                                                            <u>Verwendungszweck: {{$model->invoice_number}}</u>
                                                        </strong>
                                                    </p>
                                                    <p>Mit freundlichen Grüßen<br>
                                                        Ihr Team von STERN TOURS</p>
                                                    <br>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                            @include('emails.footer')
                        </td>
                    </tr>
                </table>
            </center>
        </td>
    </tr>
</table>
</body>
</html>
