{!! Form::open(['url' => $value->url, 'class' => '', 'id'=>'customer-mail-form']) !!}
{{ Form::hidden('booking_id', $value->id) }}
{{ Form::hidden('action', '') }}
@if(isset($value->save_customer_mail_id))
{{ Form::hidden('save_customer_mail_id', $value->save_customer_mail_id) }}
@endif
@if($value->show === 'single' || $value->show === 'reply')
@if(isset($value->booking))
Buchung:
@if($value->booking->travel_country_id)
{{ " | ".$value->booking->travel_country->name }}
@endif
@if($value->booking->travelagenda_id)
{{ " | ".$value->booking->travel_agenda->name }}
@endif
({{ $value->booking->id }})
@if($value->booking->customer)
Kunde: {{ $value->booking->customer->salutation->name }} {{ $value->booking->customer->title }} {{ $value->booking->customer->firstname }} {{ $value->booking->customer->name }}
@endif
@if($value->booking->lead)
({{$value->booking->lead->id}})
@endif
@endif
@if(isset($value->customer_mail))
Antwort auf: {{ $value->customer_mail->id }} || {{ $value->customer_mail->subject }}
@endif
@endif
@if(isset($value->customers))
@if($value->show === 'single')
@endif
@if($value->show === 'multi')
@endif
@endif
@if($value->show === 'reply' && isset($value->booking))
@endif
@if($value->show === 'single' || $value->show === 'multi')
E-Mail Vorlage laden
Alle Verzeichniss
@foreach($value->filter_email_templates_directories as $id=>$name)
{{$name}}
@endforeach
#
{{__('Vorlage Bezeichnung')}}
{{__('Verzeichniss')}}
@endif
@if($value->show === 'single' || $value->show === 'reply')
@endif
@if(isset($value->customer_mail))
{{ Form::hidden('customer_mail_id', $value->customer_mail->id) }}
@endif
{!! Form::close() !!}
@if($value->show === 'single' && isset($value->booking))
Dateien aus Buchung
@endif
Datei Anhänge
@if($value->show === 'single' && isset($value->booking))
@include('customer.mail.modal-new-booking-files', ['booking'=>$value->booking])
@endif
@if(isset($value->customer_files))
@foreach($value->customer_files as $customer_file)
{{$customer_file->original_name}}
{{$customer_file->formatBytes()}}
@endforeach
@endif
{!! Form::open([ 'url' => route('customer_mail_upload_attachment', ['tmp']), 'method' => 'post', 'files' => true, 'enctype' => 'multipart/form-data', 'class' => 'dropzone', 'id' => 'uploadAttachmentFile' ]) !!}
{!! Form::close() !!}
@if(isset($value->customer_mail))
@include('customer.mail.modal-show-mail-inner', ['customer_mail' => $value->customer_mail])
@endif