@extends('layouts.app') @section('title') Payment Receipt @stop @section('css') @stop @section('breadcrumb') @stop @section('content')

Receipt Information


@if(!empty($receipt->cheque_number)) @endif @if($receipt->payment_method == \App\Receipt::bank || $receipt->payment_method == \App\Receipt::cheque) @endif @if($receipt->tax_paid_by == \App\Receipt::company) @else @endif @if($receipt->payment_method == \App\Receipt::adjustment) @if($receipt->dealer_adjustment_unit_id) @endif @endif
Receipt # {{$receipt->receipt_no}}
Date {{date('d-m-Y',strtotime($receipt->receipt_date))}}
Customer {{$receipt->customer->name}}
Unit No. {{$receipt->property->inventory ? $receipt->property->inventory->unit_number : ''}}
Payment Head @if($receipt->payment_head == \App\Receipt::down_payment) Down Payment @elseif($receipt->payment_head == \App\Receipt::installment) Installment @elseif($receipt->payment_head == \App\Receipt::others) Others @endif
Payment Mode @if($receipt->payment_method == \App\Receipt::cash) Cash @elseif($receipt->payment_method == \App\Receipt::bank) Bank @elseif($receipt->payment_method == \App\Receipt::cheque) Cheque/ DD/ PO @else Adjustment @endif
Instrument No. {{$receipt->cheque_number}}
Company Account @foreach($cBanks as $company_bank) @if($company_bank->id == $receipt->company_account) {{$company_bank->name}} @endif @endforeach
Depositor Bank Account @foreach($banks as $depositor_bank) @if($depositor_bank->id == $receipt->bank_name) {{$depositor_bank->name}} @endif @endforeach
Gross Amount {{number_format($receipt->amount)}}
Tax Amount @if($receipt->tax_paid_by == \App\Receipt::company) {{number_format($receipt->tax_amount)}} @else {{number_format(0)}} @endif
Net Amount{{number_format($receipt->amount + $receipt->tax_amount)}}{{number_format($receipt->amount)}}
Tax Pay By @if($receipt->tax_paid_by == \App\Receipt::customer) Customer @else Company @endif
Tax Payment Received @if($receipt->tax_payment_received) YES @else NO @endif
Notes {{$receipt->notes}}
Adjustment Detail {{$receipt->adjustment_detail}}
Rebate Detail Adjust againt {{$receipt->rebate->property->inventory->unit_number}}
@if(count($receipt->documents) > 0)

Receipt Documents

@php $images = json_decode($receipt->documents , true); $file_ext = array('docx','pdf'); echo '
'; for($img = 0; $img < count($images); $img++) { $url = asset( 'storage/receipt_documents/'.$images[$img][ 'document_path']); $urlExt = pathinfo($url, PATHINFO_EXTENSION); if (!in_array($urlExt, $file_ext)) { echo ''; } if (in_array($urlExt, $file_ext)) { echo ''; } } echo '
'; @endphp @endif

{{env('APP_NAME')}}

Payment Receipt

Office Copy
Receipt No.
  {{$receipt->receipt_no}}
 
Ref.No.
 

Date:
{{date('d-m-Y',strtotime($receipt->receipt_date))}}
Received with thanks from Mr./Ms./Mrs.
  {{$receipt->customer->name}}
Phone
  {{$receipt->customer->phone_number}}
On account of Office/shop/Floor
 {{$receipt->property ? $receipt->property->inventory ? $receipt->property->inventory->unit_number : '' : ''}}
Payment Head: @if($receipt->payment_head == \App\Receipt::down_payment) Down Payment @elseif($receipt->payment_head == \App\Receipt::installment) Installment @elseif($receipt->payment_head == \App\Receipt::possession_fee) Possession @elseif($receipt->payment_head == \App\Receipt::other) Others @endif
Payment Mode: @if($receipt->payment_method == \App\Receipt::cash) Cash @elseif($receipt->payment_method == \App\Receipt::bank) Bank @elseif($receipt->payment_method == \App\Receipt::cheque) Cheque @elseif($receipt->payment_method == \App\Receipt::adjustment) Adjustment @endif
@if($receipt->payment_method == \App\Receipt::adjustment)
Adjustment Type: @if($receipt->adjustment_type == \App\Receipt::property) Property @elseif($receipt->adjustment_type == \App\Receipt::vehicle) Vehicle @elseif($receipt->adjustment_type == \App\Receipt::rebate) Rebate   ( {{$receipt->rebate->property->inventory->unit_number}} ) @elseif($receipt->adjustment_type == \App\Receipt::vendor) Vendor bill   ( PO-{{$receipt->vendor_purchase_order_id}} ) @elseif($receipt->adjustment_type == \App\Receipt::others) Others @endif
Adjustment Details . {{$receipt->adjustment_detail}}
@endif @if($receipt->tax_paid_by == \App\Receipt::company)
Tax Amount:    {{number_format($receipt->tax_amount)}}
@endif @if($receipt->payment_method == \App\Receipt::bank || $receipt->payment_method == \App\Receipt::cheque)
Instruement No. 
{{$receipt->cheque_number}}
Drawn ON: {{$receipt->drawn_date}}
@endif
PKR
  @if($receipt->tax_paid_by == \App\Receipt::company) {{number_format($receipt->amount + $receipt->tax_amount)}} @else {{number_format($receipt->amount)}} @endif
Amount in words (PKR)
{{$words}} only
@if($receipt->payment_method == \App\Receipt::cheque || $receipt->payment_method == \App\Receipt::bank)
Subject to the clearance of cheque
@else
@endif
Payment Received By
Payment Approved By

{{env('APP_NAME')}}

Payment Receipt

Accounts Copy
Receipt No.
  {{$receipt->receipt_no}}
 
Ref.No.
 

Date:
{{date('d-m-Y',strtotime($receipt->receipt_date))}}
Received with thanks from Mr./Ms./Mrs.
  {{$receipt->customer->name}}
Phone
  {{$receipt->customer->phone_number}}
On account of Office/shop/Floor
 {{$receipt->property ? $receipt->property->inventory ? $receipt->property->inventory->unit_number : '' : ''}}
Payment Head: @if($receipt->payment_head == \App\Receipt::down_payment) Down Payment @elseif($receipt->payment_head == \App\Receipt::installment) Installment @elseif($receipt->payment_head == \App\Receipt::possession_fee) Possession @elseif($receipt->payment_head == \App\Receipt::other) Others @endif
Payment Mode: @if($receipt->payment_method == \App\Receipt::cash) Cash @elseif($receipt->payment_method == \App\Receipt::bank) Bank @elseif($receipt->payment_method == \App\Receipt::cheque) Cheque @elseif($receipt->payment_method == \App\Receipt::adjustment) Adjustment @endif
@if($receipt->payment_method == \App\Receipt::adjustment)
Adjustment Type: @if($receipt->adjustment_type == \App\Receipt::property) Property @elseif($receipt->adjustment_type == \App\Receipt::vehicle) Vehicle @elseif($receipt->adjustment_type == \App\Receipt::rebate) Rebate   ( {{$receipt->rebate->property->inventory->unit_number}} ) @elseif($receipt->adjustment_type == \App\Receipt::vendor) Vendor bill   ( PO-{{$receipt->vendor_purchase_order_id}} ) @elseif($receipt->adjustment_type == \App\Receipt::others) Others @endif
Adjustment Details . {{$receipt->adjustment_detail}}
@endif @if($receipt->tax_paid_by == \App\Receipt::company)
Tax Amount:    {{number_format($receipt->tax_amount)}}
@endif @if($receipt->payment_method == \App\Receipt::bank || $receipt->payment_method == \App\Receipt::cheque)
Instruement No. 
{{$receipt->cheque_number}}
Drawn ON: {{$receipt->drawn_date}}
@endif
PKR
  @if($receipt->tax_paid_by == \App\Receipt::company) {{number_format($receipt->amount + $receipt->tax_amount)}} @else {{number_format($receipt->amount)}} @endif
Amount in words (PKR)
{{$words}} only
@if($receipt->payment_method == \App\Receipt::cheque || $receipt->payment_method == \App\Receipt::bank)
Subject to the clearance of cheque
@else
@endif
Payment Received By
Payment Approved By






























{{env('APP_NAME')}}

Payment Receipt

Client Copy
Receipt No.
  {{$receipt->receipt_no}}
 
Ref.No.
 

Date:
{{date('d-m-Y',strtotime($receipt->receipt_date))}}
Received with thanks from Mr./Ms./Mrs.
  {{$receipt->customer->name}}
Phone
  {{$receipt->customer->phone_number}}
On account of Office/shop/Floor
 {{$receipt->property ? $receipt->property->inventory ? $receipt->property->inventory->unit_number : '' : ''}}
Payment Head: @if($receipt->payment_head == \App\Receipt::down_payment) Down Payment @elseif($receipt->payment_head == \App\Receipt::installment) Installment @elseif($receipt->payment_head == \App\Receipt::possession_fee) Possession @elseif($receipt->payment_head == \App\Receipt::other) Others @endif
Payment Mode: @if($receipt->payment_method == \App\Receipt::cash) Cash @elseif($receipt->payment_method == \App\Receipt::bank) Bank @elseif($receipt->payment_method == \App\Receipt::cheque) Cheque @elseif($receipt->payment_method == \App\Receipt::adjustment) Adjustment @endif
@if($receipt->payment_method == \App\Receipt::adjustment)
Adjustment Type: @if($receipt->adjustment_type == \App\Receipt::property) Property @elseif($receipt->adjustment_type == \App\Receipt::vehicle) Vehicle @elseif($receipt->adjustment_type == \App\Receipt::rebate) Rebate   ( {{$receipt->rebate->property->inventory->unit_number}} ) @elseif($receipt->adjustment_type == \App\Receipt::vendor) Vendor bill   ( PO-{{$receipt->vendor_purchase_order_id}} ) @elseif($receipt->adjustment_type == \App\Receipt::others) Others @endif
Adjustment Details . {{$receipt->adjustment_detail}}
@endif @if($receipt->tax_paid_by == \App\Receipt::company)
Tax Amount:    {{number_format($receipt->tax_amount)}}
@endif @if($receipt->payment_method == \App\Receipt::bank || $receipt->payment_method == \App\Receipt::cheque)
Instruement No. 
{{$receipt->cheque_number}}
Drawn ON: {{$receipt->drawn_date}}
@endif
PKR
  @if($receipt->tax_paid_by == \App\Receipt::company) {{number_format($receipt->amount + $receipt->tax_amount)}} @else {{number_format($receipt->amount)}} @endif
Amount in words (PKR)
{{$words}} only
@if($receipt->payment_method == \App\Receipt::cheque || $receipt->payment_method == \App\Receipt::bank)
Subject to the clearance of cheque
@else
@endif
Payment Received By
Payment Approved By
@stop @section('js') @stop