@extends('layouts.app') @section('content')
Invoice Details | ||||||
---|---|---|---|---|---|---|
Product | Quantity | Unit | Price | Category | Amount (Net) | Actions |
|
|
|
|
|
currency}}@convert($cart['invoice_unit_price'] * $cart['invoice_quantity'])">
|
|
|
||||||
Subtotal Discount VAT Total Amount |
@convert(empty($checkseesion) ? 0 : $totalCart) @if(empty(session()->get('discount'))) {{empty($app->currency) ? "GHS" : $app->currency}}0.00 @else @if(session()->get('discount')['type'] == "Cash") {{ empty($app->currency) ? "GHS" : $app->currency}} {{session()->get('discount')['discount']}} @elseif(session()->get('discount')['type'] == "Percentage") {{ session()->get('discount')['discount'] . "%"}} @endif @endif {{empty($app->currency) ? "GHS" : $app->currency}}0.00 @if(empty(session()->get('discount'))){{empty($app->currency) ? "GHS" : $app->currency}}@convert(empty($checkseesion) ? 0 : $totalCart)@else @if(session()->get('discount')['type'] == "Percentage"){{empty($app->currency) ? "GHS" : $app->currency}} @convert( $totalCart * ((100 - session()->get('discount')['discount']))/100)@else{{empty($app->currency) ? "GHS" : $app->currency}} @convert( $totalCart - session()->get('discount')['discount'] )@endif @endif |