@extends('layouts.app' ) @section('title') Add Employee @stop @section('breadcrumb') @stop @section('content')

Add Employee


{{csrf_field()}}

Employment Details


@if ($errors->has('employee_id')) {{ $errors->first('employee_id') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('basic_salary')) {{ $errors->first('basic_salary') }} @endif
@if ($errors->has('designation_id')) {{ $errors->first('designation_id') }} @endif
@if ($errors->has('department_id')) {{ $errors->first('department_id') }} @endif
@if ($errors->has('start_date')) {{ $errors->first('start_date') }} @endif
@if ($errors->has('reference')) {{ $errors->first('reference') }} @endif

Employment Status


@if ($errors->has('status')) {{ $errors->first('status') }} @endif
@if ($errors->has('employee_type')) {{ $errors->first('employee_type') }} @endif
@if ($errors->has('working_hours')) {{ $errors->first('working_hours') }} @endif
@if ($errors->has('working_days')) {{ $errors->first('working_days') }} @endif

Payment Information


@if ($errors->has('bank_name')) {{ $errors->first('bank_name') }} @endif
@if ($errors->has('account_name')) {{ $errors->first('account_name') }} @endif
@if ($errors->has('account_number')) {{ $errors->first('account_number') }} @endif

Basic Information


@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
@if ($errors->has('dob')) {{ $errors->first('dob') }} @endif

Emergency Contact


@if ($errors->has('emer_person')) {{ $errors->first('emer_person') }} @endif
@if ($errors->has('emer_relation')) {{ $errors->first('emer_relation') }} @endif
@if ($errors->has('emer_phone_number')) {{ $errors->first('emer_phone_number') }} @endif
@if ($errors->has('emer_email')) {{ $errors->first('emer_email') }} @endif
@if ($errors->has('document')) {{ $errors->first('document') }} @endif

Benefits & Deductions


@foreach($policies as $policy)
{{number_format($policy->amount)}} PKR
@endforeach
@stop @section('js') @stop