@extends('portal.layout.app') @section('content')
HrServices / Loan & Advances / Amortization
Amortization Schedule
@foreach ($data as $app) @php $app=(object)$app; @endphp @endforeach
Sr # Payroll Month Monthly Installment Principal Balance Status
{{$app->sno}}
{{$app->payroll_month}}
{{number_format($app->monthly_installment)}}
{{number_format($app->principal)}}
{{number_format($app->balance)}}
@if($app->status == "recieved") schedule_status != 'N/A') data-toggle="tooltip" title="{{ucfirst($app->schedule_status)}} @endif">Received @elseif($app->status == "N/A") N/A @elseif($app->status == "rescheduled") Rescheduled @elseif($app->status == "pending") @if(strtotime($app->payroll_month) <= strtotime(date('M-Y'))) Pending @else Pending @endif @endif
@include('notification') @stop @section('scripts')