@extends('layouts.app') @section('title') Employee Detail @stop @section('breadcrumb')
@stop @section('css') @stop @section('content')CNIC | {{$HrmEmployees->cnic}} |
Gender | {{$HrmEmployees->gender}} |
Date oF Birth | {{date("d-m-Y", strtotime($HrmEmployees->dob))}} |
Phone Number | {{$HrmEmployees->phone_no}} |
Residental Address | {{$HrmEmployees->residential_address}} |
Permanent Address | {{$HrmEmployees->pemanent_address}} |
{{$HrmEmployees->email}} |
Employee Code | {{$HrmEmployees->companyDetail->employee_code}} |
---|---|
Date of Joining | {{$HrmEmployees->companyDetail->date_of_joining}} |
Monthly Salary | {{number_format($HrmEmployees->companyDetail->monthly_salary)}} |
Designation | {{$HrmEmployeeDesignation ? $HrmEmployeeDesignation->designation->name : ''}} |
Contract Type | @if($HrmEmployees->companyDetail->contract_type=='full_time') {{"Full Time"}} @else {{"Contract"}} @endif |
Accoun Holder Name | {{$HrmEmployees->accountDetail->account_holder_name}} |
---|---|
Bank Name | {{$HrmEmployees->accountDetail->bank_name}} |
Location | {{$HrmEmployees->accountDetail->branch_location}} |
Account No | {{$HrmEmployees->accountDetail->account_no}} |
Bank Code | {{$HrmEmployees->accountDetail->bank_code}} |
Date | Status | CheckIn | CheckOut | Time | Created By |
---|---|---|---|---|---|
@if(!empty($date)) {{$date}} @php $Day = ""; $flag = 0; for ($z=3; $z < 6; $z++) { $Day = $Day.$date[$z]; } $len = count($offday); for($y=0; $y<$len; $y++){ if ($offday[$y] == $Day) { $flag = 1; } } @endphp @else {{$D = date('d-D' , strtotime($i.'-'.$month.'-'.$year_))}} @php $Day = ""; $flag = 0; for ($z=3; $z < 6; $z++) { $Day = $Day.$D[$z]; } $len = count($offday); for($y=0; $y<$len; $y++){ if ($offday[$y] == $Day) { $flag = 1; } } @endphp @endif | @if($flag == 1) offday @else @if( $present_absent=='1' ) Present @elseif($present_absent=='0') Absent @elseif( $present_absent== '2') Leave @else - @endif @endif | @if( $present_absent != '-' && $present_absent != '2' && $present_absent != '0' ) {{$check_in}} @else - @endif | @if($present_absent != '-' && $present_absent != '2' && $present_absent != '0') {{$checkout}} @else - @endif | @if($flag == 1) offday @else @if($present_absent== '1') @if($status ) OnTime @else Late @endif @elseif( $present_absent== '0') Absent @elseif($present_absent=='2') Leave @else - @endif @endif | {{$name}} |