@include('inc.errorfile')
{{$app->app_name}}
TAX INVOICE
Order No#

563



Phone :
Receipt Number: #{{$number}}
TIN:
SALES PERSON:
{{ empty($agency_->agency) ? "" : "Payment Method: " . $agency_->agency}}
@foreach($invoice_generate as $invoice) @endforeach
ITEM QTY RATE TOTAL
{!!@strtoupper($invoice->invoice_product_name)!!} {{$invoice->invoice_quantity}} {{empty($app->currency) ? "GHS" : $app->currency}}@convert($invoice->invoice_unit_price){{$invoice->invoice_status == 2 ? "NC" : ""}} {{empty($app->currency) ? "GHS" : $app->currency}}@convert($invoice->invoice_total_price){{$invoice->invoice_status == 2 ? "NC" : ""}}
@if($discount == null) @else @endif @if($discount != null) @endif @if($discount == null) @else @endif @if($discount == null) @else @endif @if($discount == null) @else @endif @if($discount == null) @else @endif @if($customer -> customer_name !== "WALK-IN CUSTOMER") @endif
DISCOUNT {{empty($app->currency) ? "GHS" : $app->currency}}@convert(0)
DISCOUNT SUBTOTAL {{empty($app->currency) ? "GHS" : $app->currency}}@convert($discount->amount_paid)
VAT EXCL. TOTAL {{empty($app->currency) ? "GHS" : $app->currency}}@convert($EXCLUSIVE_MAIN = ($total)/(1+ ($gTax) + ($mTax->vat) + ($gTax*$mTax->vat)) )VAT EXCL. TOTAL {{empty($app->currency) ? "GHS" : $app->currency}}@convert($EXCLUSIVE_ = ($discount->amount_paid)/(1+($gTax) + ($mTax->vat) + ($gTax)*($mTax->vat)) )
COVID LEVY @convert($mTax->covid*100)% {{empty($app->currency) ? "GHS" : $app->currency}}@convert($COVID_ = ($total)/(1+ ($gTax) + ($mTax->vat) + ($gTax*$mTax->vat))*$mTax->covid)
GETFUND LEVY @convert($mTax->getfund*100)% {{empty($app->currency) ? "GHS" : $app->currency}}@convert($GETFUND_ = ($total)/(1+ ($gTax) + ($mTax->vat) + ($gTax*$mTax->vat))*$mTax->getfund)
NHIL LEVY @convert($mTax->nhil*100)% {{empty($app->currency) ? "GHS" : $app->currency}}@convert($NHIL_ = ($total)/(1+ ($gTax) + ($mTax->vat) + ($gTax*$mTax->vat))*$mTax->nhil)
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($TOTAL_TAX_MAIN = $EXCLUSIVE_MAIN+$COVID_+$GETFUND_+$NHIL_+$TOURISM_)
VAT @convert($mTax->vat*100)% {{empty($app->currency) ? "GHS" : $app->currency}}@convert($TOTAL_TAX_MAIN * $mTax->vat)
COVID LEVY @convert($mTax->covid*100)% {{empty($app->currency) ? "GHS" : $app->currency}}@convert($COVID_ =($discount->amount_paid)/(1+ ($gTax) + ($mTax->vat) + ($gTax*$mTax->vat))*$mTax->covid)
GETFUND LEVY @convert($mTax->getfund*100)% {{empty($app->currency) ? "GHS" : $app->currency}}@convert($GETFUND_ = ($discount->amount_paid)/(1+ ($gTax) + ($mTax->vat) + ($gTax*$mTax->vat))*$mTax->getfund)
NHIL LEVY @convert($mTax->nhil*100)% {{empty($app->currency) ? "GHS" : $app->currency}}@convert($NHIL_ = ($discount->amount_paid)/(1+ ($gTax) + ($mTax->vat) + ($gTax*$mTax->vat))*$mTax->nhil)
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($TOTAL_TAX_ = $EXCLUSIVE_+$COVID_+$GETFUND_+$NHIL_+$TOURISM_)
VAT @convert($mTax->vat*100)% {{empty($app->currency) ? "GHS" : $app->currency}}@convert($TOTAL_TAX_ * $mTax->vat)
VAT INCL. TOTAL {{empty($app->currency) ? "GHS" : $app->currency}}@convert($total) {{empty($app->currency) ? "GHS" : $app->currency}}@convert($discount->amount_paid)
AMOUNT PAID {{empty($app->currency) ? "GHS" : $app->currency}}@convert($amount_paid->amount_paid)
BALANCE DUE{{empty($app->currency) ? "GHS" : $app->currency}}@convert($total - $amount_paid->amount_paid){{empty($app->currency) ? "GHS" : $app->currency}}@convert($discount->amount_paid - $amount_paid->amount_paid)
   
CUSTOMER NAME: {{$customer -> customer_name}}
LOCATION: {{$customer -> customer_address}}
PHONE: {{$customer -> customer_phone}}
NOTE: {{@strtolower($customer -> customer_note)}} 
 
{!!$app->app_receipt_footer!!}
@include('tingg.tingg-modal')