@extends('layouts.appv2') @section('content')

Contract Details

@if ($message = Session::get('success')) @endif @if ($message = Session::get('error')) @endif @if ($errors->any()) @endif
{{ $employee->employee_first_name }}
{{ $employees->designation->designation_name ?? 'N/A' }}
{{ $employee->grade->grade_name ?? 'N/A' }}
{{ $employee->department->department_name ?? 'N/A'}}
{{ \Carbon\Carbon::parse( $employee->employee_joined_at)->format('d M Y') }}
Renew Contract
@php $no = 0; @endphp @if($employee->contract->isNotEmpty()) @foreach($employee->contract as $contract) @endforeach @else @endif
No Contract Start Contract End AL Carried Forward Total AL ML RL Attachment Contract Create On
{{ ++$no }} {{ \Carbon\Carbon::parse($contract->contract_start_at)->format('d M Y') }} {{ \Carbon\Carbon::parse($contract->contract_end_at)->format('d M Y') }} {{ $contract->AL }} {{ $contract->balance_last_contract}} {{ $contract->AL + $contract->balance_last_contract}} {{ $contract->ML }} {{ $contract->RL }} @if($contract->attachment) Download @else @endif {{ \Carbon\Carbon::parse($contract->contract_created_at ?? '')->format('d M Y') }}
No contracts available for this employee.
{{-- Table index end --}} @endsection