@extends('admin.admin_master') @section('content-header', $page_header) @section('content')
{{ csrf_field() }} {{ method_field('PATCH') }}
@if ($errors->has('title_np')) {{ $errors->first('title_np') }} @endif
@if ($errors->has('title_en')) {{ $errors->first('title_en') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phone_no')) {{ $errors->first('phone_no') }} @endif

@if ($errors->has('description_en')) {{ $errors->first('description_en') }} @endif

@if ($errors->has('description_np')) {{ $errors->first('description_np') }} @endif
@if ($errors->has('appointment_date')) {{ $errors->first('appointment_date') }} @endif
@if ($errors->has('member_type')) {{ $errors->first('member_type') }} @endif
@if ($errors->has('designation_id')) {{ $errors->first('designation_id') }} @endif
@if ($errors->has('province')) {{ $errors->first('province') }} @endif
@if ($errors->has('department_id')) {{ $errors->first('department_id') }} @endif {{-- @php $parent_department_counter = 0; $current_parent_department = ''; $child_department_counter = 1; @endphp @foreach ($departments as $department) @if ($department->parent_id == 0) @php $parent_department_counter = $parent_department_counter+1; $current_parent_department = $department->id; $child_department_counter = 1; @endphp @endif @if ($department->parent_id == $current_parent_department) @endif @php @endphp @endforeach --}} @if ($errors->has('department_id')) {{ $errors->first('department_id') }} @endif
@if ($record->image) ... @endif
insert image remove image



@if ($errors->has('year_employee_of_the_year')) {{ $errors->first('year_employee_of_the_year') }} @endif

@if ($errors->has('sort_order')) {{ $errors->first('sort_order') }} @endif
{{--
--}}
@endsection @push('script') @endpush