@extends('layouts.app') @section('title') Generate Voucher @stop @section('breadcrumb') @stop @section('css') @endsection @section('content')
@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->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
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
Make Voucher

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

Bank Name   
Chq # / Ins. #   


DATE   
  ADJUSTING ENTRY
Upload Documents   



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