@extends('layouts.master') @section('content')
# | Month of Salary | Payment Date | Total Salary | Paid | Due | Status |
---|---|---|---|---|---|---|
{{ $i++ }} | {{ date("M Y", strtotime(@$row->date)) }} | @if($row->paid_amount >0) {{ date("d M Y", strtotime(@$row->updated_at)) }} | @else N/A @endif{{ number_format( @$row->gross_amount,2) }} | {{ number_format( @$row->paid_amount,2) }} | {{ number_format( $total_due = @$row->gross_amount - @$row->paid_amount,2) }} | @if($total_due <= 0) @else @endif Receipt |