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

@lang('global.logo')

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

@lang('global.avatar')

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

@lang('global.avatar')

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

@lang("global.user_information")

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