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

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

@foreach($receipts as $receipt) @if($receipt->statement->receipt->payment_method == \App\Receipt::cash) @elseif($receipt->statement->receipt->payment_method == \App\Receipt::bank) @elseif($receipt->statement->receipt->payment_method == \App\Receipt::adjustment) @elseif($receipt->statement->receipt->payment_method == \App\Receipt::cheque) @else @endif @if($receipt->tax_paid_by == \App\Receipt::company) @else @endif @endforeach
Receipt No. Payment Mode Received Amount Date Action
{{$receipt->statement->rcpt_no}}CashBankAdjustmentCheque{{number_format($receipt->tax)}} PKR{{number_format($receipt->tax)}} PKR {{date('d-m-Y', strtotime($receipt->statement->rcpt_date)) }}    
@stop @section('js') @stop