@extends('layouts.app') @section('content')
Customer Details
Customer Name *
Address
Phone *
@csrf
Product Info
Product Name*
Quantity
Notes
@if(auth()->user()->sales_person_category == "Delivery")
@else @if(auth()->user()->role == "Sales_Person")
@else
@endif @endif
@if(empty($checkseesion))
@else
@foreach($cartItems as $key => $cart) @endforeach
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
@endif
@include('tingg.invoice-payment-modal') @include('modal.switch-branch') @include('inc.delivery')