@extends('admin.layout.master') @section('title','Loan Details') @section('custom_style') @endsection @section ('content')

Loan Details

@include('payroll.includes.report_print_excel_button')
@if(count($loan_details)>0)
{!! $print['head'] !!}

Loan Details

Code : {{$employee->emp_code}} Name : {{$employee->emp_name}} Designation : {{$employee->fetch_designation ? $employee->fetch_designation->name : null}}
Loan Amount : {{number_format($loan_details->first()->loanInfo->amount)}}
@php $sl =1; @endphp @foreach($loan_details as $loan_val) @endforeach
SL Installment Date Adjust Amount Month Of Salary Remarks
{{$sl++}} {{$loan_val->installment_date}} {{$loan_val->total_adjusted_amount}} @if(!empty($loan_val->installment_month)){{date('M-Y',strtotime('01-'.$loan_val->installment_month))}}@endif {{$loan_val->adjusted_remarks}}
Total Adjusted Amount : {{number_format($loan_details->sum('total_adjusted_amount'))}}
@endif
@endsection @section('script') @endsection