@component('dashboard.components.edit_text' , [
"name" => "name",
"type" => "text",
"title" => __("global.name"),
"col" => "col-md-10",
"value"=>$model->name
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "phone_number",
"type" => "text",
"title" => __("global.phone_number"),
"col" => "col-md-10",
"value"=>$model->phone_number
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "email",
"type" => "email",
"title" => __("global.email"),
"col" => "col-md-10",
"value"=>$model->email
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "password",
"type" => "password",
"title" => __("global.password"),
"col" => "col-md-10",
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "national",
"type" => "text",
"title" => __("global.nationality"),
"col" => "col-md-10",
"value"=>$model->national
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "address",
"type" => "text",
"title" => __("global.address"),
"col" => "col-md-10",
"value"=>$model->address
])
@endcomponent
@php
$debartment= App\Models\User::role(App\Models\User::HEAD_OF_DEPARTMENT)->where('company_id' , Auth::id())->get();
@endphp
{{-- @component('dashboard.components.edit_drobdrown_title' , [
"name" => "lip_id",
"type" => "text",
"title" => __("global.lip"),
"col" => "col-md-10",
"model"=>$model3
])
@endcomponent --}}
@component('dashboard.components.edit_text' , [
"name" => "age",
"type" => "number",
"title" => __("global.age"),
"col" => "col-md-10",
"value"=>$model->age
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "residence_number",
"type" => "text",
"title" => __("global.residence_number"),
"col" => "col-md-10",
"value"=>$model2?$model2->residence_number:''
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "expired_residence_number",
"type" => "date",
"title" => __("global.expired_residence_number"),
"col" => "col-md-10",
"value"=>$model2?Carbon\Carbon::parse($model2->expired_residence_number)->format('Y-m-d'):''
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "expired_passport",
"type" => "date",
"title" => __("global.expired_passport"),
"col" => "col-md-10",
"value"=>$model2?Carbon\Carbon::parse($model2->expired_passport)->format('Y-m-d'):''
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "amount",
"type" => "text",
"title" => __("global.amount"),
"col" => "col-md-10",
"value"=>$model4?$model4->amount:0
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "num_socialsecurity",
"type" => "text",
"title" => __("global.num_socialsecurity"),
"col" => "col-md-10",
"value"=>$model4?$model4->num_socialsecurity:0
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "note",
"type" => "text",
"title" => __("global.note"),
"col" => "col-md-10",
"value"=>$model4?$model4->note:''
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "ipan",
"type" => "text",
"title" => __("global.ipan"),
"col" => "col-md-10",
"value"=>$model4?$model4->ipan:0
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "socialsecurity",
"type" => "text",
"title" => __("global.socialsecurity"),
"col" => "col-md-10",
"value"=>$model4?$model4->socialsecurity:0
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "tax",
"type" => "text",
"title" => __("global.tax"),
"col" => "col-md-10",
"value"=>$model4?$model4->tax:0
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "other_allowances",
"type" => "text",
"title" => __("global.othersuits"),
"col" => "col-md-10",
"value"=>$model4?$model4->other_allowances:0
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "bank_name",
"type" => "text",
"title" => __("global.bank_name"),
"col" => "col-md-10",
"value"=>$model4?$model4->bank_name:0
])
@endcomponent
@component('dashboard.components.edit_text' , [
"name" => "health_insurance",
"type" => "text",
"title" => __("global.health_insurance"),
"col" => "col-md-10",
"value"=>$model4?$model4->health_insurance:0
])
@endcomponent