@extends('layouts.app') @section('title') Payment Receipt @stop @section('css') @stop @section('content')
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 transfer
Depositor bank: {{$receipt->DepositorBank ? $receipt->DepositorBank->name : ''}} Company bank: {{$receipt->companyAccount ? $receipt->companyAccount->name : ''}} |
@elseif($receipt->payment_method == \App\Receipt::cheque)
Cheque | @elseif($receipt->payment_method == \App\Receipt::adjustment)Adjustment | @endif
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 | @if($receipt->tax_paid_by == \App\Receipt::company){{number_format($receipt->amount + $receipt->tax_amount)}} | @else{{number_format($receipt->amount)}} | @endif||
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}} |