@extends('dashboard.layouts.index') @section('page_title') @lang('global.editemployee') @stop @section('breadcrumb') @stop @section('content')
id)}}" novalidate method="POST"> @csrf

@lang('global.avatar')

@component('dashboard.components.edit_image' , ['avatar' => $model->avatar]) @endcomponent

@lang("global.informationemployee")

@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 @hasanyrole('officer') @component('dashboard.components.edit_text' , [ "name" => "age", "type" => "number", "title" => __("global.age"), "col" => "col-md-10", "value" => $model->age ]) @endcomponent @endhasanyrole @component('dashboard.components.edit_text' , [ "name" => "password", "type" => "password", "title" => __("global.password"), "col" => "col-md-10" ]) @endcomponent @hasanyrole('officer')
@endhasanyrole
@stop @push('js') @endpush