Benutzer
{{ csrf_field() }} @role('operator')
{!! Form::select('status', array('pending' => 'Wartend', 'active' => 'Aktiv', 'disabled' => 'Gesperrt', 'inactive' => 'Inaktiv'), old('status', $user->status), array('class' => 'form-control')) !!}
@endrole
{!! Form::select('salutation', array('Herr' => 'Herr', 'Frau' => 'Frau'), old('salutation', $user->salutation), array('class' => 'form-control')) !!}
@if ($errors->has('firstname')) {{ $errors->first('firstname') }} @endif
@if ($errors->has('surname')) {{ $errors->first('surname') }} @endif
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('fax')) {{ $errors->first('fax') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@hasrole('operator') @if(!isset($user->id))
@endif @endhasrole
{{-- Fixme: Merken der letzten Selektion funktioniert nicht für Nutze die gerade neu angelegt werden --}}
@if ($errors->has('groups')) {{ $errors->first('groups') }} @endif
@if(isset($user->id)) @endif
Account
{{ csrf_field() }}
@if ($errors->has('street')) {{ $errors->first('street') }} @endif
@if ($errors->has('housenumber')) {{ $errors->first('housenumber') }} @endif
@if ($errors->has('zip')) {{ $errors->first('zip') }} @endif
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
@if ($errors->has('iban')) {{ $errors->first('iban') }} @endif
@if ($errors->has('iban_owner')) {{ $errors->first('iban_owner') }} @endif
@if ($errors->has('tax_id')) {{ $errors->first('tax_id') }} @endif
@if($user->hasRole('seller') || !$user->roles()->first())
@if ($errors->has('company')) {{ $errors->first('company') }} @endif
{!! Form::select('payment', ['year' => 'Jährlich', 'month' => 'Monatlich'], old('payment', $account->payment), array('class' => 'form-control')) !!}
{!! Form::select( 'trial', [ '0' => 'Freimonate wählen', '1' => '1 Monat', '2' => '2 Monate', '3' => '3 Monate', '4' => '4 Monate', '5' => '5 Monate', '6' => '6 Monate', '7' => '7 Monate', '8' => '8 Monate', '9' => '9 Monate', '10' => '10 Monate', '11' => '11 Monate', '12' => '12 Monate', 'free' => 'Kostenfrei', ], array('class' => 'form-control')) !!}

Derzeit bezahlt bis: @if($account->billed_until) {{Format::date($account->billed_until)}} @else -/- @endif

@endif