@extends('layouts.app') @section('breadcrumb') @stop @section('content')
{{-- Don't show employee details for client --}} @if($user->profile->designation_id != getTemplateId(7))
@endif
@if(Laratrust::isAbleTo('edit-user'))
{!! Form::model($user,['files' => true, 'method' => 'POST','route' => ['user.avatar',$user->id] ,'class' => 'user-avatar-form','id' => 'user-signature-form']) !!}

{{trans('messages.photo')}}

@if(Laratrust::isAbleTo('signature-profile'))

{{trans('messages.signature')}}

@endif
{!! Form::submit(trans('messages.save'),['class' => 'btn btn-primary pull-right']) !!}
{!! Form::close() !!}
@endif @if(!$user->hasRole(DEFAULT_ROLE))
@endif @if(Laratrust::isAbleTo('contact-profile'))
@endif @if(Laratrust::isAbleTo('bank-profile'))
@endif @if(Laratrust::isAbleTo('document-profile'))
@endif @if(!$user->hasRole(DEFAULT_ROLE))
@endif @if(env('COMPANY_ID') == 89 && Laratrust::isAbleTo('location-profile'))
@endif @if(Laratrust::isAbleTo('contract-profile'))
@endif @if(Laratrust::isAbleTo('shift-profile'))
@endif @if(Laratrust::isAbleTo('request-leave'))
@endif @if(Laratrust::isAbleTo('list-payroll') || Laratrust::isAbleTo('payroll-profile'))
@endif @if(Laratrust::isAbleTo('education-profile'))
@endif @if(Laratrust::isAbleTo('list-suggested-training'))
@endif @if($user->id != Auth::user()->id && Laratrust::isAbleTo('reset-user-password'))
@endif @if(Laratrust::isAbleTo('list-inventory'))
@endif @if (Laratrust::isAbleTo('list-award'))
@endif {{-- @if(config('config.enable_email_template') && Laratrust::isAbleTo('email-user'))
@endif --}}
@stop @section('js') @stop