@extends('layouts.horizontal', ['title' => 'Invoice', 'topbarTitle' => 'View Invoice', 'nonav' => true]) @section('css') @endsection @section('content')
| Value before Tax | {{ $total_discounted_price != null ? config('constants.CURRENCY') . ' ' . number_format($total_discounted_price, 2) : config('constants.CURRENCY') . ' 0.00' }} | @elseif($invoice[0]->invoice_type == 'service')SubTotal | {{ $invoice[0]->sub_total != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->sub_total, 2) : config('constants.CURRENCY') . ' 0.00' }} | @endif
| Discount | {{ $invoice[0]->idiscount != null ? config('constants.CURRENCY') . ' -' . number_format($invoice[0]->idiscount, 2) : '0.00' }} | ||
| Other Charges | {{ $invoice[0]->other_charges != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->other_charges, 2) : '0.00' }} | ||
| Value Exclusive of Tax | {{ $invoice[0]->gross_wo_tax != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->gross_wo_tax, 2) : '0.00' }} | @endif||
| Amount of Sales Tax | {{ $invoice[0]->tax_total != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->tax_total, 2) : '0.00' }} | ||
| Value Inclusive of Tax | {{ $invoice[0]->gross_amount != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->gross_amount, 2) : '0.00' }} | ||
| Round Off | {{ $invoice[0]->round_off != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->round_off, 2) : '0.00' }} | ||
| Card Fee | {{ $invoice[0]->icc_charge != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->icc_charge, 2) : '0.00' }} | ||
| Tip Charged on Card | {{ $invoice[0]->cctip != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->cctip, 2) : '0.00' }} | ||
| Advance Payment (Paid) | {{ $invoice[0]->advance_amount != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->advance_amount, 2) : '0.00' }} | ||
| Total Payable | {{ $invoice[0]->total_payable != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->total_payable, 2) : '0.00' }} | ||
| {{ $checkquery->reference_invoice_number != '' && null != $checkquery->reference_invoice_number ? 'Recovered' : 'Paid ' }} ({{ $invoice[0]->payment_mode }}) | {{ $invoice[0]->paid_amount != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->paid_amount, 2) : '0.00' }} | ||
| {{ $checkquery->reference_invoice_number != '' && null != $checkquery->reference_invoice_number ? 'Recovered' : 'Used Voucher' }} | {{ $invoice[0]->paid_voucher != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->paid_voucher, 2) : '0.00' }} | ||
| {{ $checkquery->reference_invoice_number != '' && null != $checkquery->reference_invoice_number ? 'Recovered' : 'Used Loyalty' }} | {{ $invoice[0]->paid_loyalty != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->paid_loyalty, 2) : '0.00' }} | ||
| {{ $checkquery->reference_invoice_number != '' && null != $checkquery->reference_invoice_number ? 'Recovered' : 'Used Retained ' }} | {{ $invoice[0]->paid_retained != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->paid_retained, 2) : '0.00' }} | ||
| Returned | {{ $invoice[0]->return_amount != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->return_amount, 2) : '0.00' }} | ||
| {{ $checkquery->reference_invoice_number != '' && null != $checkquery->reference_invoice_number ? 'Recoverable' : 'Balance' }} | {{ $invoice[0]->balance != null ? config('constants.CURRENCY') . ' ' . number_format($invoice[0]->balance, 2) : '0.00' }} | ||
| CC Fee | {{ $checkquery->cc_charge != null ? config('constants.CURRENCY') . ' ' . number_format($checkquery->cc_charge, 2) : '0.00' }} | ||
| Rounded Adjustment | {{ $checkquery->rounded_adjustment != null ? config('constants.CURRENCY') . ' ' . number_format($checkquery->rounded_adjustment, 2) : '0.00' }} | ||
| Paid Amount | {{ $checkquery->paid_amount != null ? config('constants.CURRENCY') . ' ' . number_format($checkquery->paid_amount, 2) : '0.00' }} | ||
| Remaining | {{ $checkquery->balance != null ? config('constants.CURRENCY') . ' ' . number_format($checkquery->balance, 2) : '0.00' }} |
THANK YOU FOR YOUR VISIT! It has been our pleasure to serve you, and we hope we see you again soon.
Terms : {!! $business->payment_terms !!}
 }})
{!! QrCode::size(150)->generate($path) !!}
@elseif($business->srb_fiscal_service == 'Yes') }})
{!! QrCode::size(150)->generate($path) !!}
@endif @if($business->imsfiscal == 'Yes')PRA Invoice Number:
{{ $invoice[0]->imsfiscal_invoice_number }} @elseif($business->srb_fiscal_service == 'Yes')SRB Invoice Number:
{{ $invoice[0]->imsfiscal_invoice_number }} @endif