| Sl |
Description |
Credit |
Debit |
{{-- Currency | --}}
@php $debit += $rent; @endphp
| {{ ++$sl }} |
Bill |
|
{{ number_format($rent,2) }} |
{{-- | --}}
@foreach ($booking_info->get_vat_tax_tran as $v)
@php
$v_amount = calculate_tax($rent,$v->tax_percent,2,$booking_info->tax_percent); // excluding
$debit += $v_amount
@endphp
| {{ ++$sl }} |
{{ $v->getVatInfo->name }} |
|
{{ number_format($v_amount,2) }} |
{{-- | --}}
@endforeach
@php
$discount = $accounts_info['total_discount']+$accounts_info['total_commission'];
$credit += $discount;
@endphp
| {{ ++$sl }} |
Discount/Commission |
{{ number_format($discount, 2) }} |
|
{{-- | --}}
@php
$adjust = $accounts_info['total_advance_deduct'];
$credit += $adjust;
@endphp
| {{ ++$sl }} |
Advance Adjust |
{{ number_format($adjust, 2) }} |
|
{{-- | --}}
@php
$receive = $receipt->sum('amount');
$credit += $receive;
@endphp
| {{ ++$sl }} |
Receive |
{{ number_format($receive, 2) }} |
|
{{-- | --}}
@php
$refund = $accounts_info['total_refund'];
$debit += $refund;
@endphp
| {{ ++$sl }} |
Refund |
|
{{ number_format($refund, 2) }} |
{{-- | --}}
| {{ ++$sl }} |
Total |
{{ number_format($credit, 2) }} |
{{ number_format($debit, 2) }} |
{{-- | --}}
| {{ ++$sl }} |
Balance |
{{ number_format($debit-$credit,2) }} |
{{-- | --}}