@extends ('core.layouts.app') @section ('title', trans('labels.backend.hrms.management') . ' | ' . trans('labels.backend.hrms.edit')) @section('page-header')

{{ trans('labels.backend.hrms.management') }} {{ trans('labels.backend.hrms.edit') }}

@endsection @section('content')

{{ trans('labels.backend.hrms.edit') }}

{{ Form::model($hrms, ['route' => ['biller.edit_profile_post', $hrms], 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'POST', 'id' => 'edit-hrm','files' => true]) }}
{{-- Including Form blade file --}}
{{ Form::label( 'first_name', trans('hrms.first_name'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('first_name', null, ['class' => 'form-control round', 'placeholder' => trans('hrms.first_name').'*','required'=>'required']) }}
{{ Form::label( 'last_name', trans('hrms.last_name'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('last_name', null, ['class' => 'form-control round', 'placeholder' => trans('hrms.last_name').'*','required'=>'required']) }}
{{ Form::label( 'email', trans('hrms.email'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('email', null, ['class' => 'form-control round', 'placeholder' => trans('hrms.email').'*','readonly'=>'readonly']) }}
{{ Form::label( 'password', trans('hrms.password'),['class' => 'col-lg-2 control-label']) }}
@if(@$hrms->id) {{ Form::text('password', '', ['class' => 'form-control round', 'placeholder' => trans('hrms.password'),'id'=>'u_password'.'*']) }} {{trans('hrms.blank_field')}} @else {{ Form::text('password', '', ['class' => 'form-control round', 'placeholder' => trans('hrms.password'),'id'=>'u_password'.'*','required'=>'required']) }} @endif
{{ Form::label( 'picture', trans('hrms.picture'),['class' => 'col-lg-2 control-label']) }}
{!! Form::file('picture', array('class'=>'input' )) !!} @if(@$hrms->id) {{trans('hrms.blank_field')}} @endif
{{ Form::label( 'signature', trans('hrms.signature'),['class' => 'col-lg-2 control-label']) }}
{!! Form::file('signature', array('class'=>'input' )) !!} @if(@$hrms->id) {{trans('hrms.blank_field')}} @endif
{{ Form::label( 'contact', trans('hrms.phone'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('contact', @$hrms->profile['contact'], ['class' => 'form-control box-size', 'placeholder' => trans('hrms.phone')]) }}
{{ Form::label( 'company', trans('hrms.company'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('company', @$hrms->profile['company'], ['class' => 'form-control box-size', 'placeholder' => trans('hrms.company')]) }}
{{ Form::label( 'address', trans('hrms.address_1'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('address_1', @$hrms->profile['address_1'], ['class' => 'form-control box-size', 'placeholder' => trans('hrms.address_1')]) }}
{{ Form::label( 'city', trans('hrms.city'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('city', @$hrms->profile['city'], ['class' => 'form-control box-size', 'placeholder' => trans('hrms.city')]) }}
{{ Form::label( 'state', trans('hrms.state'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('state', @$hrms->profile['state'], ['class' => 'form-control box-size', 'placeholder' => trans('hrms.state')]) }}
{{ Form::label( 'country', trans('hrms.country'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('country', @$hrms->profile['country'], ['class' => 'form-control box-size', 'placeholder' => trans('hrms.country')]) }}
{{ Form::label( 'postal', trans('hrms.postal'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('postal', @$hrms->profile['postal'], ['class' => 'form-control box-size', 'placeholder' => trans('hrms.postal')]) }}
{{ Form::label( 'tax_id', trans('hrms.tax_id'),['class' => 'col-lg-2 control-label']) }}
{{ Form::text('tax_id', @$hrms->profile['tax_id'], ['class' => 'form-control box-size', 'placeholder' => trans('hrms.tax_id')]) }}
{{ link_to_route('biller.hrms.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-md']) }} {{ Form::submit(trans('buttons.general.crud.update'), ['class' => 'btn btn-primary btn-md']) }}
{{ Form::close() }}
@endsection @section('after-scripts') {{ Html::script('focus/js/jquery.password-validation.js') }} @endsection