@extends('emails.template') @section('content')
Employee Contract Expired

@foreach($employeeContractExpired as $employeeContract) @endforeach
Employee Contract Begin Contract End
{{ $employeeContract->employee->name }} {{ date('d F Y', strtotime($employeeContract->contract_begin)) }} {{ date('d F Y', strtotime($employeeContract->contract_end)) }}
@if($employeeContractExpiredSoon->count() > 0)
Employee Contract Expired Soon

@foreach($employeeContractExpiredSoon as $employeeContract) @endforeach
Employee Contract Begin Contract End
{{ $employeeContract->employee->name }} {{ date('d F Y', strtotime($employeeContract->contract_begin)) }} {{ date('d F Y', strtotime($employeeContract->contract_end)) }}
@endif
@stop