HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/farmfun.komma.pro/resources/views/emails/quotation.blade.php
@extends('emails.master')

@section('title')
    @lang('site/email.quotation.subject')
@endsection

@section('content')

    <p>Hoi {{ config('site.company.name') }},</p>
    <p>Er is zojuist een nieuw offerte aanvraag binnengekomen:</p>


    <h3 style="margin-top: 30px; margin-bottom: 4px;">Contactpersoon:</h3>
    <p>
        {{ $request->first_name }} {{ $request->name_preposition }} {{ $request->last_name }}<br/>
        {{ $request->email }}<br/>
        {{ $request->phone }}
    </p>

    @if(!empty($request->company_name))
        <h3 style="margin-top: 20px; margin-bottom: 4px;">Bedrijfsnaam / organisatie:</h3>
        <p>
            {{ $request->company_name }}
        </p>
    @endif

    <p>&nbsp;</p>

    <h2>Aanvraaggegevens:</h2>
    <p>
        <strong style="display: inline-block; width: 100px;">Locatie:</strong> {{ $request->location }}<br/>
        <strong style="display: inline-block; width: 100px;">Datum:</strong> {{ $request->date }}<br/>
        <strong style="display: inline-block; width: 100px;">Begintijd:</strong> {{ $request->start_time }}<br/>
{{--        <strong style="display: inline-block; width: 100px;">Eindtijd:</strong> {{ $request->end_time }}<br/>--}}
        <br/>
        <strong style="display: inline-block; width: 150px;">Aantal personen:</strong> {{ $request->estimation_persons }}<br/>
        @if(isset($request->group_type))
            <strong style="display: inline-block; width: 150px;">Hoedanigheid:</strong> {{ $request->group_type }}<br/>
        @endif
    </p>


    <p>&nbsp;</p>

    @if(isset($request->with_food) && $request->with_food == 'on')
        <p><strong>Ja, met eten erbij!</strong></p>
    @endif

    @if(isset($request->subscribe_newsletter) && $request->subscribe_newsletter == 'on')
        <p><strong>Ja, ik wil de nieuwsbrief ontvangen!</strong></p>
    @endif

    @if(!empty($request->form_message))
        <p>&nbsp;</p>

        <h2 style="margin-top: 20px; margin-bottom: 4px;">Opmerking:</h2>
        <p>
            {!! $request->form_message !!}
        </p>
    @endif

    <br/>

    <h2 style="margin-bottom: 0;">Teamleader</h2>
    @if($savedToTeamleader)
        <p>Gegevens zijn ingeschoten als nieuwe deal.</p>
    @else
        <p>
            Gegevens zijn <strong>NIET</strong> ingeschoten.
            <br/>
            <br/>
            Reden(en):<br/>
            @foreach($messages as $message)
                {{ $message }}<br/>
            @endforeach
        </p>
    @endif

@endsection


@section('layout')

    @include('emails.components.headerBar', ['headerBarTitle' => __('site/email.quotation.subject')])

    @include('emails.components.body')
    @include('emails.components.prefooter')
    @include('emails.components.footer', ['companyName' => '© ' . config('site.company.name') .' '. \Carbon\Carbon::now()->year])

@endsection