@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\CustomerStatement::down_payment) @if ($receipt->property->booking_type == \App\CustomerProperty::full_payment) {{ 'Full Payment' }} @else {{ 'Down Payment' }} @endif @elseif($receipt->payment_head == \App\CustomerStatement::possession) Possession Fee @elseif($receipt->payment_head == \App\CustomerStatement::installment) Installment @elseif($receipt->payment_head == \App\CustomerStatement::other) Other @elseif($receipt->payment_head == \App\CustomerStatement::allotment) Allotment @elseif($receipt->payment_head == \App\CustomerStatement::confirmation) Confirmation @elseif($receipt->payment_head == \App\CustomerStatement::booking) Booking @elseif($receipt->payment_head == \App\CustomerStatement::development) Development @elseif($receipt->payment_head == \App\CustomerStatement::file_processing) File Processing @elseif($receipt->payment_head == \App\CustomerStatement::registration) Registration @elseif($receipt->payment_head == \App\CustomerStatement::transfer_fee) Transfer Fee @endif
Payment Mode @if (!empty($receipt->payment_method)) @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 @else @if ($receipt->payment_mode == \App\Receipt::cash) Cash @elseif($receipt->payment_mode == \App\Receipt::bank) Bank @elseif($receipt->payment_mode == \App\Receipt::cheque) Cheque/ DD/ PO @else Adjustment @endif @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 = ['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

@if($receipt->property) @if($receipt->property->inventory->multiProject) {{ $property->inventory->multiProject->name }} @endif @endif

Payment Receipt

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

Date:
{{ date('d-m-Y', strtotime($receipt->receipt_date)) }}
Received with thanks from Mr./Ms./Mrs.
  {{ $receipt->customer->name }}
CNIC#
  @if ($i == 5 || $i == 12) - @endif {{ $c[$i] }}
On account of Unit No.
 {{ $receipt->property ? ($receipt->property->inventory ? $receipt->property->inventory->unit_number : '') : '' }}
Payment Head: @if ($receipt->payment_head == \App\CustomerStatement::down_payment) @if ($receipt->property->booking_type == \App\CustomerProperty::full_payment) {{ 'Full Payment' }} @else {{ 'Down Payment' }} @endif @elseif($receipt->payment_head == \App\CustomerStatement::possession) Possession Fee @elseif($receipt->payment_head == \App\CustomerStatement::installment) Installment @elseif($receipt->payment_head == \App\CustomerStatement::other) Other @elseif($receipt->payment_head == \App\CustomerStatement::allotment) Allotment @elseif($receipt->payment_head == \App\CustomerStatement::confirmation) Confirmation @elseif($receipt->payment_head == \App\CustomerStatement::booking) Booking @elseif($receipt->payment_head == \App\CustomerStatement::development) Development @elseif($receipt->payment_head == \App\CustomerStatement::file_processing) File Processing @elseif($receipt->payment_head == \App\CustomerStatement::registration) Registration @elseif($receipt->payment_head == \App\CustomerStatement::transfer_fee) Transfer Fee @endif
Payment Mode: @if (!empty($receipt->payment_method)) @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 @else @if ($receipt->payment_mode == \App\Receipt::cash) Cash @elseif($receipt->payment_mode == \App\Receipt::bank) Bank @elseif($receipt->payment_mode == \App\Receipt::cheque) Cheque/ DD/ PO @else Adjustment @endif @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::token_receipt) Token @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: {{ date('d-m-Y', strtotime($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
Payment Received By
Payment Approved By

@if($receipt->property) @if($receipt->property->inventory->multiProject) {{ $property->inventory->multiProject->name }} @endif @endif

Payment Receipt

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

Date:
{{ date('d-m-Y', strtotime($receipt->receipt_date)) }}
Received with thanks from Mr./Ms./Mrs.
  {{ $receipt->customer->name }}
CNIC#
  @if ($i == 5 || $i == 12) - @endif {{ $c[$i] }}
On account of Unit No.
 {{ $receipt->property ? ($receipt->property->inventory ? $receipt->property->inventory->unit_number : '') : '' }}
Payment Head: @if ($receipt->payment_head == \App\CustomerStatement::down_payment) @if ($receipt->property->booking_type == \App\CustomerProperty::full_payment) {{ 'Full Payment' }} @else {{ 'Down Payment' }} @endif @elseif($receipt->payment_head == \App\CustomerStatement::possession) Possession Fee @elseif($receipt->payment_head == \App\CustomerStatement::installment) Installment @elseif($receipt->payment_head == \App\CustomerStatement::other) Other @elseif($receipt->payment_head == \App\CustomerStatement::allotment) Allotment @elseif($receipt->payment_head == \App\CustomerStatement::confirmation) Confirmation @elseif($receipt->payment_head == \App\CustomerStatement::booking) Booking @elseif($receipt->payment_head == \App\CustomerStatement::development) Development @elseif($receipt->payment_head == \App\CustomerStatement::file_processing) File Processing @elseif($receipt->payment_head == \App\CustomerStatement::registration) Registration @elseif($receipt->payment_head == \App\CustomerStatement::transfer_fee) Transfer Fee @endif
Payment Mode: @if (!empty($receipt->payment_method)) @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 @else @if ($receipt->payment_mode == \App\Receipt::cash) Cash @elseif($receipt->payment_mode == \App\Receipt::bank) Bank @elseif($receipt->payment_mode == \App\Receipt::cheque) Cheque/ DD/ PO @else Adjustment @endif @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::token_receipt) Token @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: {{ date('d-m-Y', strtotime($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
Payment Received By
Payment Approved By

@if($receipt->property) @if($receipt->property->inventory->multiProject) {{ $property->inventory->multiProject->name }} @endif @endif

Payment Receipt

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

Date:
{{ date('d-m-Y', strtotime($receipt->receipt_date)) }}
Received with thanks from Mr./Ms./Mrs.
  {{ $receipt->customer->name }}
CNIC#
  @if ($i == 5 || $i == 12) - @endif {{ $c[$i] }}
On account of Unit No.
 {{ $receipt->property ? ($receipt->property->inventory ? $receipt->property->inventory->unit_number : '') : '' }}
Payment Head: @if ($receipt->payment_head == \App\CustomerStatement::down_payment) @if ($receipt->property->booking_type == \App\CustomerProperty::full_payment) {{ 'Full Payment' }} @else {{ 'Down Payment' }} @endif @elseif($receipt->payment_head == \App\CustomerStatement::possession) Possession Fee @elseif($receipt->payment_head == \App\CustomerStatement::installment) Installment @elseif($receipt->payment_head == \App\CustomerStatement::other) Other @elseif($receipt->payment_head == \App\CustomerStatement::allotment) Allotment @elseif($receipt->payment_head == \App\CustomerStatement::confirmation) Confirmation @elseif($receipt->payment_head == \App\CustomerStatement::booking) Booking @elseif($receipt->payment_head == \App\CustomerStatement::development) Development @elseif($receipt->payment_head == \App\CustomerStatement::file_processing) File Processing @elseif($receipt->payment_head == \App\CustomerStatement::registration) Registration @elseif($receipt->payment_head == \App\CustomerStatement::transfer_fee) Transfer Fee @endif
Payment Mode: @if (!empty($receipt->payment_method)) @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 @else @if ($receipt->payment_mode == \App\Receipt::cash) Cash @elseif($receipt->payment_mode == \App\Receipt::bank) Bank @elseif($receipt->payment_mode == \App\Receipt::cheque) Cheque/ DD/ PO @else Adjustment @endif @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::token_receipt) Unit Token @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: {{ date('d-m-Y', strtotime($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
Payment Received By
Payment Approved By
@stop @section('js') @stop