@extends('dashboard.layouts.index') @section('page_title') @lang('global.showemployee') @stop @section('breadcrumb') @stop @section('content')

imageavatar}}" class="rounded-circle profile-widget-picture">
{{$model->name}}
{{$model->company_name}}
@lang("global.email") : {{$model->email}}
@lang("global.phone_number") : {{$model->phone_number}}

@lang("global.user_information")
@if($model->userinformationOne) @lang("global.workplace") : {{$model->userinformationOne->workplace}}
@lang("global.educational_level") : {{$model->userinformationOne->educational_level}}
@lang("global.job_title") : {{$model->userinformationOne->job_title}}
@lang("global.passport_number") : {{$model->userinformationOne->passport_number}}
@lang("global.social_status") : {{$model->userinformationOne->social_status}}
@lang("global.start_date") : {{$model->userinformationOne->start_date}}
@lang("global.expired_passport") : {{$model->userinformationOne->expired_passport}}
@lang("global.expired_residence_number") : {{$model->userinformationOne->expired_residence_number}}
@else @lang("global.user_not_set_address") @endif

@lang("global.user_devices")

{{-- View More --}}
@foreach($model->deviceToken as $token) @endforeach
@lang("global.token") @lang("global.ip") @lang("global.platform") @lang("global.local") @lang("global.action")
{{Str::limit($token->token,1)}} {{$token->ip}} {{$token->platform}} {{$token->locale}} @lang('global.send')

@lang("global.deactive_user")

{{-- View More --}}
@if($model->user_deactive_at == null)
@csrf
{{--

@lang("global.branch_name")

--}}
@error("branch_id")
{{ $message }}
@enderror
@else
@csrf
{{--

@lang("global.branch_name")

--}}
@error("branch_id")
{{ $message }}
@enderror
@endif

@lang("global.my_asset")

{{-- View More --}}
{{-- --}} @foreach($asset as $item) {{-- --}} @endforeach
@lang("global.id") @lang("global.assets") @lang("global.note_asset")@lang("global.file_path")@lang("global.date")
{{$item->id}} {{$item->name_asset}}{{$item->file}}{{$item->notes}} {{$item->date_asset}}

@lang("global.salary")

{{-- View More --}}
@foreach ($payrolls as $item ) @endforeach
@lang("global.bank_name") @lang("global.current_salary") @lang("global.othersuits") @lang("global.socialsecurity") @lang("global.tax") @lang("global.overtime") @lang("global.deduction") @lang("global.reward") @lang("global.loan_amount") @lang("global.monthly_deducationn") @lang("global.salary_one_day") @lang("global.available_salary") @lang("global.created_at")
{{$item?$item->bank_name:''}} {{$item?$item->amount:0}} Jd {{$item?$item->other_allowances:0}} Jd {{$item?$item->socialsecurity:0}}Jd {{$item?$item->tax:0}}Jd {{$item?$item->overtime:0}}Jd {{$item?$item->discount:0}} Jd {{$item?$item->reward :0}} Jd {{$item?$item->loan_amount:0}} Jd {{$item?$item->loan_monthly_deducationn:0}} Jd {{$item?($item->amount)/30:0}} Jd {{$item?$item->available_salary:0}} Jd {{$item?$item->created_at:''}}

Statistics

{{-- View More --}}
@lang("global.remaining_vacations") @lang("global.countVocation") @lang("global.countresignation") @lang("global.countloan") @lang("global.countexcuse") @lang("global.countasset") @lang("global.countletter") @lang("global.countconvenate")
{{$remaining_vacations}} {{$request_vocation}} {{$request_resignation}} {{$request_loan}} {{$request_excuse}} {{$request_asset}} {{$request_letter}} {{$request_convenate}}

@lang("global.offical_document")

@foreach ($files as $item ) @endforeach
@lang("global.user") @lang("global.name") @lang("global.file_path") @lang("global.action") @lang("global.created_at")
{{$item->user->name}} {{$item->name_file}} @lang("global.download") {{$item?$item->created_at:''}}
@stop @push('js') @endpush