@extends('layouts.'.((Session::get('user')->CurrentRole === 'Firm Admin')?'admin':'filer').'-dashboard') @section('heading') Profile Information @stop @section('content')
{{$f->FirmName}}
@else{{$f->FirmName}}
@endif{{$u->FirstName}}
{{$u->MiddleName}}
{{$u->LastName}}
{{$u->Email}}
{{$f->PhoneNumber}}
{{$f->Address->AddressLine1}}
{{$f->Address->AddressLine2}}
{{$f->Address->City}}
{{$f->Address->State}}
{{$f->Address->ZipCode}}
@else
@endif * {{ Form::label('firmName', 'Firm Name') }} {{ Form::text('firmName', !empty($f->FirmName)?$f->FirmName:$u->FirstName, array('class'=>'inputStyle', 'default' => $f->FirmName, $isAdmin?('enabled'):('disabled'))) }} @if($errors->has('firmName'))
{{$errors->first('firmName')}}
@endif* {{ Form::label('firstName', 'First Name') }} {{ Form::text('firstName', $u->FirstName, array('class'=>'inputStyle', 'default' => $u->FirstName, $isAdmin?('enabled'):('disabled'))) }} @if($errors->has('firstName'))
{{$errors->first('firstName')}}
@endif{{ Form::label('middleName', 'Middle Name') }} {{ Form::text('middleName', $u->MiddleName, array('class'=>'inputStyle', 'default' => $u->MiddleName, $isAdmin?('enabled'):('disabled'))) }}
* {{ Form::label('lastName', 'Last Name') }} {{ Form::text('lastName', $u->LastName, array('class'=>'inputStyle', 'default' => $u->LastName, $isAdmin?('enabled'):('disabled'))) }} @if($errors->has('lastName'))
{{ $errors->first('lastName')}}
@endif* {{ Form::hidden('email', $u->Email, array('class'=>'inputStyle','default' => $u->Email, 'style'=>'text-transform:lowercase;', $isAdmin?('enabled'):('disabled'))) }} {{ Form::label('email', 'Email') }} {{ Form::text('email', $u->Email, array('class'=>'inputStyle','default' => $u->Email, 'style'=>'text-transform:lowercase;', $isAdmin?('enabled'):('disabled'))) }} @if($errors->has('email'))
{{$errors->first('email')}}
@endif* {{ Form::label('phoneNumber', 'Phone Number') }} {{ Form::text('phoneNumber', $f->PhoneNumber, array('class'=>'inputStyle', 'default' => $f->PhoneNumber, $isAdmin?('enabled'):('disabled'))) }} @if($errors->has('phoneNumber'))
{{$errors->first('phoneNumber')}}
@endif* {{ Form::label('streetAddressLine1', 'Street Address') }} {{ Form::text('streetAddressLine1', $f->Address->AddressLine1,array('class'=>'inputStyle', 'default' => $f->Address->AddressLine1, $isAdmin?('enabled'):('disabled'))) }} @if($errors->has('streetAddressLine1'))
{{ $errors->first('streetAddressLine1')}}
@endif{{ Form::label('streetAddressLine2', 'Address line 2') }} {{ Form::text('streetAddressLine2', $f->Address->AddressLine2, array('class'=>'inputStyle', 'default' => $f->Address->AddressLine2, $isAdmin?('enabled'):('disabled'))) }} @if($errors->has('streetAddressLine2'))
{{$errors->first('streetAddressLine2')}}
@endif* {{ Form::label('city', 'City') }} {{ Form::text('city', $f->Address->City, array('class'=>'inputStyle', 'default' => $f->Address->City, $isAdmin?('enabled'):('disabled'))) }} @if($errors->has('city'))
{{$errors->first('city')}}
@endif* {{ Form::label('stateCode', 'State') }} {{ Form::select('stateCode',$state, $f->Address->State, array('class'=>'custom-select selectWidth', 'default' => $f->Address->State, $isAdmin?('enabled'):('disabled')))}} @if($errors->has('stateCode'))
{{$errors->first('stateCode')}}
@endif* {{ Form::label('zipCode', 'Zip Code') }} {{ Form::text('zipCode', $f->Address->ZipCode, array('class'=>'inputStyle', 'default' => $f->Address->ZipCode, $isAdmin?('enabled'):('disabled'))) }} @if($errors->has('zipCode'))
{{$errors->first('zipCode')}}
@endif{{ Form::label('restrictfiling', 'Restrict Filing') }} {{ Form::text('restrictfiling', $u->RestrictFiling, array('class'=>'inputStyle'))}}
{{ Form::submit('Save Account Details', array('class'=>'btn btn-padding btn-bluebg mr10', 'default' => 'Save Account Details')) }} Cancel
@endif {{ Form::close() }}* {{ Form::label('old_password', 'Old Password') }} {{ Form::password('old_password', '', array('class'=>'inputStyle')) }} @if($errors->has('old_password'))
{{$errors->first('old_password')}}
@endif* {{ Form::label('password', 'New Password') }} {{ Form::password('password', '', array('class'=>'inputStyle')) }} @if($errors->has('password'))
{{$errors->first('password')}}
@endif* {{ Form::label('password_confirmation', 'Confirm Password') }} {{ Form::password('password_confirmation', '', array('class'=>'inputStyle')) }} @if($errors->has('password_confirmation'))
{{$errors->first('password_confirmation')}}
@endif* {{ Form::label('security_question', 'Security Question') }} {{ Form::text('security_question', $u->security_ques->PasswordQuestion, array('class'=>'inputStyle', 'default' => $u->security_ques->PasswordQuestion)) }} @if($errors->has('security_question'))
{{$errors->first('security_question')}}
@endif* {{ Form::label('security_answer', 'Security Answer') }} {{ Form::text('security_answer', '', array('class'=>'inputStyle')) }} @if($errors->has('security_answer'))
{{$errors->first('security_answer')}}
@endif{{ Form::submit('Change Password', array('class'=>'btn btn-padding btn-bluebg mr10 lh1', 'id' => 'submitPassForm', 'default' => 'Change Password')) }} Cancel
{{ Form::close() }}@if($notification->IsActive) {{ Form::checkbox('pref[]',$notification->Code , true) }} @else {{ Form::checkbox('pref[]',$notification->Code ) }} @endif {{ Form::label('pref[]', $notification->Description) }} @if($errors->has('submission'))
{{$errors->first('submission')}}
@endif @endif @endforeach@if($e->submission) {{ Form::checkbox('pref[]', 'submission', true) }} @else {{ Form::checkbox('pref[]', 'submission') }} @endif {{ Form::label('pref[]', 'Filing Submitted') }} @if($errors->has('submission'))
{{$errors->first('submission')}}
@endif@if($e->acceptance) {{ Form::checkbox('pref[]', 'acceptance', true) }} @else {{ Form::checkbox('pref[]', 'acceptance') }} @endif {{ Form::label('pref[]', 'Filing Accepted') }} @if($errors->has('acceptance'))
{{$errors->first('acceptance')}}
@endif@if($e->rejection) {{ Form::checkbox('pref[]', 'rejection', true) }} @else {{ Form::checkbox('pref[]', 'rejection') }} @endif {{ Form::label('pref[]', 'Filing Rejected') }} @if($errors->has('rejection'))
{{$errors->first('rejection')}}
@endif{{ Form::label('pref[]', 'Emails for Correction Returned Filings') }} @if($e->correction_return) {{ Form::checkbox('pref[]', 'correction_return', true) }} @else {{ Form::checkbox('pref[]', 'correction_return') }} @endif @if($errors->has('correction_return'))
{{$errors->first('correction_return')}}
@endif{{ Form::submit('Save Account Details', array('class'=>'btn btn-padding btn-bluebg mr10 lh1', 'default' => 'Save Email Preferences')) }} Cancel
{{ Form::close() }}