@include('layouts.header') @include('layouts.sidebar')
@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
@csrf
Order Items
@php $baseamount = 0; $totalExDiscount = 0; $totalDiscount = 0; $gst_5 = $gst_12 = $gst_18 = $gst_28 = 0; $netbillamount = 0; $discount = $order->customer_discount_amount; $forwarding = $order->forwarding_amount; $forwarding_gst = $order->forwarding_gst; @endphp @foreach($orderItems as $item) @php $priceInclGst = $item->price; $gstRate = $item->gst_rate; // Calculate base price per unit (excluding GST) $basePricePerUnit = $priceInclGst * $item->quantity; $totalExDiscount +=$basePricePerUnit; if($item->item_discount > 0){ $discountAmount = $basePricePerUnit * $item->item_discount/100; $basePricePerUnit -= $discountAmount; $totalDiscount +=$discountAmount; } // Total base for quantity $baseamount += $basePricePerUnit; @endphp @endforeach
Description HSN Code UoM Labour Quantity Rate Discount(%) Amount
GST Summary

HSN Code GST % CGST % SGST % IGST % Total GST Amount

Cancel
{{-- --}} @include('layouts.footer')