@extends('layouts.app') @section('title') All Receipts @stop @section('breadcrumb')
@stop @section('content')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}} | @if($receipt->payment_method == \App\Receipt::cash)Cash | @elseif($receipt->payment_method == \App\Receipt::bank)Bank | @elseif($receipt->payment_method == \App\Receipt::adjustment)Adjustment | @elseif($receipt->payment_method == \App\Receipt::cheque)Cheque | @elseif($receipt->payment_method == \App\Receipt::merging)Merging | @else@endif @if($receipt->payment_head == \App\Receipt::package_payment) | Package Payment | @elseif($receipt->payment_head == \App\Receipt::package_rebate)Package Rebate Remaining | @endif @if($receipt->tax_paid_by == \App\Receipt::company){{number_format($receipt->amount + $receipt->tax_amount)}} PKR | @else{{number_format($receipt->amount)}} PKR | @endif{{date('d-m-Y', strtotime($receipt->receipt_date)) }} | View {{-- Edit --}} Approve {{-- @if($receipt->payment_method == \App\Receipt::cheque) Cancel @endif --}} |