@extends('layouts.app') @section('title') Payment Receipt @stop @section('css') @stop @section('breadcrumb') @stop @section('content') @php $size= ''; if($projectType->id == \App\ProjectType::society){ $size= \App\ProjectType::society_size; } else { $size= \App\ProjectType::high_rise_size; } @endphp @php $map= ' '; if($projectType->id == \App\ProjectType::society){ $map= \App\ProjectType::society_map; } else { $map= \App\ProjectType::high_rise_map; } @endphp

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))}}
Dealer {{$receipt->dealer->name}}
Unit No. {{$receipt->openFileDealerInfo->inventory ? $receipt->openFileDealerInfo->inventory->unit_number : ''}}
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
Deduction Amount {{number_format($receipt->amount)}}
Refunded Amount {{number_format($openfile_refund->cancelOpenFile->openFileRefunded->total_refund)}}
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
@if($receipt->property) @if($receipt->property->inventory->multiProject) your image @endif @endif

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

Receipt of Payment

Office Copy
Date:   {{date('d-m-Y',strtotime($receipt->receipt_date))}}
Receipt No:   {{$receipt->receipt_no}}

Received with thanks from Mr./Ms./Mrs.

{{$receipt->dealer->name}}

Membership # {{$openfile_refund->membership_no}}

On account of payment head:    Refund Unit

Unit Size:   {{$receipt->openFileDealerInfo->inventory ? $receipt->openFileDealerInfo->inventory->size->name : ''}} {{$size}}

Type:   {{$receipt->openFileDealerInfo->inventory ? $receipt->openFileDealerInfo->inventory->type->name : ''}} Unit

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 @elseif($receipt->payment_method == \App\Receipt::adjustment) Adjustment @endif

Instrument/STN#    @if($receipt->payment_method == \App\Receipt::bank || $receipt->payment_method == \App\Receipt::cheque) {{$receipt->cheque_number}} @else N/A @endif

@if($receipt->payment_method == \App\Receipt::cash)

Drawn/Transaction Date:   {{date('d-m-Y')}}

@else

Drawn/Transaction Date:   {{date('d-m-Y',strtotime($receipt->receipt_date))}}

@endif

The Sum of Rupees: {{ $refund_words }} only

Refunded Amount

Rs. {{ number_format($openfile_refund->cancelOpenFile->openFileRefunded->total_refund) }}

The Sum of Rupees: {{$words}} only

Paid Amount

Rs. @if($receipt->tax_paid_by == \App\Receipt::company) {{ number_format($receipt->amount + $receipt->tax_amount) }} @else {{ number_format($receipt->amount) }} @endif

Balance Amount

Rs. {{number_format($balance)}}

{!! QrCode::size(100)->generate($qrCodeOutput); !!}

   Signature   

@include('statement.footer-booking')
@if($receipt->property) @if($receipt->property->inventory->multiProject) your image @endif @endif

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

Receipt of Payment

Accounts Copy
Date:   {{date('d-m-Y',strtotime($receipt->receipt_date))}}
Receipt No:   {{$receipt->receipt_no}}

Received with thanks from Mr./Ms./Mrs.

{{$receipt->dealer->name}}

Membership # {{$openfile_refund->membership_no}}

On account of payment head:    Refund Unit

Unit Size:   {{$receipt->openFileDealerInfo->inventory ? $receipt->openFileDealerInfo->inventory->size->name : ''}} {{$size}}

Type:   {{$receipt->openFileDealerInfo->inventory ? $receipt->openFileDealerInfo->inventory->type->name : ''}} Unit

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 @elseif($receipt->payment_method == \App\Receipt::adjustment) Adjustment @endif

Instrument/STN#    @if($receipt->payment_method == \App\Receipt::bank || $receipt->payment_method == \App\Receipt::cheque) {{$receipt->cheque_number}} @else N/A @endif

@if($receipt->payment_method == \App\Receipt::cash)

Drawn/Transaction Date:   {{date('d-m-Y')}}

@else

Drawn/Transaction Date:   {{date('d-m-Y',strtotime($receipt->receipt_date))}}

@endif

The Sum of Rupees: {{ $refund_words }} only

Refunded Amount

Rs. {{ number_format($openfile_refund->cancelOpenFile->openFileRefunded->total_refund) }}

The Sum of Rupees: {{ $words }} only

Paid Amount

Rs. @if($receipt->tax_paid_by == \App\Receipt::company) {{ number_format($receipt->amount + $receipt->tax_amount) }} @else {{ number_format($receipt->amount) }} @endif

Balance Amount

Rs. {{ number_format($balance) }}

{!! QrCode::size(100)->generate($qrCodeOutput); !!}

   Signature   

@include('statement.footer-booking')
@if($receipt->property) @if($receipt->property->inventory->multiProject) your image @endif @endif

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

Receipt of Payment

Customer Copy
Date:   {{date('d-m-Y',strtotime($receipt->receipt_date))}}
Receipt No:   {{$receipt->receipt_no}}

Received with thanks from Mr./Ms./Mrs.

{{$receipt->dealer->name}}

Membership # {{$openfile_refund->membership_no}}

On account of payment head:    Refund Unit

Unit Size:   {{$receipt->openFileDealerInfo->inventory ? $receipt->openFileDealerInfo->inventory->size->name : ''}} {{$size}}

Type:   {{$receipt->openFileDealerInfo->inventory ? $receipt->openFileDealerInfo->inventory->type->name : ''}} Unit

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 @elseif($receipt->payment_method == \App\Receipt::adjustment) Adjustment @endif

Instrument/STN#    @if($receipt->payment_method == \App\Receipt::bank || $receipt->payment_method == \App\Receipt::cheque) {{$receipt->cheque_number}} @else N/A @endif

@if($receipt->payment_method == \App\Receipt::cash)

Drawn/Transaction Date:   {{date('d-m-Y')}}

@else

Drawn/Transaction Date:   {{date('d-m-Y',strtotime($receipt->receipt_date))}}

@endif

The Sum of Rupees: {{ $refund_words }} only

Refunded Amount

Rs. {{ number_format($openfile_refund->cancelOpenFile->openFileRefunded->total_refund) }}

The Sum of Rupees: {{ $words }} only

Paid Amount

Rs. @if($receipt->tax_paid_by == \App\Receipt::company) {{ number_format($receipt->amount + $receipt->tax_amount) }} @else {{ number_format($receipt->amount) }} @endif

Balance Amount

Rs. {{ number_format($balance) }}

{!! QrCode::size(100)->generate($qrCodeOutput); !!}

   Signature   

@include('statement.footer-booking')
@stop @section('js') @stop