@extends('backEnd.master') @section('styles') @endsection @section('mainContent') {{ __('hr.edit_staff_info') }} @csrf @method('PATCH') {{ __('common.basic_info') }} {{ __('hr.staff_id') }} * {{$errors->first('employee_id')}} {{ __('common.first_name') }} * {{$errors->first('first_name')}} {{ __('common.last_name') }} {{$errors->first('last_name')}} {{ __('common.email') }}({{__('common.use_as_username')}})* {{$errors->first('email')}} {{ __('common.phone_number') }} {{$errors->first('phone')}} {{ __('common.password') }} ({{__('common.minimum_8_charecter')}}) {{$errors->first('password')}} {{ __('hr.department') }} * @foreach ($departments as $key => $department) id == $staff->department_id) selected @endif>{{ $department->name }} @endforeach {{$errors->first('department_id')}} {{ __('hr.role') }} * @foreach ($roles as $key => $role) id == $staff->user->role_id) selected @endif>{{ $role->name }} @endforeach {{$errors->first('role_id')}} {{ __('common.address') }} {{$errors->first('address')}} {{ __('common.date_of_birth') }} * {{$errors->first('date_of_birth')}} {{ __('hr.date_of_joining') }} * {{$errors->first('date_of_joining')}} {{ __('hr.applicable_for_leave') }} * {{$errors->first('leave_applicable_date')}} {{ __('common.avatar') }} ({{ getNumberTranslate(165) }} X {{ getNumberTranslate(165) }}){{ __('common.px') }} {{ __('common.browse') }} {{$errors->first('photo')}} @if ($staff->user->avatar) @endif {{ __('hr.bank_info') }} {{ __('hr.bank_name') }} {{$errors->first('bank_name')}} {{ __('hr.branch_name') }} {{$errors->first('bank_branch_name')}} {{ __('hr.account_name') }} {{$errors->first('bank_account_name')}} {{ __('hr.account_number') }} {{$errors->first('bank_account_number')}} {{ __('common.update') }} @include('backEnd.partials._deleteModalForAjax', ['item_name' => __('common.avatar'),'modal_id' => 'imgModal','form_id' => 'imgForm','delete_item_id' => 'delete_document_id','dataDeleteBtn'=>'document_delete_btn']) @endsection @push('scripts') @endpush