@extends('dashboard.layouts.index', ['breadcrumb' => ['main' => 'global.employees','sub' => "global.employees"]]) @section('content')
@csrf
Basic Details
@component('dashboard.components.edit_text' , [ "name" => "first_name", "type" => "text", "title" => __("global.first_name"), "classlable" =>" required ", "col" => "col-6" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "last_name", "type" => "text", "title" => __("global.last_name"), "classlable" =>" required ", "col" => "col-6" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "phone_number", "type" => "text", "title" => "+962", "classlable" =>"required ", "col" => "col-4" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "email", "type" => "email", "title" => __("global.email"), "classlable" =>"required ", "col" => "col-md-4" ]) @endcomponent
@component('dashboard.components.edit_image',[ 'hide_default' => true, 'name' => 'image', 'placeholder' => __('global.personal_photo') , ]) @endcomponent
@component('dashboard.components.edit_text' , [ "name" => "national_number", "type" => "text", "title" => __("global.national_number"), "col" => "col-md-4" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "passport_number", "type" => "text", "title" => __("global.passport_number"), "col" => "col-md-4" ]) @endcomponent
@component('dashboard.components.edit_image',[ 'hide_default' => true, 'name' => 'identity_passport', 'placeholder' => __('global.identity_passport') , ]) @endcomponent
@component('dashboard.components.edit_text' , [ "name" => "date_of_birth", "type" => "date", "title" => __("global.date_of_birth"), "col" => "col-md-4" ]) @endcomponent
@component('dashboard.components.edit_text' , [ "name" => "address", "type" => "text", "title" => __("global.address"), "col" => "col-md-4" ]) @endcomponent
Employment Details
@component('dashboard.components.edit_drobdrown' , [ "name" => "company_id", "type" => "text", "title" => __("global.company"), "classlable" =>"required ", 'col' => 'col-md-6', "model"=> $companies ]) @endcomponent
@component('dashboard.components.edit_text' , [ "name" => "job_title", "type" => "text", "title" => __("global.job_title"), "col" => "col-md-6" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "start_date", "type" => "date", "title" => __("global.start_day"), "col" => "col-md-6" ]) @endcomponent
Employment Details
@component('dashboard.components.edit_text' , [ "name" => "num_socialsecurity", "type" => "text", "title" => __("global.social_security"), "classlable" =>" required ", "col" => "col-6" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "iban", "type" => "text", "title" => __("global.iban"), "col" => "col-md-6" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "amount", "type" => "text", "title" => __("global.salary"), "col" => "col-md-6" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "tax_number", "type" => "text", "title" => __("global.tax_number"), "col" => "col-md-6" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "tax_rate", "type" => "text", "title" => __("global.tax_rate"), "col" => "col-md-6" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "health_insurance", "type" => "text", "title" => __("global.health_insurance"), "col" => "col-md-3" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "commission", "type" => "text", "title" => __("global.commission"), "col" => "col-md-3" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "transport_allowances", "type" => "text", "title" => __("global.transport_allowances"), "col" => "col-md-3" ]) @endcomponent @component('dashboard.components.edit_text' , [ "name" => "phone_allowances", "type" => "text", "title" => __("global.phone_allowances"), "col" => "col-md-3" ]) @endcomponent
@stop