@extends('layouts.app') @section('title') Generate Voucher @stop @section('breadcrumb') @stop @section('css') @endsection @section('content')
@if ($customer_tax_receipt)

Receipt Information


@if ($customer_tax_receipt->payment_method == \App\Receipt::cash) @elseif($customer_tax_receipt->payment_method == \App\Receipt::bank) @elseif($customer_tax_receipt->payment_method == \App\Receipt::cheque) @elseif($customer_tax_receipt->payment_method == \App\Receipt::adjustment) @endif @if ( $customer_tax_receipt->payment_method == \App\Receipt::cheque || $customer_tax_receipt->payment_method == \App\Receipt::bank) @endif @if ($customer_tax_receipt->tax_paid_by == \App\Receipt::company) @else @endif
Receipt # {{ $customer_tax_receipt->receipt_no }}
Date {{ date('d-m-Y', strtotime($customer_tax_receipt->receipt_date)) }}
Customer {{ $customer_tax_receipt->customerPropertyTax->statement->receipt->customer->name }}
Unit No. {{ $customer_tax_receipt->customerPropertyTax->statement->receipt->property->inventory->unit_number }}
Payment Head @if ($customer_tax_receipt->customerPropertyTax->statement->receipt->payment_head == \App\Receipt::down_payment) Down Payment @elseif($customer_tax_receipt->customerPropertyTax->statement->receipt->payment_head == \App\Receipt::installment) Installment @elseif($customer_tax_receipt->customerPropertyTax->statement->receipt->payment_head == \App\Receipt::others) Others @endif
Payment ModeCashBank transfer
Depositor bank: {{ $customer_tax_receipt->DepositorBank ? $customer_tax_receipt->DepositorBank->name : '' }}
Company bank: {{ $customer_tax_receipt->companyAccount ? $customer_tax_receipt->companyAccount->name : '' }}
ChequeAdjustment
Instrument No {{ $customer_tax_receipt->instrument_no }}
Net Amount{{ number_format($customer_tax_receipt->receipt_amount) }}{{ number_format($customer_tax_receipt->receipt_amount) }}
Tax Payment Received @if ($customer_tax_receipt->customerPropertyTax->statement->receipt->tax_payment_received) YES @else NO @endif
Notes {{ $customer_tax_receipt->note }}
@endif @if ($receipt)

Receipt Information


@if ($receipt->payment_method == \App\Receipt::cash) @elseif($receipt->payment_method == \App\Receipt::bank) @elseif($receipt->payment_method == \App\Receipt::cheque) @elseif($receipt->payment_method == \App\Receipt::adjustment) @endif @if ($receipt->payment_method == \App\Receipt::cheque || $receipt->payment_method == \App\Receipt::bank) @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 ModeCashBank transfer
Depositor bank: {{ $receipt->DepositorBank ? $receipt->DepositorBank->name : '' }}
Company bank: {{ $receipt->companyAccount ? $receipt->companyAccount->name : '' }}
ChequeAdjustment
Instrument No {{ $receipt->cheque_number }}
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 }}
@endif @if ($property)

  Unit's Details

@if ($property->down_payment_note) @endif @if ($property->sms_alert == true) @else @endif @if ($property->email_alert == true) @else @endif
Floor: @if ($property->inventory->floor) {{ $property->inventory->floor->name }} @endif
Category: @foreach ($property->inventory->categories as $c) @if ($loop->last) {{ $c->category->name }} ({{ $c->category->percent }} ) @else {{ $c->category->name }} ({{ $c->category->percent }} ), @endif @endforeach
Size: {{ $property->inventory->size->name }} {{ env('SIZE') }}
Total Price: {{ number_format($property->inventory->total_price - $property->inventory->extra_amount) }}
Net Amt.: {{ number_format($property->net_pay) }}
Notes: {{ $property->down_payment_note }}
Automatic Sms AlertsOnOff
Automatic Email AlertsOnOff
@if ($property->booking_type == \App\CustomerProperty::normal) @elseif($property->booking_type == \App\CustomerProperty::full_payment) @endif @if ($property->inventory->registration) @if ($property->inventory->registration->booking_date) @else @endif @else @endif
Unit #: {{ $property->inventory->unit_number }}
Unit Type: {{ $property->inventory->type->name }}
Area: {{ $property->inventory->area }}
Discount: {{ $property->discount }}
Category Cost: {{ number_format($property->inventory->extra_amount) }}
Booking Type : InstallmentFull Payment
Booking Date: {{ date('d-m-Y', strtotime($property->inventory->registration->booking_date)) }} {{ date('d-m-Y', strtotime($property->booking_date)) }} {{ date('d-m-Y', strtotime($property->booking_date)) }}
Schedule Start Date: @if ($property->schedule_start_date) {{ date('d-m-Y', strtotime($property->schedule_start_date)) }} @endif
@endif @if ($rebate)

Rebate Information


@if ($rebate->payment_method == \App\Receipt::cash) @else @endif
Dealer {{ $rebate->dealer->name }}
Unit # @if ($rebate->property) @if ($rebate->property->inventory) {{ $rebate->property->inventory->unit_number }} @endif @endif
Date {{ date('d-m-Y', strtotime($rebate->date)) }}
Payment ModeCashBank transfer
Gross Amount {{ number_format($rebate->amount - $rebate->tax_amount) }}
Tax Amount {{ number_format($rebate->tax_amount) }}
Net Amount {{ number_format($rebate->amount) }}
Description {{ $rebate->description }}
@endif @if ($pending_rebate)

Pending Rebate Information


Dealer {{ $pending_rebate->dealer->name }}
Unit # @if ($pending_rebate->property) @if ($pending_rebate->property->inventory) {{ $pending_rebate->property->inventory->unit_number }} @endif @endif
Rebate {{ number_format($pending_rebate->amount) }}
@endif @if ($pending_refund)

Pending Refund Information


Project {{$pending_refund->multiProject?$pending_refund->multiProject->name:'None'}}
Member Name {{$pending_refund->customer?$pending_refund->customer->name:'None'}}
Unit # {{$pending_refund->property ? $pending_refund->property->inventory ? $pending_refund->property->inventory->unit_number : '' : ''}}
Total Refund {{ number_format($pending_refund->property->unitRefundHistory->total_refund) }} PKR
Total Deduction {{number_format($pending_refund->amount)}} PKR
Date {{date('d-m-Y', strtotime($pending_refund->receipt_date)) }}
@endif @if ($pending_open_file_package)

Dealer Open File Package Buy Detail


Receipt # {{ $pending_open_file_package->receipt_no }}
Receipt Date {{ $pending_open_file_package->receipt_date }}
Dealer Code {{ $pending_open_file_package->dealerPackage->dealer->code }}
Dealer Name {{ $pending_open_file_package->dealerPackage->dealer->name }}
Package Name {{ $pending_open_file_package->dealerPackage->package->name }}
Receipt Amount {{ $pending_open_file_package->amount }} pkr
@endif @if ($pending_refund_openfile)

Dealer Open File Unit Buy Detail


Project {{$pending_refund_openfile->multiProject?$pending_refund_openfile->multiProject->name:'None'}} Open File Inventory Number: {{ $pending_refund_openfile->openFileDealerInfo->inventory->unit_number }}
Dealer {{ $pending_refund_openfile->openFileDealerInfo->dealer->code }} --- {{ $pending_refund_openfile->openFileDealerInfo->dealer->name }}
Total Refund {{ number_format($pending_refund_openfile->openFileDealerInfo->cancelOpenFile->openFileRefunded->total_refund) }} PKR
Total Deduction {{number_format($pending_refund_openfile->amount)}} PKR
Date {{ date('d-m-Y', strtotime($pending_refund_openfile->created_at)) }}
@endif @if ($pending_cancel_closeunit)

Cancel Unit Detail


@if ($pending_cancel_closeunit->payment_method == \App\Receipt::cash) @elseif($pending_cancel_closeunit->payment_method == \App\Receipt::bank) @elseif($pending_cancel_closeunit->payment_method == \App\Receipt::adjustment) @elseif($pending_cancel_closeunit->payment_method == \App\Receipt::cheque) @elseif($pending_cancel_closeunit->payment_method == \App\Receipt::merging) @else @endif @if ($pending_cancel_closeunit->tax_paid_by == \App\Receipt::company) @else @endif @if ($pending_cancel_closeunit->is_approved == true) @else @endif
Project {{$pending_cancel_closeunit->multiProject?$pending_cancel_closeunit->multiProject->name:'None'}}
Unit Number: {{ $pending_cancel_closeunit->property ? ($pending_cancel_closeunit->property->inventory ? $pending_cancel_closeunit->property->inventory->unit_number : '') : '' }}
Payment Method:CashBankAdjustmentChequeMerging
Received Amount :{{ number_format($pending_cancel_closeunit->amount + $pending_cancel_closeunit->tax_amount) }} PKR{{ number_format($pending_cancel_closeunit->amount) }} PKR
Date : {{ date('d-m-Y', strtotime($pending_cancel_closeunit->receipt_date)) }}
Status : Approved Pending
@endif @if ($pending_cancel_openfile)

Cancel Open Unit Detail


@if ($pending_cancel_openfile->payment_method == \App\Receipt::cash) @elseif($pending_cancel_openfile->payment_method == \App\Receipt::bank) @elseif($pending_cancel_openfile->payment_method == \App\Receipt::adjustment) @elseif($pending_cancel_openfile->payment_method == \App\Receipt::cheque) @elseif($pending_cancel_openfile->payment_method == \App\Receipt::merging) @else @endif @if ($pending_cancel_openfile->tax_paid_by == \App\Receipt::company) @else @endif @if ($pending_cancel_openfile->is_approved == true) @else @endif
Project {{$pending_cancel_openfile->multiProject?$pending_cancel_openfile->multiProject->name:'None'}}
Unit Number: {{ $pending_cancel_openfile->openFileDealerInfo ? ($pending_cancel_openfile->openFileDealerInfo->inventory ? $pending_cancel_openfile->openFileDealerInfo->inventory->unit_number : '') : '' }}
Payment Method:CashBankAdjustmentChequeMerging
Received Amount :{{ number_format($pending_cancel_openfile->amount + $pending_cancel_openfile->tax_amount) }} PKR{{ number_format($pending_cancel_openfile->amount) }} PKR
Date : {{ date('d-m-Y', strtotime($pending_cancel_openfile->receipt_date)) }}
Status : Approved Pending
@endif
Make Voucher
@can('isSuperAdmin') @include('partial.multiproject_forinsert') @endcan

{{ csrf_field() }} @if ($transaction_type == \App\GeneralJournalEntry::booking) Voucher Type     BPV     CPV     BRV     CRV     JV     @elseif($transaction_type == \App\GeneralJournalEntry::receipt) Voucher Type     BPV     CPV     BRV     CRV     JV     @elseif( $transaction_type == \App\GeneralJournalEntry::bill || $transaction_type == \App\GeneralJournalEntry::payment || $transaction_type == \App\GeneralJournalEntry::massPayment) Voucher Type     BPV     CPV     BRV     CRV     JV     @else Voucher Type     BPV     CPV         BRV     CRV     JV     @endif



Bank Name   
Ins. #   


DATE   
  ADJUSTING ENTRY



ACCOUNT DEBIT CREDIT NAME
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
Totals 0 0
Narration :   
@stop @section('js') @stop