@push('title') Update Employee @endpush @if (session('success')) {{ env('APP_NAME') }} Alerts {{ session('success') }} @endif @if (session('info')) {{ env('APP_NAME') }} Alerts {{ session('info') }} @endif @if (session('warning')) {{ env('APP_NAME') }} Alerts {{ session('warning') }} @endif @if (session('danger')) {{ env('APP_NAME') }} Alerts {{ session('danger') }} @endif @if ($errors->any()) {{ env('APP_NAME') }} Validation Errors @if ($errors->count() == 1) {{ $errors->first() }} @else @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @endif Update Employee - {{ $employee->employee_id_no}} @csrf @method('PUT') Personal Information Title * Select @foreach (['Mr', 'Mrs', 'Miss', 'Ms', 'Dr', 'Prof', 'Rev', 'Sir/Dame', 'Mx'] as $t) title == $t ? 'selected' : '' }}>{{ $t }} @endforeach Name With Initials * Full Name * Gender * Select @foreach (['Male', 'Female', 'Other'] as $g) gender == $g ? 'selected' : '' }}>{{ $g }} @endforeach Date of Birth * Marital Status * @foreach (['single', 'married', 'separated', 'divorced', 'widowed'] as $m) marital_status == $m ? 'selected' : '' }}> {{ ucfirst($m) }} @endforeach Nationality * NIC Number * Mobile Number * Landline Number Email NIC File * @if ($employee->nic_file) @endif Profile Picture @if ($employee->profile_picture) Remove Image @endif Employment Details Date of Joining * Status * @foreach (['active', 'inactive', 'resigned', 'terminated'] as $st) employee_status == $st ? 'selected' : '' }}> {{ ucfirst($st) }} @endforeach Salary Type * salary_type == 'per_day' ? 'selected' : '' }}>Per Day salary_type == 'monthly' ? 'selected' : '' }}>Monthly Start Basic Salary (LKR) * Start Allowance (LKR) * Current Salary (LKR) Address Information Permanent Address * {{ $employee->permanent_address }} Current Address {{ $employee->current_address }} Emergency Contact Name * Relationship * Phone * Bank Information Bank Name * Branch * Account Number * Update Employee