@extends('layouts.'.((Session::get('user')->CurrentRole === 'Firm Admin')?'admin':'filer').'-dashboard') @section('heading') Profile Information @stop @section('content')

ACCOUNT INFORMATION

@if(Session::get('user')->CurrentRole === 'Individual') @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}}

ACCOUNT INFORMATION

{{ Form::open(array('route' => array('profile.store'),'class'=>'form addFormWrap', 'id' => 'profileInfoEditForm')) }} @if (Session::has('notification')) {{ Session::get('notification') }} @endif
{{ Form::hidden('isAdmin', $isAdmin?'true':'false') }} @if(Session::get('user')->CurrentRole === 'Individual')

@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'))}}

@if ($isAdmin == '1')

{{ Form::submit('Save Account Details', array('class'=>'btn btn-padding btn-bluebg mr10', 'default' => 'Save Account Details')) }}

@endif {{ Form::close() }}

PASSWORD INFORMATION

**********

{{$u->security_ques->PasswordQuestion}}

******

PASSWORD INFORMATION

{{ Form::open(array('action' => 'AuthController@postChangepass', 'class'=>'form addFormWrap', 'id' => 'passwordInfoEditForm', 'method' => 'POST')) }} @if (Session::has('pass_notification')) {{ Session::get('pass_notification') }} @endif

* {{ 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() }}

EMAIL PREFERENCES

EFILE EMAILS

@foreach($n->Notification as $notification) @if($notification->Code!="RECEIPTED")

@if($notification->IsActive) Yes @else No @endif

@endif @endforeach

MYFILERUNNER EMAILS

@if($e->submission) Yes @else No @endif

@if($e->acceptance) Yes @else No @endif

@if($e->rejection) Yes @else No @endif

EMAIL PREFERENCE INFORMATION

{{ Form::open(array('action' => 'ProfileController@save_emailpreferences','class'=>'form addFormWrap', 'id' => 'emailInfoEditForm')) }}

EFILE EMAILS

@foreach($n->Notification as $notification) @if($notification->Code!="RECEIPTED")

{{$errors->first('submission')}}

@endif

@endif @endforeach

MYFILERUNNER EMAILS

{{$errors->first('submission')}}

@endif

{{$errors->first('acceptance')}}

@endif

{{$errors->first('rejection')}}

@endif

{{$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() }}
@stop @section('scripts_bottom') @stop