@extends( 'layouts.app') @section('title') All Payments @stop @section('breadcrumb') @stop @section('content')

All Payments ({{number_format($totalAmount)}})

@foreach($payments->reverse() as $payment) @if($payment->payment_mode == \App\Receipt::cash) @elseif($payment->payment_mode == \App\Receipt::bank) @elseif($payment->payment_mode == \App\Receipt::cheque) @else @endif @endforeach
Receipt No. Unit No. Customer Payment Mode Paid Amount Date Action
{{$payment->receipt_no}} {{$payment->property->inventory->unit_number}} {{$payment->property->customer ? $payment->property->customer->name : ''}}CashBank transferCheque{{number_format($payment->amount)}} PKR {{date('d-m-Y', strtotime($payment->receipt_date)) }}
@stop @section('js') @stop