@if($discount == null)
DISCOUNT |
{{empty($app->currency) ? "GHS" : $app->currency}}@convert(0) |
|
|
@else
@endif
@if($discount != null)
DISCOUNT SUBTOTAL |
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($discount->amount_paid) |
|
@endif
@if($discount == null)
VAT EXCL. TOTAL |
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($EXCLUSIVE_MAIN = ($total)/(1+ ($gTax) + ($mTax->vat) + ($gTax*$mTax->vat)) ) |
@else
VAT EXCL. TOTAL |
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($EXCLUSIVE_ = ($discount->amount_paid)/(1+($gTax) + ($mTax->vat) + ($gTax)*($mTax->vat)) ) |
@endif
|
@if($discount == null)
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) |
@else
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) |
@endif
VAT INCL. TOTAL |
@if($discount == null)
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($total) |
@else
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($discount->amount_paid) |
@endif
AMOUNT PAID |
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($amount_paid->amount_paid) |
BALANCE DUE |
@if($discount == null)
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($total - $amount_paid->amount_paid) |
@else
{{empty($app->currency) ? "GHS" : $app->currency}}@convert($discount->amount_paid - $amount_paid->amount_paid) |
@endif
@if($customer -> customer_name !== "WALK-IN CUSTOMER")
|
|
CUSTOMER NAME: |
{{$customer -> customer_name}} |
LOCATION: |
{{$customer -> customer_address}} |
PHONE: |
{{$customer -> customer_phone}} |
NOTE: |
{{@strtolower($customer -> customer_note)}} |
@endif