{!! Form::open(['url' => $value->url, 'class' => '', 'id'=>'lead-mail-form']) !!}
{{ Form::hidden('lead_id', $value->id) }}
{{ Form::hidden('action', '') }}
@if(isset($value->save_lead_mail_id))
{{ Form::hidden('save_lead_mail_id', $value->save_lead_mail_id) }}
@endif
@if($value->show === 'single' || $value->show === 'reply')
@if(isset($value->lead))
Anfrage:
({{ $value->lead->id }})
@if($value->lead->customer)
Kunde: {{ $value->lead->customer->getSalutation() }} {{ $value->lead->customer->title }} {{ $value->lead->customer->firstname }} {{ $value->lead->customer->name }}
({{$value->lead->id}})
@endif
@endif
@if(isset($value->lead_mail))
Antwort auf: {{ $value->lead_mail->id }} || {{ $value->lead_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->lead))
@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->lead_mail))
{{ Form::hidden('lead_mail_id', $value->lead_mail->id) }}
@endif
{!! Form::close() !!}
@if($value->show === 'single' && isset($value->lead))
Dateien aus Buchung
@endif
Datei Anhänge
@if($value->show === 'single' && isset($value->lead))
@include('lead.modal-new-lead-files', ['lead'=>$value->lead])
@endif
@if(isset($value->lead_files))
@foreach($value->lead_files as $lead_file)
{{$lead_file->original_name}}
{{$lead_file->formatBytes()}}
@endforeach
@endif
{!! Form::open([ 'url' => route('lead_mail_upload_attachment', ['tmp']), 'method' => 'post', 'files' => true, 'enctype' => 'multipart/form-data', 'class' => 'dropzone', 'id' => 'uploadAttachmentFile' ]) !!}
{!! Form::close() !!}
@if(isset($value->lead_mail))
@include('lead.modal-show-mail-inner', ['lead_mail' => $value->lead_mail])
@endif