@extends('layouts.app') @section('title') All Receipts @stop @section('breadcrumb')
@stop @section('content')Receipt No. | Unit No. | Payment Method | Payment Head | Received Amount | Date | Action | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$receipt->receipt_no}} | {{$receipt->property ? $receipt->property->inventory ? $receipt->property->inventory->unit_number : '' : ''}} | @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 | @else@endif @if($receipt->payment_head == \App\Receipt::down_payment) | Down Payment | @elseif($receipt->payment_head == \App\Receipt::possession_fee)Possession Fee | @elseif($receipt->payment_head == \App\Receipt::installment)Installment | @elseif($receipt->payment_head == \App\Receipt::other)Other | @else@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 Delete |