From c3206679f476e7fd001756190024e03f05340ea2 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 6 Jul 2024 03:20:30 +0530 Subject: populated items list and total in print preview --- src/components/PrintPreviewItemsList.vue | 51 +++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 11 deletions(-) (limited to 'src/components/PrintPreviewItemsList.vue') diff --git a/src/components/PrintPreviewItemsList.vue b/src/components/PrintPreviewItemsList.vue index 72f0fc1..2e81e9a 100644 --- a/src/components/PrintPreviewItemsList.vue +++ b/src/components/PrintPreviewItemsList.vue @@ -12,20 +12,32 @@
Unit Price
Discount
Taxable Value
-
GST
+
+
GST
+
+
%
+
cgst
+
sgst
+
+
Total
-
{{ index + 1 }}
-
{{ item.Name }}
+
{{ index + 1 }}
+
{{ item.Brand }} {{ item.Name }}
{{ item.HSN }}
-
1
-
100
-
0
-
10
-
18
-
1000
+
{{ item.Quantity }}
+
{{ item.UnitPrice }}
+
null
+
{{ item.AmountWithoutGST }}
+
+ +
{{ item.GSTPercentage }}%
+
{{ item.TotalGSTValue.distribute(2)[0] }}
+
{{ item.TotalGSTValue.distribute(2)[1] }}
+
+
{{ item.TotalAmount }}
@@ -33,7 +45,6 @@ -- cgit v1.2.3