@if($travel_user_booking_fewo->isInvoice()) Rechnungsnummer ist PDF-Name der Mietbestätigung @endif {{ Form::text('invoice_number', $travel_user_booking_fewo->invoice_number, array('placeholder'=>__('Rechnungsnummer'), 'class'=>'form-control')) }}
{{ Form::text('booking_date', $travel_user_booking_fewo->booking_date, array('placeholder'=>__('Buchungsdatum'), 'class'=>'form-control datepicker-base', 'required'=>true)) }}

{{ Form::text('persons', $travel_user_booking_fewo->persons, array('placeholder'=>__('Personen'), 'class'=>'form-control', 'readonly')) }}

{{ Form::text('from_date', $travel_user_booking_fewo->from_date, array('placeholder'=>__('Datum von'), 'class'=>'form-control datepicker-base', 'required'=>true)) }}
{{ Form::text('to_date', $travel_user_booking_fewo->to_date, array('placeholder'=>__('Datum bis'), 'class'=>'form-control datepicker-base', 'required'=>true)) }}
Bei Datumsänderungen wird die Verfügbarkeit geprüft.

@if(isset($travel_user_booking_fewo->daily_prices)) @foreach($travel_user_booking_fewo->daily_prices as $s => $d)
{{$s}} | {{$d['fromDay']}} - {!! Carbon::parse($d['toDay'])->modify('+1 day')->format("d.m.Y") !!} | {{$d['numberDays']}} Nächte x {{$d['perNight']}} € / pro Nacht | {{$d['price']}} € Gesamt
@endforeach @endif
{{ Form::text('price_travel', $travel_user_booking_fewo->price_travel, array('placeholder'=>__('Preis Übernachtungen'), 'class'=>'form-control input-auto-calc')) }}
{{ Form::text('price_extra', $travel_user_booking_fewo->price_extra, array('placeholder'=>__('zusätzliche Personen'), 'class'=>'form-control input-auto-calc')) }}
{{ Form::text('price_balance', $travel_user_booking_fewo->price_balance, array('placeholder'=>__(' Provisionsausgleich durch Vertriebskanal'), 'class'=>'form-control input-auto-calc')) }}
{{ Form::text('price_travel_total', $travel_user_booking_fewo->price_travel_total, array('placeholder'=>__('Gesamt'), 'class'=>'form-control', 'readonly')) }}
{{ Form::text('price_service', $travel_user_booking_fewo->price_service, array('placeholder'=>__('Preis Service-Gebühr'), 'class'=>'form-control input-auto-calc')) }}
{{ Form::text('price_deposit', $travel_user_booking_fewo->price_deposit, array('placeholder'=>__('Preis Kaution'), 'class'=>'form-control input-auto-calc')) }}
{{ Form::text('price_total', $travel_user_booking_fewo->price_total, array('placeholder'=>__('Preis Gesamt'), 'class'=>'form-control', 'readonly')) }}

{{ Form::textarea('status_text', $travel_user_booking_fewo->status_text, ['class' => 'form-control autoExpand', 'rows'=>1]) }}

{{ Form::textarea('notice', $travel_user_booking_fewo->notice, ['class' => 'form-control autoExpand', 'rows'=>1]) }}
Letze Änderung: {{ $travel_user_booking_fewo->getLastChangeAt() }}
@if($travel_user_booking_fewo->isInvoice())

Mietbestätigung / Rechnung bei Preis-/Änderungen überschreiben
 

Mietbestätigung / Rechnung: {{$travel_user_booking_fewo->getInvoiceFileName()}} Erstellt: {{$travel_user_booking_fewo->getInvoiceLastModified()}}

@else

Mietbestätigung / Rechnung
 

@endif @if($travel_user_booking_fewo->send_user_mail) @foreach($travel_user_booking_fewo->send_user_mail as $send_user_mail) @endforeach
{!! key($send_user_mail) !!}
E-Mail versendet.
{!! nl2br(current($send_user_mail)) !!}
@endif
{{ Form::textarea('send_mail_user_notice', '', ['placeholder'=>'Wichtige Hinweise in E-Mail, werden nur in die aktuelle E-Mail übernommen', 'class' => 'form-control autoExpand', 'rows'=>1]) }}
 
@if($travel_user_booking_fewo->isInvoice())
@if($travel_user_booking_fewo->isTravelInfo())

Anreiseinfo bei Änderungen überschreiben
 

{{$travel_user_booking_fewo->getTravelInfoFileName()}} Erstellt: {{$travel_user_booking_fewo->getTravelInfoLastModified()}}

@else

Anreiseinfo
 

@endif
{{ Form::textarea('info_mail_text', $travel_user_booking_fewo->info_mail_text, ['class' => 'form-control autoExpand', 'rows'=>1, 'id'=>'travel_info_user_text']) }} Grundtext in ADMIN CMS > Inhalte > PDF Vorlage Anreiseinfo FeWo (Änderungen werden hier gespeichert.)
@if($travel_user_booking_fewo->send_info_mail) @foreach($travel_user_booking_fewo->send_info_mail as $send_info_mail) @endforeach
{!! key($send_info_mail) !!}
E-Mail versendet.
{!! nl2br(current($send_info_mail)) !!}
@endif
 
@endif @if($travel_user_booking_fewo->isInvoice())

Dienstleister Mail

@if($travel_user_booking_fewo->send_service_mail) @foreach($travel_user_booking_fewo->send_service_mail as $send_service_mail) @endforeach
{!! $send_service_mail['d'] !!}
{{$send_service_mail['m']}}
{{$send_service_mail['s']}}
{!! nl2br($send_service_mail['c']) !!}
@endif
{{ Form::text('send_mail_service_mail', 'langosch.birgit@web.de', array('class'=>'form-control')) }}
{{ Form::text('send_mail_service_subject', $travel_user_booking_fewo->getServiceMailSubject(), ['class' => 'form-control']) }}
{{ Form::textarea('send_mail_service_content', $travel_user_booking_fewo->getServiceMailContent(), ['class' => 'form-control autoExpand', 'rows'=>1]) }} (Änderungen gelten nur für das senden der aktuellen E-Mail, werden nicht gespeichert.)
 
@endif @if($travel_user_booking_fewo->id > 0)

Mitarbeiter Mail

@if($travel_user_booking_fewo->send_employee_mail) @foreach($travel_user_booking_fewo->send_employee_mail as $send_employee_mail) @endforeach
{!! $send_employee_mail['d'] !!}
@if(is_array($send_employee_mail['m'])) {!! implode(",", $send_employee_mail['m']) !!} @else {{$send_employee_mail['m']}} @endif
{{$send_employee_mail['s']}}
{!! nl2br($send_employee_mail['c']) !!}
@endif
{{ Form::text('send_mail_employee_mail', $send_mail_employee_mail, array('class'=>'form-control')) }}
{{ Form::text('send_mail_employee_subject', $travel_user_booking_fewo->getEmployeeMailSubject(), ['class' => 'form-control']) }}
{{ Form::textarea('send_mail_employee_content', $travel_user_booking_fewo->getEmployeeMailContent(), ['class' => 'form-control autoExpand', 'rows'=>1]) }} (Änderungen gelten nur für das senden der aktuellen E-Mail, werden nicht gespeichert.)
 
@endif