@extends('payroll.employee_frontend.layouts.employee') @section('content')

Loan History

loan History
@foreach ($loan_history as $lh) @endforeach
Apply Date Disburse date Amount No. of installment installment amount Total installment amount Due Purpose & Note Status
{{$lh->application_date}} {{$lh->disburse_date}} {{$lh->amount}} {{$lh->installment_no}} {{$lh->installment_amount}} {{$lh->total_installment_amount}} {{$lh->amount - $lh->total_installment_amount}} Purpose: {{$lh->purpose}}
Note: {{$lh->note}}
{{ $lh->approve_status == 2 ? 'Active' : ($lh->approve_status == 1 ? 'Pending' : ($lh->approve_status == 3 ? 'Rejected' : 'Completed' ) )}}
@endsection