@if(@isset($dataParentLoan) and !@empty($dataParentLoan) ) @if(@isset( $dataParentLoan['instalmentDetails']) and !@empty( $dataParentLoan['instalmentDetails']) ) @if($dataParentLoan['paid_status']==1) @endif @if($dataParentLoan['paid_status']==1) @endif @if($dataParentLoan['updated_by']>0) @endif @if($dataParentLoan['updated_by']>0) @endif
{{__('hr.added_at')}} @php $dt=new DateTime($dataParentLoan['created_at']); $date=$dt->format("Y-m-d"); $time=$dt->format("h:i"); $newDateTime=date("a",strtotime($dataParentLoan['created_at'])); $newDateTimeType= (($newDateTime=='AM')?'am':'pm'); @endphp ({{ $date }}) ({{ $time .' '. __('hr.'. $newDateTimeType )}}) {{ $dataParentLoan->added->first_name }} {{__('hr.paid_at')}} @php $dt=new DateTime($dataParentLoan['paid_at']); $date=$dt->format("Y-m-d"); $time=$dt->format("h:i"); $newDateTime=date("a",strtotime($dataParentLoan['paid_at'])); $newDateTimeType= (($newDateTime=='AM') ? 'am':'pm'); @endphp ({{ $date }}) ({{ $time .' '. __('hr.'. $newDateTimeType )}}) {{ $dataParentLoan->added->first_name }} تاريخ التحديث @php $dt=new DateTime($dataParentLoan['updated_at']); $date=$dt->format("Y-m-d"); $time=$dt->format("h:i"); $newDateTime=date("a",strtotime($dataParentLoan['updated_at'])); $newDateTimeType= (($newDateTime=='AM')?'am ':'pm'); @endphp ({{ $date }}) ({{ $time }}) ({{ $newDateTimeType }} ) {{ $dataParentLoan->updatedby->first_name }}
@foreach ( $dataParentLoan['instalmentDetails'] as $info ) @endforeach
{{__('hr.due_month')}} {{__('hr.month_instalment')}} {{__('hr.pay_status')}} {{__('hr.archive_status')}} {{__('hr.notes')}}
{{ $info->year_and_month }} {{ $info->instalment_amount }} @if($info->status==1) {{__('hr.paid_on_salary')}} @elseif ($info->status==2) {{__('hr.paid_cash')}} @else {{__('hr.paid_pending')}} @endif @if($info->is_archived==1) {{__('messages.yes')}} @else {{__('messages.no')}} @endif {{ $info->notes }}
@else
{{__('hr.due_month')}} {{__('hr.month_instalment')}} {{__('hr.pay_status')}} {{__('hr.archive_status')}} {{__('hr.notes')}}
{{__('lang_v1.No records has been added yet.')}}
@endif @else

{{__('lang_v1.No records has been added yet.')}}

@endif