@extends('index') @section('content')

Edit Employee

@csrf
Good job!
Select Department
Good job!
Enter Employee Designaiton
Good job!
Select City
Good job!
Enter Employee No
Good job!
Good job!
Select Employee Type
Good job!
Enter Employee Name
Good job!
Good job!
Enter Father Name
Good job!
Enter Employee CNIC
Good job!
Enter Contact No
Good job!
Good job!
Enter Employee Salary
@php $obAmount = 0; $obType = 'credit'; if ($openingBalance) { $obAmount = $openingBalance->debit ?? $openingBalance->credit ?? 0; $obType = $openingBalance->debit ? 'debit' : 'credit'; } @endphp
Good job!
Enter Opening Balance
Good job!
Good job!
Good job!
Good job!
Good job!
Enter Employee Address

Personal Information
Children Details
@php $children = $employee['children_details'] ?? []; if (empty($children)) { $children = [['name' => '', 'gender' => '', 'age' => '']]; } @endphp @foreach($children as $index => $child)
@endforeach
Education
@php $education = $employee['education'] ?? []; if (empty($education)) { $education = [['institution_name' => '', 'degree' => '', 'year_of_passing' => '', 'percentage' => '']]; } @endphp @foreach($education as $index => $edu)
@endforeach
Employment History
@php $employment = $employee['employment_history'] ?? []; if (empty($employment)) { $employment = [['company_name' => '', 'designation' => '', 'from_date' => '', 'to_date' => '', 'salary' => '', 'reason_for_leaving' => '']]; } @endphp @foreach($employment as $index => $emp)
@endforeach
@endsection