@include('layouts.partials.css') @include('layouts.partials.extracss') @yield('css')
{{ __('hr.print_by') .' '.auth()->user()->first_name }}
{{__('hr.print_date') .' '.date('Y-m-d')}}

({{__('hr.financial_p_loan_search') }})

{{ $systemData['name'] }}
@if (@isset($data) && !@empty($data) && count($data)>0) @php $i=1; @endphp @foreach ($data as $info ) @php $i++; @endphp @endforeach
{{__('business.first_name')}} {{__('hr.employee_code')}} {{__('hr.p_loan_total_amount')}} {{__('lang_v1.date')}} {{__('hr.added_by')}} {{__('hr.status')}}
{{ $i }} {{ $info->first_name }} {{ $info->employee_code }} {{ $info->total_amount*1 }} @php $dt=new DateTime($info->created_at); $date=$dt->format("Y-m-d"); $time=$dt->format("h:i"); $newDateTime=date("a",strtotime($info->created_at)); $newDateTimeType= (($newDateTime=='AM')?'صباحا ':'مساء'); @endphp {{ $date }} {{ $time }} {{ $newDateTimeType }} {{ $info->added->first_name }} @if($info->is_archived==1) {{__('hr.archived')}} @else {{__('hr.opened')}} @endif
{{ $other['total_sum']*1 }}

@else

{{__('lang_v1.no_data')}}

@endif