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

All Dealer Pending Receipts

@foreach($receipts as $receipt) @if($receipt->payment_method == \App\Receipt::cash) @elseif($receipt->payment_method == \App\Receipt::bank) @elseif($receipt->payment_method == \App\Receipt::adjustment) @elseif($receipt->payment_method == \App\Receipt::cheque) @elseif($receipt->payment_method == \App\Receipt::merging) @else @endif @if($receipt->payment_head == \App\Receipt::package_payment) @elseif($receipt->payment_head == \App\Receipt::package_rebate) @endif @if($receipt->tax_paid_by == \App\Receipt::company) @else @endif @endforeach
Project Receipt No. Dealer Package Payment Method Payment Head Received Amount Date Action
{{$receipt->multiProject?$receipt->multiProject->name:'None'}} {{$receipt->receipt_no}} {{$receipt->dealer->code}} --- {{$receipt->dealer->name}} {{$receipt->dealerPackage->package->name}}CashBankAdjustmentChequeMergingPackage PaymentPackage Rebate Remaining{{number_format($receipt->amount + $receipt->tax_amount)}} PKR{{number_format($receipt->amount)}} PKR {{date('d-m-Y', strtotime($receipt->receipt_date)) }} View {{-- Edit --}} Approve {{-- @if($receipt->payment_method == \App\Receipt::cheque) Cancel @endif --}}
{!! method_field('delete') !!} {!! csrf_field() !!}




{{$receipts->links()}}
@stop @section('js') @stop