@extends('lay.dnekcab.retsam') @section('title') {{ $page_title }} @endsection @section('css') @endsection @section('page-content') @php $photoPath = public_path('assets/attachment/employee/photo/' . $userprofile->employee->image); $signaturePath = public_path('assets/attachment/employee/signature/' . $userprofile->employee->signature); @endphp
{{--

{{ $page_title }}

--}}
@csrf

@if($userprofile) {{ Str::ucfirst($userprofile->name) }} @endif

@if(auth()->user()->hasPermissionTo('UserProfile - Edit Name'))
* {{ __('global.required') }}
@else
{{ $userprofile->name }}
@endif @if(auth()->user()->hasPermissionTo('UserProfile - Edit Email'))
@else
{{ $userprofile->email }}
@endif @if(auth()->user()->hasPermissionTo('UserProfile - Edit Password'))
* {{ __('global.required') }}
* {{ __('global.required') }}
* {{ __('global.required') }}
@endif
{{ $userprofile->employee->image }}

{{ $userprofile->name}}

{{ $userprofile->type}}

{{ $userprofile->email}}

{{ __('profile.signature')}}

{{ $userprofile->employee->signature }}
@endsection @section('js') @endsection