File: D:/HostingSpaces/SBogers10/beat-the-barn.komma.nl/resources/views/emails/dcv.blade.php
@extends('emails.master')
@section('title')
@lang('email.dcv.subject')
@endsection
@section('content')
<p>Hoi {{ config('site.company_name') }},</p>
<p>Er is zojuist een nieuwe aanvraag voor de geitjes binnengekomen:</p>
<br/>
{{-- Request information --}}
@foreach($request as $key => $value)
@if(in_array($key, ['with_picknick', 'with_bbq', 'with_gas_service', 'with_insurance']))
<p><strong>@lang('form.' . $key.'.label')</strong><br/>
{{ $value ? 'Ja' : 'Nee' }}
</p>
@else
<p><strong>@lang('form.' . $key.'.label')</strong><br/>
{!! !empty($value) ? $value : '-' !!}
</p>
@endif
@endforeach
<br/>
<br/>
@if(isset($request['email']))
@include('emails.components.button', ['buttonLink' => 'mailto:'. $request['email'], 'buttonText' => 'Mail klant' ])
@endif
@endsection
@section('layout')
@include('emails.components.headerBar', ['headerBarTitle' => __('email.dcv.subject')])
@include('emails.components.body')
@include('emails.components.footer', ['footerText' => '© ' . config('site.company_name')])
@endsection