diff --git a/src/Pages/PurchaseOrder/PurchaseOrderPrint.jsx b/src/Pages/PurchaseOrder/PurchaseOrderPrint.jsx index ea2451a..9d22582 100644 --- a/src/Pages/PurchaseOrder/PurchaseOrderPrint.jsx +++ b/src/Pages/PurchaseOrder/PurchaseOrderPrint.jsx @@ -9,12 +9,12 @@ import { } from '../../Services/Others'; import { useEffect, useState } from 'react'; import moment from 'moment'; -import PurchasePrint1 from './PurchsasePrintStyle/PurchasePrint1'; import { useSelector } from 'react-redux'; import { getPrintSelectionComponentData, GlobalprintDatas, } from '../../Features/ThemeChange/ThemeChange'; +import PurchasePrint1 from './PurchsasePrintStyle/PurchasePrint1'; import PurchaseOrdStyle2 from './PurchsasePrintStyle/PurchaseOrdStyle2'; import PurchaseOrdStyle3 from './PurchsasePrintStyle/PurchaseOrdStyle3'; import PurchaseOrdStyle4 from './PurchsasePrintStyle/PurchaseOrdStyle4'; diff --git a/src/Pages/PurchaseOrder/PurchsasePrintStyle/PurchaseOrdStyle10.jsx b/src/Pages/PurchaseOrder/PurchsasePrintStyle/PurchaseOrdStyle10.jsx index 5d8a4ee..f7acbc4 100644 --- a/src/Pages/PurchaseOrder/PurchsasePrintStyle/PurchaseOrdStyle10.jsx +++ b/src/Pages/PurchaseOrder/PurchsasePrintStyle/PurchaseOrdStyle10.jsx @@ -1,6 +1,9 @@ -import React from "react"; -import { useDispatch, useSelector } from "react-redux"; -import { extractLastNumber, extractLastNumberOrderId } from "../../../Services/Others"; +import React from 'react'; +import { useDispatch, useSelector } from 'react-redux'; +import { + extractLastNumber, + extractLastNumberOrderId, +} from '../../../Services/Others'; import { GlobalprintSlNo, GlobalprintItem, @@ -20,61 +23,82 @@ import { Globalnotes, GlobalthemeFormat, GlobalBillName, -} from '../../../Features/ThemeChange/ThemeChange' + GlobalSelectedPrintHeaderColor, + GlobalSelectedPrintHeaderFontColor, + GlobalSelectedTableHeaderColor, + GlobalSelectedTableHeaderFontColor, + GlobalSelectedTableBodyColor, + GlobalSelectedTableBodyFontColor, + GlobalRowType, + GlobalSelectedFooterColor, + GlobalSelectedFooterFontColor, +} from '../../../Features/ThemeChange/ThemeChange'; import { GlobalUpiIDprint } from '../../../Features/BookingScreen/BookingData/BookingData'; -import "../../../Styles/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle10.scss"; -import QRCode from "react-qr-code"; -import signature from "../../../Images/signatureimage.jpg" -import { ApplicationPreferences } from "../../../Features/BrachLogin/BranchLogin"; -import { isMobile } from "react-device-detect"; - -const PurchaseOrdStyle10 = ({ index, ExtraChargeTotal, Date1, totalQuantityFilter, CashierName, totalQuantity, OrderDetailGST, OrderDetailIGST, - OrderDetailVAT, table2Data, PaymentStatus, PrintGreeting, printDatas }) => { +import '../../../Styles/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle10.scss'; +import QRCode from 'react-qr-code'; +import signature from '../../../Images/signatureimage.jpg'; +import { ApplicationPreferences } from '../../../Features/BrachLogin/BranchLogin'; +import { isMobile } from 'react-device-detect'; +const PurchaseOrdStyle10 = ({ + index, + ExtraChargeTotal, + Date1, + totalQuantityFilter, + CashierName, + totalQuantity, + OrderDetailGST, + OrderDetailIGST, + OrderDetailVAT, + table2Data, + PaymentStatus, + PrintGreeting, + printDatas, +}) => { const dispatch = useDispatch(); - const GlobalUpiID = useSelector(GlobalUpiIDprint) + const GlobalUpiID = useSelector(GlobalUpiIDprint); // const FieldDetails = useSelector(GloabalFieldDetails); const FieldDetails = printDatas?.FieldDetails?.reduce((acc, item) => { acc[item.ConfigName] = true; return acc; }, {}); - const SLNO = FieldDetails?.["Sl.No"]; - const Item = FieldDetails?.["Item"]; - const MRP = FieldDetails?.["MRP"]; - const Discount = FieldDetails?.["Discount"]; - const Quantity = FieldDetails?.["Quantity"]; - const Rate = FieldDetails?.["Rate"]; - const Amount = FieldDetails?.["Amount"]; - const HsnCode = FieldDetails?.["HsnCode"]; - const Qrcodet = FieldDetails?.["Qrcode"]; - const GlobalSlNo = useSelector(GlobalprintSlNo) - const GlobalItem = useSelector(GlobalprintItem) - const GlobalMRP = useSelector(GlobalprintMRP) - const GlobalDiscount = useSelector(GlobalprintDiscount) - const GlobalQuantity = useSelector(GlobalprintQuantity) - const GlobalRate = useSelector(GlobalprintRate) - const GlobalAmount = useSelector(GlobalprintAmount) - const GlobalHsnCode = useSelector(GlobalprintHsnCode) - const GlobalQrcodet = useSelector(GlobalprintQrcodet) - const GlobaldummyData = useSelector(GlobalPritdummyData) + const SLNO = FieldDetails?.['Sl.No']; + const Item = FieldDetails?.['Item']; + const MRP = FieldDetails?.['MRP']; + const Discount = FieldDetails?.['Discount']; + const Quantity = FieldDetails?.['Quantity']; + const Rate = FieldDetails?.['Rate']; + const Amount = FieldDetails?.['Amount']; + const HsnCode = FieldDetails?.['HsnCode']; + const Qrcodet = FieldDetails?.['Qrcode']; + const GlobalSlNo = useSelector(GlobalprintSlNo); + const GlobalItem = useSelector(GlobalprintItem); + const GlobalMRP = useSelector(GlobalprintMRP); + const GlobalDiscount = useSelector(GlobalprintDiscount); + const GlobalQuantity = useSelector(GlobalprintQuantity); + const GlobalRate = useSelector(GlobalprintRate); + const GlobalAmount = useSelector(GlobalprintAmount); + const GlobalHsnCode = useSelector(GlobalprintHsnCode); + const GlobalQrcodet = useSelector(GlobalprintQrcodet); + const GlobaldummyData = useSelector(GlobalPritdummyData); const GlobalSignature = useSelector(GlobalprintSignature); const GlobaltermsAndConditions = useSelector(GlobalprinttermsAndConditions); const GlobalSignatureImages = useSelector(GlobalSignatureImage); const GlobalIsnotes = useSelector(Globalnotes); - const GlobalthemeFormatr = useSelector(GlobalthemeFormat) - const GlobalBilltext = useSelector(GlobalBillName) + const GlobalthemeFormatr = useSelector(GlobalthemeFormat); + const GlobalBilltext = useSelector(GlobalBillName); - let TermsAndConditions = printDatas?.TermsandConditions - let SignatureImg = printDatas?.Signature - let Notestext = printDatas?.Notes - let BillName = printDatas?.PrintHdrName - let FormatTheme = printDatas?.PrintType == "S" ? true : false + let TermsAndConditions = printDatas?.TermsandConditions; + let SignatureImg = printDatas?.Signature; + let Notestext = printDatas?.Notes; + let BillName = printDatas?.PrintHdrName; + let FormatTheme = printDatas?.PrintType == 'S' ? true : false; let PageSize = printDatas?.PageSize; - const chunkSize = isMobile ? 10 : PageSize == "A5" ? 10 : 16; + const chunkSize = isMobile ? 10 : PageSize == 'A5' ? 10 : 16; let dataSource = table2Data?.productDetails || []; - const Signature = FieldDetails?.["signature"]; - const TermsnAdCondition = FieldDetails?.["terms&conditions"]; + const Signature = FieldDetails?.['signature']; + const TermsnAdCondition = FieldDetails?.['terms&conditions']; // Paginate the data const productsData = table2Data?.productDetails || []; @@ -85,9 +109,12 @@ const PurchaseOrdStyle10 = ({ index, ExtraChargeTotal, Date1, totalQuantityFilte for (let i = 0; i < dataSource.length; i += chunkSize) { paginatedChunks.push(dataSource.slice(i, i + chunkSize)); } - const lastChunkRows = paginatedChunks.length > 0 ? paginatedChunks[paginatedChunks.length - 1].length : 0; - const shouldFooterBeOnNewPage = lastChunkRows > (isMobile ? 10 : PageSize == "A5" ? 5 : 13); - + const lastChunkRows = + paginatedChunks.length > 0 + ? paginatedChunks[paginatedChunks.length - 1].length + : 0; + const shouldFooterBeOnNewPage = + lastChunkRows > (isMobile ? 10 : PageSize == 'A5' ? 5 : 13); const keysLength = Object.keys(table2Data ?? {}).length; if (keysLength > 0) { @@ -95,7 +122,20 @@ const PurchaseOrdStyle10 = ({ index, ExtraChargeTotal, Date1, totalQuantityFilte } const currentDate = new Date(); const day = currentDate.getDate().toString().padStart(2, '0'); - const monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; + const monthNames = [ + 'Jan', + 'Feb', + 'Mar', + 'Apr', + 'May', + 'Jun', + 'Jul', + 'Aug', + 'Sep', + 'Oct', + 'Nov', + 'Dec', + ]; const monthIndex = currentDate.getMonth(); const year = currentDate.getFullYear().toString().slice(-2); @@ -108,85 +148,377 @@ const PurchaseOrdStyle10 = ({ index, ExtraChargeTotal, Date1, totalQuantityFilte return total + (Number(item?.SalesQty) || 0); }, 0); + // + const SelectedHeaderColor = useSelector(GlobalSelectedPrintHeaderColor); + const SelectedHeaderFontColor = useSelector( + GlobalSelectedPrintHeaderFontColor + ); + const SelectedTableHeaderColor = useSelector(GlobalSelectedTableHeaderColor); + const SelectedTableHeaderFontColor = useSelector( + GlobalSelectedTableHeaderFontColor + ); + const SelectedTableBodyColor = useSelector(GlobalSelectedTableBodyColor); + const SelectedTableBodyFontColor = useSelector( + GlobalSelectedTableBodyFontColor + ); + const SelectedRowType = useSelector(GlobalRowType); + const SelectedTableFooterColor = useSelector(GlobalSelectedFooterColor); + const SelectedTableFooterFontColor = useSelector( + GlobalSelectedFooterFontColor + ); + + // + let printColors = printDatas?.PrintColors; + const headerColor = printColors?.find((obj) => obj.headerColor)?.headerColor; + const tableHeaderColor = printColors?.find( + (obj) => obj.tableHeaderColor + )?.tableHeaderColor; + const tableBodyColor = printColors?.find( + (obj) => obj.tableBodyColor + )?.tableBodyColor; + const footerColor = printColors?.find((obj) => obj.footerColor)?.footerColor; + + // + const headerStyle = { + backgroundColor: GlobaldummyData + ? SelectedHeaderColor + : headerColor?.background, + + color: GlobaldummyData ? SelectedHeaderFontColor : headerColor?.font, + }; + const tableHeaderStyle = { + backgroundColor: GlobaldummyData + ? SelectedTableHeaderColor + : tableHeaderColor?.background, + + color: GlobaldummyData + ? SelectedTableHeaderFontColor + : tableHeaderColor?.font, + }; + + const tableBodyStyle = { + backgroundColor: GlobaldummyData + ? SelectedTableBodyColor + : tableBodyColor?.background, + color: GlobaldummyData ? SelectedTableBodyFontColor : tableBodyColor?.font, + }; + + const rowtypeStyle = GlobaldummyData + ? SelectedRowType + : tableBodyColor?.rowType; + + const footerColorStyle = { + backgroundColor: GlobaldummyData + ? SelectedTableFooterColor + : footerColor?.background, + color: GlobaldummyData ? SelectedTableFooterFontColor : footerColor?.font, + }; + return ( <> {FormatTheme ? (
- Mobile:+91 {GlobaldummyData ? '8428XXXXXX' : table2Data?.BrMobile} + {GlobaldummyData + ? 'BranchAddress, Town- 635XXX City - State' + : (table2Data?.AddressDetails?.[0]?.Address1 || '') + + (table2Data?.AddressDetails?.[0]?.City + ? (table2Data?.AddressDetails?.[0]?.Address1 && + table2Data?.AddressDetails?.[0]?.City + ? '-' + : '') + table2Data?.AddressDetails?.[0]?.City + : '') + + (table2Data?.AddressDetails?.[0]?.Zip + ? (table2Data?.AddressDetails?.[0]?.City && + table2Data?.AddressDetails?.[0]?.Zip + ? '-' + : '') + table2Data?.AddressDetails?.[0]?.Zip + : '')} +
+ Mobile:+91{' '} + {GlobaldummyData ? '8428XXXXXX' : table2Data?.BrMobile}
- {table2Data?.OrderType === "E" &&| S.No | } - {Item &&Item | } - {HsnCode &&HSN | } - {MRP &&MRP | } - {Rate &&Rate | } - {Quantity &&Qty | } - {Discount &&Disc | } - {Amount &&Amount | } + {SLNO && ( ++ S.No + | + )} + {Item &&Item | } + {HsnCode && ( ++ HSN + | + )} + {MRP && ( ++ MRP + | + )} + {Rate && ( ++ Rate + | + )} + {Quantity && ( ++ Qty + | + )} + {Discount && ( ++ Disc + | + )} + {Amount && ( ++ Amount + | + )}||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {rowIndex + 1 + chunkIndex * chunkSize} | } +|||||||||||||||||||||||||||||||
| + {rowIndex + 1 + chunkIndex * chunkSize} + | + )} {/* Item Name fallback order */} - {Item &&{row.ProdName || row.ItemName || row.ProductName || row.Item || row.Name || ""} | } + {Item && ( ++ {row.ProdName || + row.ItemName || + row.ProductName || + row.Item || + row.Name || + ''} + | + )} {/* HSN fallback order */} - {HsnCode &&{row.HSN || row.HSNCode || row.HsnCode || row.Hsn || ""} | } + {HsnCode && ( ++ {row.HSN || + row.HSNCode || + row.HsnCode || + row.Hsn || + ''} + | + )} {/* MRP fallback order */} - {MRP &&{row.MRP !== undefined ? Number(row.MRP).toFixed(2) : (row.Mrp !== undefined ? Number(row.Mrp).toFixed(2) : "")} | } + {MRP && ( ++ {row.MRP !== undefined + ? Number(row.MRP).toFixed(2) + : row.Mrp !== undefined + ? Number(row.Mrp).toFixed(2) + : ''} + | + )} {/* Rate fallback order */} - {Rate &&{row.Rate !== undefined ? Number(row.Rate).toFixed(2) : (row.SaleRate !== undefined ? Number(row.SaleRate).toFixed(2) : "")} | } + {Rate && ( ++ {row.Rate !== undefined + ? Number(row.Rate).toFixed(2) + : row.SaleRate !== undefined + ? Number(row.SaleRate).toFixed(2) + : ''} + | + )} {/* Quantity fallback order */} - {Quantity &&{row.SalesQty !== undefined ? Number(row.SalesQty).toFixed(2) : (row.Qty !== undefined ? Number(row.Qty).toFixed(2) : "")} | } + {Quantity && ( ++ {row.SalesQty !== undefined + ? Number(row.SalesQty).toFixed(2) + : row.Qty !== undefined + ? Number(row.Qty).toFixed(2) + : ''} + | + )} {/* Discount fallback order */} - {Discount &&{row.discount !== undefined ? Number(row.discount).toFixed(2) : (row.Disc !== undefined ? Number(row.Disc).toFixed(2) : "")} | } + {Discount && ( ++ {row.discount !== undefined + ? Number(row.discount).toFixed(2) + : row.Disc !== undefined + ? Number(row.Disc).toFixed(2) + : ''} + | + )} {/* Amount fallback order */} - {Amount &&{row.TotalAmt !== undefined ? Number(row.TotalAmt).toFixed(2) : (row.Amount !== undefined ? Number(row.Amount).toFixed(2) : "")} | } + {Amount && ( ++ {row.TotalAmt !== undefined + ? Number(row.TotalAmt).toFixed(2) + : row.Amount !== undefined + ? Number(row.Amount).toFixed(2) + : ''} + | + )}
| + Taxable Amount + | ++ CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
+
- {Notestext}
- -- Terms & Conditions -
-Signature
-{Notestext}
+ ++ Terms & Conditions +
++ Signature +
+- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + | Taxable Amount | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) | - -- + | + SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | +Total Amount |
| + | {Number(item.WithOutTaxAmount).toFixed(2)} | -- {Number(item.TaxAmt).toFixed(2)} + | + {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} | - -{Number(item.TotalAmt).toFixed(2)} |
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) | -{Number(item.TotalAmt).toFixed(2)} | ++ Total Amount + |
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage} + %) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
-
+ {Notestext}
+ {Notestext && ( +{Notestext}
+
Terms & Conditions
-Signature
-+ Signature +
+- Mobile:+91 {GlobaldummyData ? '8428XXXXXX' : table2Data?.BrMobile} + {GlobaldummyData + ? 'BranchAddress, Town- 635XXX City - State' + : (table2Data?.AddressDetails?.[0]?.Address1 || '') + + (table2Data?.AddressDetails?.[0]?.City + ? (table2Data?.AddressDetails?.[0]?.Address1 && + table2Data?.AddressDetails?.[0]?.City + ? '-' + : '') + table2Data?.AddressDetails?.[0]?.City + : '') + + (table2Data?.AddressDetails?.[0]?.Zip + ? (table2Data?.AddressDetails?.[0]?.City && + table2Data?.AddressDetails?.[0]?.Zip + ? '-' + : '') + table2Data?.AddressDetails?.[0]?.Zip + : '')} +
+ Mobile:+91{' '} + {GlobaldummyData ? '8428XXXXXX' : table2Data?.BrMobile}
- {table2Data?.OrderType === "E" &&| S.N | : SLNO &&S.N | } - {GlobaldummyData ? GlobalItem &&Item | : Item &&Item | } - {GlobaldummyData ? GlobalQuantity &&Qty | : Quantity &&Qty | } - {GlobaldummyData ? GlobalHsnCode &&HSN | : HsnCode &&HSN | } - {GlobaldummyData ? GlobalMRP &&MRP | : MRP &&MRP | } - {GlobaldummyData ? GlobalDiscount &&Dis | : Discount &&Dis | } - {GlobaldummyData ? GlobalRate &&Rate | : Rate &&Rate | } - {GlobaldummyData ? GlobalAmount &&Amt | : Amount &&Amt | } + {GlobaldummyData + ? GlobalSlNo &&S.N | + : SLNO &&S.N | } + {GlobaldummyData + ? GlobalItem &&Item | + : Item &&Item | } + {GlobaldummyData + ? GlobalQuantity && ( ++ Qty + | + ) + : Quantity && ( ++ Qty + | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ HSN + | + ) + : HsnCode && ( ++ HSN + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ MRP + | + ) + : MRP && ( ++ MRP + | + )} + {GlobaldummyData + ? GlobalDiscount && ( ++ Dis{' '} + | + ) + : Discount && ( ++ Dis{' '} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ Rate + | + ) + : Rate && ( ++ Rate + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ Amt + | + ) + : Amount && ( ++ Amt + | + )}
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | : SLNO &&{index + 1} | } - {GlobaldummyData ? GlobalItem &&{item?.ProdName}({item?.Size + item?.UomName}) | : Item &&
- {item?.ProdName}
- ({item?.Size ? item?.Size : "1"} {item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"}){item?.BrandName !== null ? item?.BrandName : ""}
- {item?.ProductIdentifierDtls?.length > 0 ? (item?.ProductIdentifierDtls?.filter((items) => !(items.SerialNumber == "" || items.SerialNumber == null))
- ?.map(a => { return ( {a.SerialNumber} ) })) : ""} {item?.ProductIdentifierDtls?.length > 0 ? item?.ProductIdentifierDtls.filter((item1) => item1.IMEI1 !== "" || item1.IMEI2 !== "")
- ?.map(item2 => {
- const imei1 = item2.IMEI1 || "";
- const imei2 = item2.IMEI2 || "";
- return ({[imei1, imei2].filter(Boolean).join(",")} );
+ {item?.SalesQty} | : Quantity && {item?.SalesQty} | }
- {GlobaldummyData ? GlobalHsnCode && {item?.HSN} | : HsnCode && {item?.HSN} | }
- {GlobaldummyData ? GlobalMRP && {item?.MRP} | : MRP && {item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | }
- {GlobaldummyData ? GlobalDiscount && {item.discount} | : Discount && {item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | }
- {GlobaldummyData ? GlobalRate && {item?.Rate} | : Rate && {item?.Rate} | }
- {GlobaldummyData ? GlobalAmount && {item?.TotalAmt} | : Amount && {item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | }
+ : {}),
+ }}
+ >
+ {GlobaldummyData
+ ? GlobalSlNo && (
+
+ {index + 1}
+ |
+ )
+ : SLNO && (
+
+ {index + 1}
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalItem && (
+
+ {item?.ProdName}({item?.Size + item?.UomName})
+ |
+ )
+ : Item && (
+
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalQuantity && (
+ {item?.ProdName}
+
+ ({item?.Size ? item?.Size : '1'}{' '}
+ {item?.SinglePc == 'Y'
+ ? 'PCS'
+ : item?.Type != 'C'
+ ? item?.UomName
+ : 'COMBO'}
+ )
+ {item?.BrandName !== null
+ ? item?.BrandName
+ : ''}
+
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls?.filter(
+ (items) =>
+ !(
+ items.SerialNumber == '' ||
+ items.SerialNumber == null
+ )
+ )?.map((a) => {
+ return
+ {a.SerialNumber} ;
+ })
+ : ''}{' '}
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls.filter(
+ (item1) =>
+ item1.IMEI1 !== '' ||
+ item1.IMEI2 !== ''
+ )?.map((item2) => {
+ const imei1 = item2.IMEI1 || '';
+ const imei2 = item2.IMEI2 || '';
+ return (
+
+ {[imei1, imei2]
+ .filter(Boolean)
+ .join(',')}
+
+ );
+ })
+ : ''}
+
+ {item?.SalesQty}
+ |
+ )
+ : Quantity && (
+
+ {item?.SalesQty}
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalHsnCode && (
+
+ {item?.HSN}
+ |
+ )
+ : HsnCode && (
+
+ {item?.HSN}
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalMRP && (
+
+ {item?.MRP}
+ |
+ )
+ : MRP && (
+
+ {item?.SinglePc === 'Y'
+ ? item?.Rate
+ : item?.MRP}
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalDiscount && (
+
+ {item.discount}
+ |
+ )
+ : Discount && (
+
+ {item?.Type != 'C'
+ ? item?.OfferAmt || 0
+ : item?.OfferValue || 0}
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalRate && (
+
+ {item?.Rate}
+ |
+ )
+ : Rate && (
+
+ {item?.Rate}
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalAmount && (
+
+ {item?.TotalAmt}
+ |
+ )
+ : Amount && (
+
+ {item?.Type != 'C'
+ ? item?.TotalAmt - item?.OfferAmt || 0
+ : item?.TotalAmt - item?.OfferValue || 0}
+ |
+ )}
|
- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + | Taxable Amount | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + CGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) | - -- + | + SGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | +Total Amount |
| + | {Number(item.WithOutTaxAmount).toFixed(2)} | -- {Number(item.TaxAmt).toFixed(2)} + | + {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} | - -{Number(item.TotalAmt).toFixed(2)} |
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) | -{Number(item.TotalAmt).toFixed(2)} | ++ Total Amount + |
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
-
+ Notes : 10 days Return policy
+ {GlobaldummyData + ? GlobalIsnotes && ( ++ Notes : 10 days Return policy +
-{Notestext}
+{Notestext}
-+ Terms & Conditions +
+- Terms & Conditions -
-Signature
-+ Signature +
+| S.N | } - {Item &&Item | } - {Quantity &&Qty | } - {HsnCode &&HSN | } - {MRP &&MRP | } - {Discount &&Dis | } - {Rate &&Rate | } - {Amount &&Amt | } +||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + SL.NO + | + )} + {Item && ( ++ Item + | + )} + {Quantity && ( ++ Qty + | + )} + {HsnCode && ( ++ HSN + | + )} + {MRP && ( ++ MRP + | + )} + {Discount && ( ++ Dis{' '} + | + )} + {Rate && ( ++ Rate + | + )} + {Amount && ( ++ Amt + | + )}||||||||
| {index + 1} | } - {Item &&
- {item?.ProdName}
- ({item?.Size ? item?.Size : "1"} {item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"}){item?.BrandName !== null ? item?.BrandName : ""}
- {item?.ProductIdentifierDtls?.length > 0 ? (item?.ProductIdentifierDtls?.filter((items) => !(items.SerialNumber == "" || items.SerialNumber == null))
- ?.map(a => { return ( {a.SerialNumber} ) })) : ""} {item?.ProductIdentifierDtls?.length > 0 ? item?.ProductIdentifierDtls.filter((item1) => item1.IMEI1 !== "" || item1.IMEI2 !== "")
- ?.map((item2, idx) => {
- const imei1 = item2.IMEI1 || "";
- const imei2 = item2.IMEI2 || "";
- return ({[imei1, imei2].filter(Boolean).join(",")} );
+ {item?.SalesQty} | }
- {HsnCode && {item?.HSN} | }
- {MRP && {item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | }
- {Discount && {item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | }
- {Rate && {item?.Rate} | }
- {Amount && {item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | }
+ : {}),
+ }}
+ >
+ {SLNO && {index + 1} | }
+ {Item && (
+
+ |
+ )}
+ {Quantity && (
+ {item?.ProdName}
+
+ ({item?.Size ? item?.Size : '1'}{' '}
+ {item?.SinglePc == 'Y'
+ ? 'PCS'
+ : item?.Type != 'C'
+ ? item?.UomName
+ : 'COMBO'}
+ )
+ {item?.BrandName !== null
+ ? item?.BrandName
+ : ''}
+
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls?.filter(
+ (items) =>
+ !(
+ items.SerialNumber == '' ||
+ items.SerialNumber == null
+ )
+ )?.map((a) => {
+ return (
+
+
+ {a.SerialNumber}
+
+ );
+ })
+ : ''}{' '}
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls.filter(
+ (item1) =>
+ item1.IMEI1 !== '' ||
+ item1.IMEI2 !== ''
+ )?.map((item2, idx) => {
+ const imei1 = item2.IMEI1 || '';
+ const imei2 = item2.IMEI2 || '';
+ return (
+
+ {[imei1, imei2]
+ .filter(Boolean)
+ .join(',')}
+
+ );
+ })
+ : ''}
+
+ {item?.SalesQty}
+ |
+ )}
+ {HsnCode && (
+
+ {item?.HSN}
+ |
+ )}
+ {MRP && (
+
+ {item?.SinglePc === 'Y'
+ ? item?.Rate
+ : item?.MRP}
+ |
+ )}
+ {Discount && (
+
+ {item?.Type != 'C'
+ ? item?.OfferAmt || 0
+ : item?.OfferValue || 0}
+ |
+ )}
+ {Rate && (
+
+ {item?.Rate}
+ |
+ )}
+ {Amount && (
+
+ {item?.Type != 'C'
+ ? item?.TotalAmt - item?.OfferAmt || 0
+ : item?.TotalAmt - item?.OfferValue || 0}
+ |
+ )}
|
- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + CGST ( + {OrderDetailGST?.[0] + ?.TaxPercentage / 2} + %) + | ++ SGST ( + {OrderDetailGST?.[0] + ?.TaxPercentage / 2} + %) + | ++ Total Amount | - -{Number(item.TotalAmt).toFixed(2)} |
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + { + OrderDetailIGST?.[0] + ?.TaxPercentage + } + %) + | -+ | + Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | - Total Amount - -||
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | ++ {Number(item.TotalAmt).toFixed( + 2 + )} + | +
| + Taxable Amount + | ++ VAT ( + { + OrderDetailVAT?.[0] + ?.TaxPercentage + } + %) + | -{Number(item.TotalAmt).toFixed(2)} | -
{Notestext}
+ ++ Terms & Conditions +
++ Signature +
+{Notestext}
- -- Terms & Conditions -
-Signature
-- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + | Taxable Amount | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / + 2} + %) | - -- + | + SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / + 2} + %) + | +Total Amount |
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + {Number( + item.WithOutTaxAmount + ).toFixed(2)} | -- {Number(item.TaxAmt).toFixed(2)} + | + {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} | - -{Number(item.TotalAmt).toFixed(2)} |
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + IGST ( + { + OrderDetailIGST?.[0] + ?.TaxPercentage + } + %) | -{Number(item.TotalAmt).toFixed(2)} | ++ Total Amount + |
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage} + %) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
{Notestext}
+ {Notestext && ( +{Notestext}
+ Terms & Conditions +
+- Terms & Conditions -
-Signature
-+ Signature +
+| S.N | : SLNO &&S.N | } - {GlobaldummyData ? GlobalItem &&Item | : Item &&Item | } - {GlobaldummyData ? GlobalQuantity &&Qty | : Quantity &&Qty | } - {GlobaldummyData ? GlobalHsnCode &&HSN | : HsnCode &&HSN | } - {GlobaldummyData ? GlobalMRP &&MRP | : MRP &&MRP | } - {GlobaldummyData ? GlobalDiscount &&Dis | : Discount &&Dis | } - {GlobaldummyData ? GlobalRate &&Rate | : Rate &&Rate | } - {GlobaldummyData ? GlobalAmount &&Amt | : Amount &&Amt | } +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + SL.NO + | + ) + : SLNO && ( ++ SL.NO + | + )} + {GlobaldummyData + ? GlobalItem && ( ++ Item + | + ) + : Item && ( ++ Item + | + )} + {GlobaldummyData + ? GlobalQuantity && ( ++ Qty + | + ) + : Quantity && ( ++ Qty + | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ HSN + | + ) + : HsnCode && ( ++ HSN + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ MRP + | + ) + : MRP && ( ++ MRP + | + )} + {GlobaldummyData + ? GlobalDiscount && ( ++ Dis{' '} + | + ) + : Discount && ( ++ Dis{' '} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ Rate + | + ) + : Rate && ( ++ Rate + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ Amt + | + ) + : Amount && ( ++ Amt + | + )}
| {index + 1} | } - {Item &&
- {item?.ProdName}
- ({item?.Size ? item?.Size : "1"} {item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"}){item?.BrandName !== null ? item?.BrandName : ""}
- {item?.ProductIdentifierDtls?.length > 0 ? (item?.ProductIdentifierDtls?.filter((items) => !(items.SerialNumber == "" || items.SerialNumber == null))
- ?.map((a, idx) => { return ( {a.SerialNumber} ) })) : ""} {item?.ProductIdentifierDtls?.length > 0 ? item?.ProductIdentifierDtls.filter((item1) => item1.IMEI1 !== "" || item1.IMEI2 !== "")
- ?.map((item2, idx) => {
- const imei1 = item2.IMEI1 || "";
- const imei2 = item2.IMEI2 || "";
- return ({[imei1, imei2].filter(Boolean).join(",")} );
+ {item?.SalesQty} | }
- {HsnCode && {item?.HSN} | }
- {MRP && {item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | }
- {Discount && {item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | }
- {Rate && {item?.Rate} | }
- {Amount && {item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | }
+ : {}),
+ }}
+ >
+ {SLNO && {index + 1} | }
+ {Item && (
+
+ |
+ )}
+ {Quantity && (
+ {item?.ProdName}
+
+ ({item?.Size ? item?.Size : '1'}{' '}
+ {item?.SinglePc == 'Y'
+ ? 'PCS'
+ : item?.Type != 'C'
+ ? item?.UomName
+ : 'COMBO'}
+ )
+ {item?.BrandName !== null
+ ? item?.BrandName
+ : ''}
+
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls?.filter(
+ (items) =>
+ !(
+ items.SerialNumber == '' ||
+ items.SerialNumber == null
+ )
+ )?.map((a, idx) => {
+ return (
+
+
+ {a.SerialNumber}
+
+ );
+ })
+ : ''}{' '}
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls.filter(
+ (item1) =>
+ item1.IMEI1 !== '' || item1.IMEI2 !== ''
+ )?.map((item2, idx) => {
+ const imei1 = item2.IMEI1 || '';
+ const imei2 = item2.IMEI2 || '';
+ return (
+
+ {[imei1, imei2]
+ .filter(Boolean)
+ .join(',')}
+
+ );
+ })
+ : ''}
+
+ {item?.SalesQty}
+ |
+ )}
+ {HsnCode && (
+ {item?.HSN} |
+ )}
+ {MRP && (
+
+ {item?.SinglePc === 'Y' ? item?.Rate : item?.MRP}
+ |
+ )}
+ {Discount && (
+
+ {item?.Type != 'C'
+ ? item?.OfferAmt || 0
+ : item?.OfferValue || 0}
+ |
+ )}
+ {Rate && (
+ {item?.Rate} |
+ )}
+ {Amount && (
+
+ {item?.Type != 'C'
+ ? item?.TotalAmt - item?.OfferAmt || 0
+ : item?.TotalAmt - item?.OfferValue || 0}
+ |
+ )}
|
- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + | Taxable Amount | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) | - -- + | + SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | +Total Amount |
| + | {Number(item.WithOutTaxAmount).toFixed(2)} | -- {Number(item.TaxAmt).toFixed(2)} + | + {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} | - -{Number(item.TotalAmt).toFixed(2)} |
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) | -{Number(item.TotalAmt).toFixed(2)} | ++ Total Amount + |
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage} + %) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
{Notestext}
+ {Notestext && ( +{Notestext}
+ Terms & Conditions +
+- Terms & Conditions -
-Signature
-+ Signature +
++ {' '} + Cashier : Cashier Name +
+ )} + {CashierName && + CashierName !== undefined && + CashierName !== null && + !GlobaldummyData && ( +Cashier : Cashier Name
- - } - {CashierName && CashierName !== undefined && CashierName !== null && !GlobaldummyData && -| S.No | } - {Item &&Description | } - {Quantity &&Qty | } - {MRP &&MRP | } - {Rate &&Rate | } - {HsnCode &&HSN | } - {Discount &&(%) | } - {Amount &&Amt | } + {SLNO && ( +S.No | + )} + {Item && ( ++ Description + | + )} + {Quantity && ( ++ Qty + | + )} + {MRP && ( ++ MRP + | + )} + {Rate && ( ++ Rate + | + )} + {HsnCode && ( ++ HSN + | + )} + {Discount && ( ++ (%) + | + )} + {Amount && ( ++ Amt + | + )}||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {chunkIndex * chunkSize + index + 1} | } - {Item && -+ | ||||||||||||||||||||||||||||||
| {chunkIndex * chunkSize + index + 1} | + )} + {Item && ( +
{item?.ProdName}
- ({item?.Size ? item?.Size : "1"} {item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"}){item?.BrandName !== null ? item?.BrandName : ""}
- {item?.ProductIdentifierDtls?.length > 0 ? (item?.ProductIdentifierDtls?.filter((items) => !(items.SerialNumber == "" || items.SerialNumber == null))
- ?.map(a => { return (
- {a.SerialNumber} ) })) : ""} {item?.ProductIdentifierDtls?.length > 0 ? item?.ProductIdentifierDtls.filter((item1) => item1.IMEI1 !== "" || item1.IMEI2 !== "")
- ?.map((item2, idx) => {
- const imei1 = item2.IMEI1 || "";
- const imei2 = item2.IMEI2 || "";
- return ({[imei1, imei2].filter(Boolean).join(",")} );
- }
- ) : ""} | }
- {Quantity && {item?.SalesQty} | } - {MRP &&{item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | } - {Rate &&{item?.Rate} | } - {HsnCode &&{item?.HSN} | } - {Discount &&{item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | } - {Amount &&{item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | } ++ {item?.SalesQty} + | + )} + {MRP && ( ++ {item?.SinglePc === 'Y' + ? item?.Rate + : item?.MRP} + | + )} + {Rate && ( ++ {item?.Rate} + | + )} + {HsnCode && ( ++ {item?.HSN} + | + )} + {Discount && ( ++ {item?.Type != 'C' + ? item?.OfferAmt || 0 + : item?.OfferValue || 0} + | + )} + {Amount && ( ++ {item?.Type != 'C' + ? item?.TotalAmt - item?.OfferAmt || 0 + : item?.TotalAmt - item?.OfferValue || 0} + | + )}
| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / + 2} + %) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / + 2} + %) + | ++ Total Amount | - -{Number(item.TotalAmt).toFixed(2)} |
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + { + OrderDetailIGST?.[0] + ?.TaxPercentage + } + %) + | -+ | + Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | - Total Amount - -||
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage} + %) + | -{Number(item.TotalAmt).toFixed(2)} | -
{Notestext}
- -- Terms & Conditions -
-Signature
-{Notestext}
+ ++ Terms & Conditions +
++ Signature +
+- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + | Taxable Amount | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2} + %) | - -- + | + SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2} + %) + | +Total Amount |
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + {Number( + item.WithOutTaxAmount + ).toFixed(2)} | -- {Number(item.TaxAmt).toFixed(2)} + | + {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} | - -{Number(item.TotalAmt).toFixed(2)} |
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage} + %) | -{Number(item.TotalAmt).toFixed(2)} | ++ Total Amount + |
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
Notes : 10 days Return policy
+ {GlobaldummyData + ? GlobalIsnotes && ( ++ Notes : 10 days Return policy +
-{Notestext}
+{Notestext}
-- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-+ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+Cashier : Cashier Name
++ {' '} + Cashier : Cashier Name +
+ )} + {CashierName && + CashierName !== undefined && + CashierName !== null && + !GlobaldummyData && ( +{table2Data?.PaymentTypeName} Payment : {Number(table2Data?.NetAmount).toFixed(2)}/-
| S.No | : SLNO &&S.No | } - {GlobaldummyData ? GlobalItem &&Description | : Item &&Des | } - {GlobaldummyData ? GlobalQuantity &&Qty | : Quantity &&Qty | } - {GlobaldummyData ? GlobalMRP &&MRP | : MRP &&MRP | } - {GlobaldummyData ? GlobalRate &&Rate | : Rate &&Rate | } - {GlobaldummyData ? GlobalHsnCode &&HSN | : HsnCode &&HSN | } - {GlobaldummyData ? GlobalDiscount &&(%) | : Discount &&(%) | } - {GlobaldummyData ? GlobalAmount &&Amt | : Amount &&Amt | } + {GlobaldummyData + ? GlobalSlNo && ( +S.No | + ) + : SLNO &&S.No | } + {GlobaldummyData + ? GlobalItem && ( +Description | + ) + : Item &&Des | } + {GlobaldummyData + ? GlobalQuantity && ( ++ Qty + | + ) + : Quantity && ( ++ Qty + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ MRP + | + ) + : MRP && ( ++ MRP + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ Rate + | + ) + : Rate && ( ++ Rate + | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ HSN + | + ) + : HsnCode && ( ++ HSN + | + )} + {GlobaldummyData + ? GlobalDiscount && ( ++ (%) + | + ) + : Discount && ( ++ (%) + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ Amt + | + ) + : Amount && ( ++ Amt + | + )}
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | + : SLNO &&{index + 1} | } + {GlobaldummyData + ? GlobalItem &&{item?.ProdName} | + : Item && ( +
+ {item?.ProdName}
+
+ ({item?.Size ? item?.Size : '1'}{' '}
+ {item?.SinglePc == 'Y'
+ ? 'PCS'
+ : item?.Type != 'C'
+ ? item?.UomName
+ : 'COMBO'}
+ )
+ {item?.BrandName !== null
+ ? item?.BrandName
+ : ''}
+
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls?.filter(
+ (items) =>
+ !(
+ items.SerialNumber == '' ||
+ items.SerialNumber == null
+ )
+ )?.map((a) => {
+ return
+ {a.SerialNumber} ;
+ })
+ : ''}{' '}
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls.filter(
+ (item1) =>
+ item1.IMEI1 !== '' ||
+ item1.IMEI2 !== ''
+ )?.map((item2) => {
+ const imei1 = item2.IMEI1 || '';
+ const imei2 = item2.IMEI2 || '';
+ return (
+
+ {[imei1, imei2]
+ .filter(Boolean)
+ .join(',')}
+
+ );
+ })
+ : ''}
+ |
+ )}
-
- ||||||||||||||||||||||||||||
| {index + 1} | : SLNO &&{index + 1} | } - {GlobaldummyData ? GlobalItem &&{item?.ProdName} | : Item && -
- {item?.ProdName}
- ({item?.Size ? item?.Size : "1"} {item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"}){item?.BrandName !== null ? item?.BrandName : ""}
- {item?.ProductIdentifierDtls?.length > 0 ? (item?.ProductIdentifierDtls?.filter((items) => !(items.SerialNumber == "" || items.SerialNumber == null))
- ?.map(a => { return (
- {a.SerialNumber} ) })) : ""} {item?.ProductIdentifierDtls?.length > 0 ? item?.ProductIdentifierDtls.filter((item1) => item1.IMEI1 !== "" || item1.IMEI2 !== "")
- ?.map(item2 => {
- const imei1 = item2.IMEI1 || "";
- const imei2 = item2.IMEI2 || "";
- return ({[imei1, imei2].filter(Boolean).join(",")} );
- }
- ) : ""} | }
-
-
- {GlobaldummyData ? GlobalQuantity && {item?.SalesQty} | : Quantity &&{item?.SalesQty} | } - {GlobaldummyData ? GlobalMRP &&{item?.MRP} | : MRP &&{item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | } - {GlobaldummyData ? GlobalRate &&{item?.Rate} | : Rate &&{item?.Rate} | } - {GlobaldummyData ? GlobalHsnCode &&{item?.HSN} | : HsnCode &&{item?.HSN} | } - {GlobaldummyData ? GlobalDiscount &&{item?.discount} | : Discount &&{item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | } - {GlobaldummyData ? GlobalAmount &&{item?.TotalAmt} | : Amount &&{item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | } + {GlobaldummyData + ? GlobalQuantity && ( ++ {item?.SalesQty} + | + ) + : Quantity && ( ++ {item?.SalesQty} + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ {item?.MRP} + | + ) + : MRP && ( ++ {item?.SinglePc === 'Y' + ? item?.Rate + : item?.MRP} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ {item?.Rate} + | + ) + : Rate && ( ++ {item?.Rate} + | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ {item?.HSN} + | + ) + : HsnCode && ( ++ {item?.HSN} + | + )} + {GlobaldummyData + ? GlobalDiscount && ( ++ {item?.discount} + | + ) + : Discount && ( ++ {item?.Type != 'C' + ? item?.OfferAmt || 0 + : item?.OfferValue || 0} + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ {item?.TotalAmt} + | + ) + : Amount && ( ++ {item?.Type != 'C' + ? item?.TotalAmt - item?.OfferAmt || 0 + : item?.TotalAmt - item?.OfferValue || 0} + | + )}
{Notestext}
+ {Notestext && ( +{Notestext}
- Terms & Conditions -
-+ Terms & Conditions +
+Signature
-+ Signature +
+| S.No | } - {Item &&Item | } - {HsnCode &&HSN | } - {Quantity &&Qty | } - {MRP &&MRP | } - {Amount &&Amt | } - {Discount &&Dis | } - {Rate &&Rate | } -
|---|---|---|---|---|---|---|---|
| {chunkIndex * chunkSize + idx + 1} | } - {Item== true&&{item?.ProdName} | } - {HsnCode == true&&{item?.HSN} | } - {Quantity== true&&{item?.SalesQty} | } - {MRP== true &&{item?.MRP} | } - {Amount== true &&{item?.TotalAmt} | } - {Discount == true&&{item?.discount || 0} | } - {Rate== true&&{item?.Rate} | } -
{Notestext}
-- Terms & Conditions -
-- Signature -
-| + S.No + | + )} + {Item &&Item | } + {HsnCode && ( ++ HSN + | + )} + {Quantity && ( ++ Qty + | + )} + {MRP && ( ++ MRP + | + )} + {Amount && ( ++ Amt + | + )} + {Discount && ( ++ Dis{' '} + | + )} + {Rate && ( ++ Rate + | + )} +
|---|---|---|---|---|---|---|---|
| {chunkIndex * chunkSize + idx + 1} | + )} + {Item == true &&{item?.ProdName} | } + {HsnCode == true &&{item?.HSN} | } + {Quantity == true &&{item?.SalesQty} | } + {MRP == true &&{item?.MRP} | } + {Amount == true &&{item?.TotalAmt} | } + {Discount == true &&{item?.discount || 0} | } + {Rate == true &&{item?.Rate} | } +
{Notestext}
+| S.No | - : SLNO == true &&S.No | } - {GlobaldummyData - ? GlobalItem &&Item | - : Item == true &&Item | } - {GlobaldummyData - ? GlobalHsnCode &&HSN | - : HsnCode == true && ( -HSN | - )} - {GlobaldummyData - ? GlobalQuantity &&Qty | - : Quantity == true && ( -Qty | - )} - {GlobaldummyData - ? GlobalMRP &&MRP | - : MRP == true &&MRP | } - {GlobaldummyData - ? GlobalRate &&Rate | - : Rate == true &&Rate | } - {GlobaldummyData - ? GlobalAmount && ( -- Amt - | - ) - : Amount == true && ( -- Amt - | - )} -
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - {index + 1} - | - ) - : SLNO == true && ( -- {index + 1} - | - )} - {GlobaldummyData - ? GlobalItem &&{item?.ProdName} | - : Item == true && ( -
- {item?.ProdName}
-
- {item?.Size ? item?.Size : "1"}{" "}
- {item?.SinglePc == "Y"
- ? "PCS"
- : item?.Type != "C"
- ? item?.UomName
- : "COMBO"}
-
- |
- )}
- {GlobaldummyData
- ? GlobalHsnCode && (
- - {item?.HSN} - | - ) - : HsnCode == true && ( -- {item?.HSN} - | - )} - {GlobaldummyData - ? GlobalQuantity && ( -- {item?.SalesQty} - | - ) - : Quantity == true && ( -- {item?.SalesQty} - | - )} - {GlobaldummyData - ? GlobalMRP && ( -- {item?.MRP} - | - ) - : MRP == true && ( -- {item?.SinglePc === "Y" - ? item?.Rate - : item?.MRP} - | - )} - {GlobaldummyData - ? GlobalRate && ( -- {item?.Rate} - | - ) - : Rate == true && ( -- {item?.Rate} - | - )} - {GlobaldummyData - ? GlobalAmount && ( -- {item?.TotalAmt} - | - ) - : Amount == true && ( -- {item?.TotalAmt} - | - )} -
{Notestext}
-- Terms & Conditions -
-Signature
-+ Terms & Conditions +
++ Signature +
+| + S.No + | + ) + : SLNO == true && ( ++ S.No + | + )} + {GlobaldummyData + ? GlobalItem && ( +Item | + ) + : Item == true && ( +Item | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ HSN + | + ) + : HsnCode == true && ( ++ HSN + | + )} + {GlobaldummyData + ? GlobalQuantity && ( ++ Qty + | + ) + : Quantity == true && ( ++ Qty + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ MRP + | + ) + : MRP == true && ( ++ MRP + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ Rate + | + ) + : Rate == true && ( ++ Rate + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ Amt + | + ) + : Amount == true && ( ++ Amt + | + )} +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | + ) + : SLNO == true && ( +{index + 1} | + )} + {GlobaldummyData + ? GlobalItem &&{item?.ProdName} | + : Item == true && ( +
+ {item?.ProdName}
+
+ {item?.Size ? item?.Size : '1'}{' '}
+ {item?.SinglePc == 'Y'
+ ? 'PCS'
+ : item?.Type != 'C'
+ ? item?.UomName
+ : 'COMBO'}
+
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalHsnCode && (
+ {item?.HSN} | + ) + : HsnCode == true && ( +{item?.HSN} | + )} + {GlobaldummyData + ? GlobalQuantity && ( ++ {item?.SalesQty} + | + ) + : Quantity == true && ( ++ {item?.SalesQty} + | + )} + {GlobaldummyData + ? GlobalMRP && ( +{item?.MRP} | + ) + : MRP == true && ( ++ {item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} + | + )} + {GlobaldummyData + ? GlobalRate && ( +{item?.Rate} | + ) + : Rate == true && ( +{item?.Rate} | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ {item?.TotalAmt} + | + ) + : Amount == true && ( ++ {item?.TotalAmt} + | + )} +
{Notestext}
++ Terms & Conditions +
++ Signature +
+| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
Notes : 10 days Return policy
- -{Notestext}
- -- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
Notes : 10 days Return policy
- -{Notestext}
- -- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
{Notestext}
- -- Terms & Conditions -
-Signature
-| + Taxable Amount + | ++ CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
+ Notes : 10 days Return policy +
+ ++ {Notestext} +
+ ++ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+| + Taxable Amount + | ++ CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
+ Notes : 10 days Return policy +
+ ++ {Notestext} +
+ ++ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+| + Taxable Amount + | ++ CGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
{Notestext}
+ ++ Terms & Conditions +
++ Signature +
+| S.No | : SLNO &&S.No | } - {GlobaldummyData ? GlobalItem &&Item | : Item &&Item | } - {GlobaldummyData ? GlobalQuantity &&Qty | : Quantity &&Qty | } - {GlobaldummyData ? GlobalHsnCode &&HSN | : HsnCode &&HSN | } - {GlobaldummyData ? GlobalMRP &&MRP | : MRP &&MRP | } - {GlobaldummyData ? GlobalDiscount &&Dis | : Discount &&Dis | } - {GlobaldummyData ? GlobalRate &&Rate | : Rate &&Rate | } - {GlobaldummyData ? GlobalAmount &&Amt | : Amount &&Amt | } -
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | : SLNO &&{chunkIndex * chunkSize + index + 1} | } - {GlobaldummyData ? GlobalItem &&{item?.ProdName} | : Item &&
- {item?.ProdName}
-
- {(
- (item?.Size || "1") +
- (item?.SinglePc === "Y" ? " PCS" : item?.Type !== "C" ? ` ${item?.UomName}` : " COMBO") +
- (item?.BrandName ? ` ${item?.BrandName}` : "") +
- (
- item?.ProductIdentifierDtls?.length > 0
- ? item?.ProductIdentifierDtls
- .filter((items) => items.SerialNumber)
- .map((a, index) => ` ${a.SerialNumber}`).join("")
- : ""
- ) +
- (
- item?.ProductIdentifierDtls?.length > 0
- ? item?.ProductIdentifierDtls
- .filter((item1) => item1.IMEI1 || item1.IMEI2)
- .map((item2, index) => {
- const imei1 = item2.IMEI1 || "";
- const imei2 = item2.IMEI2 || "";
- return ` ${[imei1, imei2].filter(Boolean).join(",")}`;
- }).join("")
- : ""
- )
- ).trim()}
-
- | }
- {GlobaldummyData ? GlobalQuantity && {item?.SalesQty} | : Quantity &&{item?.SalesQty} | } - {GlobaldummyData ? GlobalHsnCode &&{item?.HSN} | : HsnCode &&{item?.HSN} | } - {GlobaldummyData ? GlobalMRP &&{item?.MRP} | : MRP &&{item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | } - {GlobaldummyData ? GlobalDiscount &&{item.discount} | : Discount &&{item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | } - {GlobaldummyData ? GlobalRate &&{item?.Rate} | : Rate &&{item?.Rate} | } - {GlobaldummyData ? GlobalAmount &&{item?.TotalAmt} | : Amount &&{item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | } -
| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
Notes : 10 days Return policy
- -{Notestext}
- -- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
Notes : 10 days Return policy
- -{Notestext}
- -- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-| + S.No + | + ) + : SLNO && ( ++ S.No + | + )} + {GlobaldummyData + ? GlobalItem && ( +Item | + ) + : Item && ( +Item | + )} + {GlobaldummyData + ? GlobalQuantity && ( ++ Qty + | + ) + : Quantity && ( ++ Qty + | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ HSN + | + ) + : HsnCode && ( ++ HSN + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ MRP + | + ) + : MRP && ( ++ MRP + | + )} + {GlobaldummyData + ? GlobalDiscount && ( ++ Dis{' '} + | + ) + : Discount && ( ++ Dis{' '} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ Rate + | + ) + : Rate && ( ++ Rate + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ Amt + | + ) + : Amount && ( ++ Amt + | + )} +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | + : SLNO && ( ++ {chunkIndex * chunkSize + index + 1} + | + )} + {GlobaldummyData + ? GlobalItem &&{item?.ProdName} | + : Item && ( +
+ {item?.ProdName}
+
+ {(
+ (item?.Size || '1') +
+ (item?.SinglePc === 'Y'
+ ? ' PCS'
+ : item?.Type !== 'C'
+ ? ` ${item?.UomName}`
+ : ' COMBO') +
+ (item?.BrandName
+ ? ` ${item?.BrandName}`
+ : '') +
+ (item?.ProductIdentifierDtls
+ ?.length > 0
+ ? item?.ProductIdentifierDtls.filter(
+ (items) => items.SerialNumber
+ )
+ .map(
+ (a, index) =>
+ ` ${a.SerialNumber}`
+ )
+ .join('')
+ : '') +
+ (item?.ProductIdentifierDtls
+ ?.length > 0
+ ? item?.ProductIdentifierDtls.filter(
+ (item1) =>
+ item1.IMEI1 || item1.IMEI2
+ )
+ .map((item2, index) => {
+ const imei1 =
+ item2.IMEI1 || '';
+ const imei2 =
+ item2.IMEI2 || '';
+ return ` ${[imei1, imei2].filter(Boolean).join(',')}`;
+ })
+ .join('')
+ : '')
+ ).trim()}
+
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalQuantity && (
+ + {item?.SalesQty} + | + ) + : Quantity && ( ++ {item?.SalesQty} + | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ {item?.HSN} + | + ) + : HsnCode && ( ++ {item?.HSN} + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ {item?.MRP} + | + ) + : MRP && ( ++ {item?.SinglePc === 'Y' + ? item?.Rate + : item?.MRP} + | + )} + {GlobaldummyData + ? GlobalDiscount && ( ++ {item.discount} + | + ) + : Discount && ( ++ {item?.Type != 'C' + ? item?.OfferAmt || 0 + : item?.OfferValue || 0} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ {item?.Rate} + | + ) + : Rate && ( ++ {item?.Rate} + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ {item?.TotalAmt} + | + ) + : Amount && ( ++ {' '} + {item?.Type != 'C' + ? item?.TotalAmt - item?.OfferAmt || 0 + : item?.TotalAmt - item?.OfferValue || + 0} + | + )} +
| + Taxable Amount + | ++ CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
+ Notes : 10 days Return policy +
+ ++ {Notestext} +
+ ++ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+| + Taxable Amount + | ++ CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage} + %) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
+ Notes : 10 days Return policy +
+ +{Notestext}
+ ++ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+| S.No | : SLNO &&S.No | } - {GlobaldummyData ? GlobalItem &&Item | : Item &&Item | } - {GlobaldummyData ? GlobalQuantity &&Qty | : Quantity &&Qty | } - {GlobaldummyData ? GlobalHsnCode &&HSN | : HsnCode &&HSN | } - {GlobaldummyData ? GlobalMRP &&MRP | : MRP &&MRP | } - {GlobaldummyData ? GlobalDiscount &&Dis | : Discount &&Dis | } - {GlobaldummyData ? GlobalRate &&Rate | : Rate &&Rate | } - {GlobaldummyData ? GlobalAmount &&Amt | : Amount &&Amt | } -
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | : SLNO &&{index + 1} | } - {GlobaldummyData ? GlobalItem &&{item?.ProdName} | : Item &&
- {item?.ProdName}
-
- {(
- (item?.Size || "1") +
- (item?.SinglePc === "Y" ? " PCS" : item?.Type !== "C" ? ` ${item?.UomName}` : " COMBO") +
- (item?.BrandName ? ` ${item?.BrandName}` : "") +
- (
- item?.ProductIdentifierDtls?.length > 0
- ? item?.ProductIdentifierDtls
- .filter((items) => items.SerialNumber)
- .map((a, index) => ` ${a.SerialNumber}`).join("")
- : ""
- ) +
- (
- item?.ProductIdentifierDtls?.length > 0
- ? item?.ProductIdentifierDtls
- .filter((item1) => item1.IMEI1 || item1.IMEI2)
- .map((item2, index) => {
- const imei1 = item2.IMEI1 || "";
- const imei2 = item2.IMEI2 || "";
- return ` ${[imei1, imei2].filter(Boolean).join(",")}`;
- }).join("")
- : ""
- )
- ).trim()}
-
- | }
- {GlobaldummyData ? GlobalQuantity && {item?.SalesQty} | : Quantity &&{item?.SalesQty} | } - {GlobaldummyData ? GlobalHsnCode &&{item?.HSN} | : HsnCode &&{item?.HSN} | } - {GlobaldummyData ? GlobalMRP &&{item?.MRP} | : MRP &&{item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | } - {GlobaldummyData ? GlobalDiscount &&{item.discount} | : Discount &&{item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | } - {GlobaldummyData ? GlobalRate &&{item?.Rate} | : Rate &&{item?.Rate} | } - {GlobaldummyData ? GlobalAmount &&{item?.TotalAmt} | : Amount &&{item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | } -
| S.No | : SLNO &&S.No | } - {GlobaldummyData ? GlobalItem &&Item | : Item &&Item | } - {GlobaldummyData ? GlobalQuantity &&Qty | : Quantity &&Qty | } - {GlobaldummyData ? GlobalHsnCode &&HSN | : HsnCode &&HSN | } - {GlobaldummyData ? GlobalMRP &&MRP | : MRP &&MRP | } - {GlobaldummyData ? GlobalDiscount &&Dis | : Discount &&Dis | } - {GlobaldummyData ? GlobalRate &&Rate | : Rate &&Rate | } - {GlobaldummyData ? GlobalAmount &&Amt | : Amount &&Amt | } -
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | : SLNO &&{index + 1} | } - {GlobaldummyData ? GlobalItem &&{item?.ProdName} | : Item &&
- {item?.ProdName}
- ({item?.Size ? item?.Size : "1"} {item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"})
- | }
- {GlobaldummyData ? GlobalQuantity && {item?.SalesQty} | : Quantity &&{item?.SalesQty} | } - {GlobaldummyData ? GlobalHsnCode &&{item?.HSN} | : HsnCode &&{item?.HSN} | } - {GlobaldummyData ? GlobalMRP &&{item?.MRP} | : MRP &&{item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | } - {GlobaldummyData ? GlobalDiscount &&{item.discount} | : Discount &&{item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | } - {GlobaldummyData ? GlobalRate &&{item?.Rate} | : Rate &&{item?.Rate} | } - {GlobaldummyData ? GlobalAmount &&{item?.TotalAmt} | : Amount &&{item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | } -
| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + S.No + | + ) + : SLNO && ( ++ S.No + | + )} + {GlobaldummyData + ? GlobalItem && ( +Item | + ) + : Item &&Item | } + {GlobaldummyData + ? GlobalQuantity && ( ++ Qty + | + ) + : Quantity && ( ++ Qty + | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ HSN + | + ) + : HsnCode && ( ++ HSN + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ MRP + | + ) + : MRP && ( ++ MRP + | + )} + {GlobaldummyData + ? GlobalDiscount && ( ++ Dis{' '} + | + ) + : Discount && ( ++ Dis{' '} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ Rate + | + ) + : Rate && ( ++ Rate + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ Amt + | + ) + : Amount && ( ++ Amt + | + )} +||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| + S.No + | + ) + : SLNO && ( ++ S.No + | + )} + {GlobaldummyData + ? GlobalItem && ( +Item | + ) + : Item &&Item | } + {GlobaldummyData + ? GlobalQuantity && ( ++ Qty + | + ) + : Quantity && ( ++ Qty + | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ HSN + | + ) + : HsnCode && ( ++ HSN + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ MRP + | + ) + : MRP && ( ++ MRP + | + )} + {GlobaldummyData + ? GlobalDiscount && ( ++ Dis{' '} + | + ) + : Discount && ( ++ Dis{' '} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ Rate + | + ) + : Rate && ( ++ Rate + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ Amt + | + ) + : Amount && ( ++ Amt + | + )} +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | + : SLNO &&{index + 1} | } + {GlobaldummyData + ? GlobalItem &&{item?.ProdName} | + : Item && ( +
+ {item?.ProdName}
+
+ ({item?.Size ? item?.Size : '1'}{' '}
+ {item?.SinglePc == 'Y'
+ ? 'PCS'
+ : item?.Type != 'C'
+ ? item?.UomName
+ : 'COMBO'}
+ )
+
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalQuantity && (
+ + {item?.SalesQty} + | + ) + : Quantity && ( ++ {item?.SalesQty} + | + )} + {GlobaldummyData + ? GlobalHsnCode && ( ++ {item?.HSN} + | + ) + : HsnCode && ( ++ {item?.HSN} + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ {item?.MRP} + | + ) + : MRP && ( ++ {item?.SinglePc === 'Y' + ? item?.Rate + : item?.MRP} + | + )} + {GlobaldummyData + ? GlobalDiscount && ( ++ {item.discount} + | + ) + : Discount && ( ++ {item?.Type != 'C' + ? item?.OfferAmt || 0 + : item?.OfferValue || 0} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ {item?.Rate} + | + ) + : Rate && ( ++ {item?.Rate} + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ {item?.TotalAmt} + | + ) + : Amount && ( ++ {' '} + {item?.Type != 'C' + ? item?.TotalAmt - item?.OfferAmt || 0 + : item?.TotalAmt - item?.OfferValue || 0} + | + )} +
| + Taxable Amount + | ++ CGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
- {GlobaldummyData ? GlobalIsnotes && - (
Notes : 10 days Return policy
+ Notes : 10 days Return policy + -{Notestext}
+{Notestext}
-- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-+ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount | - -{Number(item.TotalAmt).toFixed(2)} |
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) + | -+ | + Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | - Total Amount - -||
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage}%) + | -{Number(item.TotalAmt).toFixed(2)} | -
Notes : 10 days Return policy
- -{Notestext}
- -- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-+ Notes : 10 days Return policy +
++ {Notestext} +
++ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + | Taxable Amount | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) | - -- + | + SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | +Total Amount |
| + | {Number(item.WithOutTaxAmount).toFixed(2)} | -- {Number(item.TaxAmt).toFixed(2)} + | + {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} | - -{Number(item.TotalAmt).toFixed(2)} |
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) | -{Number(item.TotalAmt).toFixed(2)} | ++ Total Amount + |
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage} + %) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
Notes : 10 days Return policy
+ {GlobaldummyData + ? GlobalIsnotes && ( ++ Notes : 10 days Return policy +
-{Notestext}
+{Notestext}
-+ Terms & Conditions +
++ Terms & Conditions +
+- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-+ Signature +
++ Signature +
+| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + | Taxable Amount | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + CGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) | - -- + | + SGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | +Total Amount |
| + | {Number(item.WithOutTaxAmount).toFixed(2)} | -- {Number(item.TaxAmt).toFixed(2)} + | + {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} | - -{Number(item.TotalAmt).toFixed(2)} |
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) | -{Number(item.TotalAmt).toFixed(2)} | ++ Total Amount + |
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
Notes : 10 days Return policy
+ {GlobaldummyData + ? GlobalIsnotes && ( ++ Notes : 10 days Return policy +
-{Notestext}
+{Notestext}
-+ Terms & Conditions +
++ Terms & Conditions +
+- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-+ Signature +
++ Signature +
+| S.No | - : SLNO &&S.No | } + ? GlobalSlNo && ( ++ S.No + | + ) + : SLNO && ( ++ S.No + | + )} {GlobaldummyData ? ( - ( -- {GlobaldummyData - ? GlobalItem && "ITEM /DES/" - : "ITEM /DES/"}{" "} - {GlobaldummyData ? GlobalQuantity && "QTY" : "QTY"} - | - ) ++ {GlobaldummyData + ? GlobalItem && 'ITEM /DES/' + : 'ITEM /DES/'}{' '} + {GlobaldummyData ? GlobalQuantity && 'QTY' : 'QTY'} + | ) : ( -+ | {GlobaldummyData - ? GlobalItem && "ITEM /DES/" - : Item && "ITEM /DES/"}{" "} + ? GlobalItem && 'ITEM /DES/' + : Item && 'ITEM /DES/'}{' '} {GlobaldummyData - ? GlobalQuantity && "QTY" - : Quantity && "QTY"} + ? GlobalQuantity && 'QTY' + : Quantity && 'QTY'} | )} {GlobaldummyData ? GlobalHsnCode && ( -HSN | - ) ++ HSN + | + ) : HsnCode && ( -HSN | - )} ++ HSN + | + )} {GlobaldummyData ? GlobalMRP && ( -MRP | - ) ++ MRP + | + ) : MRP && ( -MRP | - )} ++ MRP + | + )} {GlobaldummyData ? GlobalDiscount && ( -- Dis{" "} - | - ) ++ Dis{' '} + | + ) : Discount && ( -- Dis{" "} - | - )} ++ Dis{' '} + | + )} {GlobaldummyData ? GlobalRate && ( -- Rate - | - ) ++ Rate + | + ) : Rate && ( -- Rate - | - )} ++ Rate + | + )} {GlobaldummyData ? GlobalAmount && ( -- AMt - | - ) ++ AMt + | + ) : Amount && ( -- Amt - | - )} ++ Amt + | + )}
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | - : SLNO &&{chunkIndex * chunkSize + index + 1} | } + : SLNO && ( ++ {chunkIndex * chunkSize + index + 1} + | + )} {GlobaldummyData ? ( (GlobalItem || GlobalQuantity) && (
- {(GlobaldummyData
- ? GlobalItem &&
+ {GlobaldummyData ? (
+ GlobalItem && (
+ <>
+ {item?.ProdName}
+ {item?.Size + item?.UomName}
+ >
+ )
+ ) : (
<>
{item?.ProdName}
- {item?.Size + item?.UomName}
- >
- :
- <>
- {item?.ProdName}
- {item?.Size + item?.UomName + "-" +
+
+ {item?.Size +
+ item?.UomName +
+ '-' +
GlobaldummyData
- ? GlobalQuantity && item?.SalesQty
- : item?.SalesQty}
+ ? GlobalQuantity && item?.SalesQty
+ : item?.SalesQty}
>
)}
-
|
)
) : (
{(GlobaldummyData ? GlobalItem && - item?.ProdName + `(${item?.Size + item?.UomName})` + item?.ProdName + + `(${item?.Size + item?.UomName})` : Item && - item?.ProdName + - `(${item?.Size ? item?.Size : "1"}${item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"})`) + - "-" + + item?.ProdName + + `(${item?.Size ? item?.Size : '1'}${item?.SinglePc == 'Y' ? 'PCS' : item?.Type != 'C' ? item?.UomName : 'COMBO'})`) + + '-' + (GlobaldummyData ? GlobalQuantity && item?.SalesQty : Quantity && item?.SalesQty)} @@ -281,89 +506,77 @@ const PurchaseOrdStyle6 = ({ )} {GlobaldummyData ? GlobalHsnCode && ( - | - {item?.HSN} - | - ) ++ {item?.HSN} + | + ) : HsnCode && ( -- {item?.HSN} - | - )} ++ {item?.HSN} + | + )} {GlobaldummyData ? GlobalMRP && ( -- {item?.MRP} - | - ) ++ {item?.MRP} + | + ) : MRP && ( -- {item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} - | - )} ++ {item?.SinglePc === 'Y' + ? item?.Rate + : item?.MRP} + | + )} {GlobaldummyData ? GlobalDiscount && ( -- {item.discount} - | - ) ++ {item.discount} + | + ) : Discount && ( -- {item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} - - | - )} ++ {item?.Type != 'C' + ? item?.OfferAmt || 0 + : item?.OfferValue || 0} + | + )} {GlobaldummyData ? GlobalRate && ( -- {item?.Rate} - | - ) ++ {item?.Rate} + | + ) : Rate && ( -- {item?.Rate} - | - )} ++ {item?.Rate} + | + )} {GlobaldummyData ? GlobalAmount && ( -- {item?.TotalAmt} - | - ) ++ {item?.TotalAmt} + | + ) : Amount && ( -- {item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} - - | - )} ++ {item?.Type != 'C' + ? item?.TotalAmt - item?.OfferAmt || 0 + : item?.TotalAmt - item?.OfferValue || 0} + | + )}
| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + | Taxable Amount | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) | - -- + | + SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | +Total Amount |
| + | {Number(item.WithOutTaxAmount).toFixed(2)} | -- {Number(item.TaxAmt).toFixed(2)} + | + {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} | - -{Number(item.TotalAmt).toFixed(2)} |
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage}%) | -{Number(item.TotalAmt).toFixed(2)} | ++ Total Amount + |
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage} + %) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed( + 2 + )} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
Notes : 10 days Return policy
+ {GlobaldummyData + ? GlobalIsnotes && ( ++ Notes : 10 days Return policy +
-{Notestext}
+{Notestext}
-+ Terms & Conditions +
++ Terms & Conditions +
+- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-+ Signature +
++ Signature +
+| S.No | - : SLNO &&S.No | } + ? GlobalSlNo && ( ++ S.No + | + ) + : SLNO && ( ++ S.No + | + )} {GlobaldummyData ? ( (GlobalItem || GlobalQuantity) && ( -+ | {GlobaldummyData - ? GlobalItem && "ITEM /DES/" - : "ITEM /DES/"}{" "} - {GlobaldummyData ? GlobalQuantity && "QTY" : "QTY"} + ? GlobalItem && 'ITEM /DES/' + : 'ITEM /DES/'}{' '} + {GlobaldummyData ? GlobalQuantity && 'QTY' : 'QTY'} | ) ) : ( -+ | {GlobaldummyData - ? GlobalItem && "ITEM /DES/" - : Item && "ITEM /DES/"}{" "} + ? GlobalItem && 'ITEM /DES/' + : Item && 'ITEM /DES/'}{' '} {GlobaldummyData - ? GlobalQuantity && "QTY" - : Quantity && "QTY"} + ? GlobalQuantity && 'QTY' + : Quantity && 'QTY'} | )} {GlobaldummyData ? GlobalHsnCode && ( -HSN | - ) ++ HSN + | + ) : HsnCode && ( -HSN | - )} ++ HSN + | + )} {GlobaldummyData ? GlobalMRP && ( -MRP | - ) ++ MRP + | + ) : MRP && ( -MRP | - )} ++ MRP + | + )} {GlobaldummyData ? GlobalDiscount && ( -- Dis{" "} - | - ) ++ Dis{' '} + | + ) : Discount && ( -- Dis{" "} - | - )} ++ Dis{' '} + | + )} {GlobaldummyData ? GlobalRate && ( -- Rate - | - ) ++ Rate + | + ) : Rate && ( -- Rate - | - )} ++ Rate + | + )} {GlobaldummyData ? GlobalAmount && ( -- AMt - | - ) ++ AMt + | + ) : Amount && ( -- Amt - | - )} ++ Amt + | + )}
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | - : SLNO &&{index + 1} | } + : SLNO && ( ++ {index + 1} + | + )} {GlobaldummyData ? ( (GlobalItem || GlobalQuantity) && (
- {(GlobaldummyData
- ? GlobalItem &&
+ {GlobaldummyData ? (
+ GlobalItem && (
+ <>
+ {item?.ProdName}
+ {item?.Size + item?.UomName}
+ >
+ )
+ ) : (
<>
{item?.ProdName}
- {item?.Size + item?.UomName}
- >
- :
- <>
- {item?.ProdName}
- {item?.Size + item?.UomName + "-" +
+
+ {item?.Size +
+ item?.UomName +
+ '-' +
GlobaldummyData
- ? GlobalQuantity && item?.SalesQty
- : item?.SalesQty}
+ ? GlobalQuantity && item?.SalesQty
+ : item?.SalesQty}
>
)}
-
|
)
) : (
{(GlobaldummyData ? GlobalItem && - item?.ProdName + `(${item?.Size + item?.UomName})` + item?.ProdName + + `(${item?.Size + item?.UomName})` : Item && - item?.ProdName + - `(${item?.Size ? item?.Size : "1"}${item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"})`) + - "-" + + item?.ProdName + + `(${item?.Size ? item?.Size : '1'}${item?.SinglePc == 'Y' ? 'PCS' : item?.Type != 'C' ? item?.UomName : 'COMBO'})`) + + '-' + (GlobaldummyData ? GlobalQuantity && item?.SalesQty : Quantity && item?.SalesQty)} @@ -888,89 +1589,77 @@ const PurchaseOrdStyle6 = ({ )} {GlobaldummyData ? GlobalHsnCode && ( - | - {item?.HSN} - | - ) ++ {item?.HSN} + | + ) : HsnCode && ( -- {item?.HSN} - | - )} ++ {item?.HSN} + | + )} {GlobaldummyData ? GlobalMRP && ( -- {item?.MRP} - | - ) ++ {item?.MRP} + | + ) : MRP && ( -- {item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} - | - )} ++ {item?.SinglePc === 'Y' + ? item?.Rate + : item?.MRP} + | + )} {GlobaldummyData ? GlobalDiscount && ( -- {item.discount} - | - ) ++ {item.discount} + | + ) : Discount && ( -- {item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} - - | - )} ++ {item?.Type != 'C' + ? item?.OfferAmt || 0 + : item?.OfferValue || 0} + | + )} {GlobaldummyData ? GlobalRate && ( -- {item?.Rate} - | - ) ++ {item?.Rate} + | + ) : Rate && ( -- {item?.Rate} - | - )} ++ {item?.Rate} + | + )} {GlobaldummyData ? GlobalAmount && ( -- {item?.TotalAmt} - | - ) ++ {item?.TotalAmt} + | + ) : Amount && ( -- {item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} - - | - )} ++ {item?.Type != 'C' + ? item?.TotalAmt - item?.OfferAmt || 0 + : item?.TotalAmt - item?.OfferValue || 0} + | + )}
- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| + | Taxable Amount | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + CGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) | - -- + | + SGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | +Total Amount |
| + | {Number(item.WithOutTaxAmount).toFixed(2)} | -- {Number(item.TaxAmt).toFixed(2)} + | + {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} | - -{Number(item.TotalAmt).toFixed(2)} |
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} + | + Taxable Amount | -- {Number(item.TaxAmt).toFixed(2)} + | + IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) | -{Number(item.TotalAmt).toFixed(2)} | ++ Total Amount + |
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
Notes : 10 days Return policy
+ {GlobaldummyData + ? GlobalIsnotes && ( ++ Notes : 10 days Return policy +
-{Notestext}
+{Notestext}
-+ Terms & Conditions +
++ Terms & Conditions +
+- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-+ Signature +
++ Signature +
+| S | : SLNO == true &&S | } - {GlobaldummyData ? GlobalItem &&Item | : Item == true &&Item | } - {GlobaldummyData ? GlobalHsnCode &&HSN | : HsnCode == true &&HSN | } - {GlobaldummyData ? GlobalQuantity &&Qty | : Quantity == true &&Qty | } - {GlobaldummyData ? GlobalMRP &&MRP | : MRP == true &&MRP | } - {GlobaldummyData ? GlobalRate &&Rate | : Rate == true &&Rate | } - {GlobaldummyData ? GlobalDiscount &&Dis | : Discount == true &&Dis | } - {GlobaldummyData ? GlobalAmount &&Amt | : Amount == true &&Amt | } -
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | : SLNO == true &&{chunkIndex * chunkSize + index + 1} | } - {GlobaldummyData ? GlobalItem && -{item?.ProdName} | : Item == true &&
- {item?.ProdName}
- ({item?.Size ? item?.Size : "1"} {item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"})
- | }
- {GlobaldummyData ? GlobalHsnCode && {item?.HSN} | : HsnCode == true &&{item?.HSN} | } - {GlobaldummyData ? GlobalQuantity &&{item?.SalesQty} | : Quantity == true &&{item?.SalesQty} | } - {GlobaldummyData ? GlobalMRP &&{item?.MRP} | : MRP == true &&{item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | } - {GlobaldummyData ? GlobalRate &&{item?.Rate} | : Rate == true &&{item?.Rate} | } - {GlobaldummyData ? GlobalDiscount &&{item.discount} | : Discount == true &&{item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | } - {GlobaldummyData ? GlobalAmount &&{item?.TotalAmt} | : Amount == true &&{item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | } -
| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
Notes : 10 days Return policy
- -{Notestext}
- -- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
Notes : 10 days Return policy
- -{Notestext}
- -- Terms & Conditions -
-- Terms & Conditions -
-Signature
-Signature
-| S.N | : SLNO == true &&S | } - {GlobaldummyData ? GlobalItem &&Item | : Item == true &&Item | } - {GlobaldummyData ? GlobalHsnCode &&HSN | : HsnCode == true &&HSN | } - {GlobaldummyData ? GlobalQuantity &&Qty | : Quantity == true &&Qty | } - {GlobaldummyData ? GlobalMRP &&MRP | : MRP == true &&MRP | } - {GlobaldummyData ? GlobalRate &&Rate | : Rate == true &&Rate | } - {GlobaldummyData ? GlobalDiscount &&Dis | : Discount == true &&Dis | } - {GlobaldummyData ? GlobalAmount &&Amt | : Amount == true &&Amt | } -
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {index + 1} | : SLNO == true &&{index + 1} | } - {GlobaldummyData ? GlobalItem && -{item?.ProdName} | : Item == true &&
- {item?.ProdName}
- ({item?.Size ? item?.Size : "1"} {item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"})
- | }
- {GlobaldummyData ? GlobalHsnCode && {item?.HSN} | : HsnCode == true &&{item?.HSN} | } - {GlobaldummyData ? GlobalQuantity &&{item?.SalesQty} | : Quantity == true &&{item?.SalesQty} | } - {GlobaldummyData ? GlobalMRP &&{item?.MRP} | : MRP == true &&{item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | } - {GlobaldummyData ? GlobalRate &&{item?.Rate} | : Rate == true &&{item?.Rate} | } - {GlobaldummyData ? GlobalDiscount &&{item.discount} | : Discount == true &&{item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | } - {GlobaldummyData ? GlobalAmount &&{item?.TotalAmt} | : Amount == true &&{item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | } -
| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
Notes : 10 days Return policy
+ {' '} + Estimate{' '} +{Notestext}
+- Terms & Conditions -
-- Terms & Conditions -
-| S.No | + ) + : SLNO == true && ( +S.No | + )} + {GlobaldummyData + ? GlobalItem &&Item | + : Item == true &&Item | } + {GlobaldummyData + ? GlobalHsnCode && ( +HSN | + ) + : HsnCode == true && ( +HSN | + )} + {GlobaldummyData + ? GlobalQuantity && ( +Qty | + ) + : Quantity == true && ( +Qty | + )} + {GlobaldummyData + ? GlobalMRP && ( +MRP | + ) + : MRP == true && ( +MRP | + )} + {GlobaldummyData + ? GlobalRate && ( +Rate | + ) + : Rate == true && ( +Rate | + )} + {GlobaldummyData + ? GlobalDiscount && ( +Dis | + ) + : Discount == true && ( +Dis | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ Amt + | + ) + : Amount == true && ( ++ Amt + | + )} +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + {index + 1} + | + ) + : SLNO == true && ( ++ {chunkIndex * chunkSize + index + 1} + | + )} + {GlobaldummyData + ? GlobalItem &&{item?.ProdName} | + : Item == true && ( +
+ {item?.ProdName}
+
+ ({item?.Size ? item?.Size : '1'}{' '}
+ {item?.SinglePc == 'Y'
+ ? 'PCS'
+ : item?.Type != 'C'
+ ? item?.UomName
+ : 'COMBO'}
+ )
+
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalHsnCode && (
+ + {item?.HSN} + | + ) + : HsnCode == true && ( ++ {item?.HSN} + | + )} + {GlobaldummyData + ? GlobalQuantity && ( ++ {item?.SalesQty} + | + ) + : Quantity == true && ( ++ {item?.SalesQty} + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ {item?.MRP} + | + ) + : MRP == true && ( ++ {item?.SinglePc === 'Y' + ? item?.Rate + : item?.MRP} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ {item?.Rate} + | + ) + : Rate == true && ( ++ {item?.Rate} + | + )} + {GlobaldummyData + ? GlobalDiscount &&{item.discount} | + : Discount == true && ( ++ {item?.Type != 'C' + ? item?.OfferAmt || 0 + : item?.OfferValue || 0} + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ {item?.TotalAmt} + | + ) + : Amount == true && ( ++ {item?.Type != 'C' + ? item?.TotalAmt - item?.OfferAmt || 0 + : item?.TotalAmt - item?.OfferValue || + 0} + | + )} +
Signature
-Signature
-| + Taxable Amount + | ++ CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / + 2} + %) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / + 2} + %) + | ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + { + OrderDetailIGST?.[0] + ?.TaxPercentage + } + %) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage} + %) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
+ Notes : 10 days Return policy +
+ ++ {Notestext} +
+ ++ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+| + Taxable Amount + | ++ CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2} + %) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / 2} + %) + | ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ( + {OrderDetailIGST?.[0]?.TaxPercentage} + %) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
+ Notes : 10 days Return policy +
+ +{Notestext}
+ ++ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+| S.No | + : SLNO == true && ( +S.No | + )} + {GlobaldummyData + ? GlobalItem && ( ++ Item + | + ) + : Item == true &&Item | } + {GlobaldummyData + ? GlobalHsnCode &&HSN | + : HsnCode == true && ( +HSN | + )} + {GlobaldummyData + ? GlobalQuantity &&Qty | + : Quantity == true && ( +Qty | + )} + {GlobaldummyData + ? GlobalMRP &&MRP | + : MRP == true && ( +MRP | + )} + {GlobaldummyData + ? GlobalRate &&Rate | + : Rate == true && ( +Rate | + )} + {GlobaldummyData + ? GlobalDiscount &&Dis | + : Discount == true && ( +Dis | + )} + {GlobaldummyData + ? GlobalAmount && ( +Amt | + ) + : Amount == true && ( ++ Amt + | + )} +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + {index + 1} + | + ) + : SLNO == true && ( ++ {index + 1} + | + )} + {GlobaldummyData + ? GlobalItem &&{item?.ProdName} | + : Item == true && ( +
+ {item?.ProdName}
+
+ ({item?.Size ? item?.Size : '1'}{' '}
+ {item?.SinglePc == 'Y'
+ ? 'PCS'
+ : item?.Type != 'C'
+ ? item?.UomName
+ : 'COMBO'}
+ )
+
+ |
+ )}
+ {GlobaldummyData
+ ? GlobalHsnCode && (
+ + {item?.HSN} + | + ) + : HsnCode == true && ( ++ {item?.HSN} + | + )} + {GlobaldummyData + ? GlobalQuantity && ( ++ {item?.SalesQty} + | + ) + : Quantity == true && ( ++ {item?.SalesQty} + | + )} + {GlobaldummyData + ? GlobalMRP && ( ++ {item?.MRP} + | + ) + : MRP == true && ( ++ {item?.SinglePc === 'Y' + ? item?.Rate + : item?.MRP} + | + )} + {GlobaldummyData + ? GlobalRate && ( ++ {item?.Rate} + | + ) + : Rate == true && ( ++ {item?.Rate} + | + )} + {GlobaldummyData + ? GlobalDiscount &&{item.discount} | + : Discount == true && ( ++ {item?.Type != 'C' + ? item?.OfferAmt || 0 + : item?.OfferValue || 0} + | + )} + {GlobaldummyData + ? GlobalAmount && ( ++ {item?.TotalAmt} + | + ) + : Amount == true && ( ++ {item?.Type != 'C' + ? item?.TotalAmt - item?.OfferAmt || 0 + : item?.TotalAmt - item?.OfferValue || 0} + | + )} +
| + Taxable Amount + | ++ CGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
+ Notes : 10 days Return policy +
+ +{Notestext}
+ ++ Terms & Conditions +
++ Terms & Conditions +
++ Signature +
++ Signature +
+| + S.No + | + )} + {Item && ( +Dis | + )} + {HsnCode && ( ++ HSN + | + )} + {MRP && ( ++ MRP + | + )} + {Rate && ( ++ Rate + | + )} + {Discount && ( ++ (%) + | + )} + {Quantity && ( ++ Qty + | + )} + {Amount && ( ++ Amt + | + )} +
|---|---|---|---|---|---|---|---|
| + {chunkIndex * chunkSize + index + 1} + | + )} + {Item &&{item?.ProdName} | } + {HsnCode &&{item?.HSN} | } + {MRP && ( ++ {item?.MRP} + | + )} + {Rate && ( ++ {item?.Rate} + | + )} + {Discount && ( ++ {item?.discount} + | + )} + {Quantity && ( ++ {item?.SalesQty} + | + )} + {Amount && ( ++ {item?.TotalAmt} + | + )} +
+ --------- GST Breakup Details ----------- +
+ {OrderDetailGST?.length > 0 && + OrderDetailGST?.[0]?.TaxAmt > 0 && ( +| + Taxable Amount + | ++ CGST ( + {OrderDetailGST?.[0]?.TaxPercentage / + 2} + %) + | ++ SGST ( + {OrderDetailGST?.[0]?.TaxPercentage / + 2} + %) + | ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
| S.No | } - {Item &&Dis | } - {HsnCode &&HSN | } - {MRP &&MRP | } - {Rate &&Rate | } - {Discount &&(%) | } - {Quantity &&Qty | } - {Amount &&Amt | } -
|---|---|---|---|---|---|---|---|
| {chunkIndex * chunkSize + index + 1} | } - {Item &&{item?.ProdName} | } - {HsnCode &&{item?.HSN} | } - {MRP &&{item?.MRP} | } - {Rate &&{item?.Rate} | } - {Discount &&{item?.discount} | } - {Quantity &&{item?.SalesQty} | } - {Amount &&{item?.TotalAmt} | } -
| + Taxable Amount + | ++ IGST ( + { + OrderDetailIGST?.[0] + ?.TaxPercentage + } + %) + | + ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ( + {OrderDetailVAT?.[0]?.TaxPercentage} + %) + | - {((chunkIndex === paginatedChunks.length - 1) && (!shouldFooterBeOnNewPage)) && FormatTheme && ++ Total Amount + | +
| + {Number( + item.WithOutTaxAmount + ).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | - <> -+ {Number(item.TotalAmt).toFixed(2)} + | +
Split Payment:
*/} + {/* {Object.keys(aggregatedPayments).map((paymentType) => ( */} + {/*- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
Split Payment:
*/} - {/* {Object.keys(aggregatedPayments).map((paymentType) => ( */} - {/*{Notestext}
- -- Terms & Conditions -
-Signature
-| S.No | } - {Item &&Dis | } - {HsnCode &&HSN | } - {MRP &&MRP | } - {Rate &&Rate | } - {Discount &&(%) | } - {Quantity &&Qty | } - {Amount &&Amt | } -
|---|---|---|---|---|---|---|---|
| {index + 1} | } - {Item &&{item?.ProdName} | } - {HsnCode &&{item?.HSN} | } - {MRP &&{item?.MRP} | } - {Rate &&{item?.Rate} | } - {Discount &&{item?.discount} | } - {Quantity &&{item?.SalesQty} | } - {Amount &&{item?.TotalAmt} | } -
{Notestext}
+ ++ Terms & Conditions +
++ Signature +
+- --------- GST Breakup Details -----------
- {(OrderDetailGST?.length > 0 && OrderDetailGST?.[0]?.TaxAmt > 0) && -| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.TaxAmt).toFixed(2)} - | - -{Number(item.TotalAmt).toFixed(2)} | -
| + S.No + | + )} + {Item &&Dis | } + {HsnCode && ( ++ HSN + | + )} + {MRP && ( ++ MRP + | + )} + {Rate && ( ++ Rate + | + )} + {Discount && ( ++ (%) + | + )} + {Quantity && ( ++ Qty + | + )} + {Amount && ( ++ Amt + | + )} +
|---|---|---|---|---|---|---|---|
| {index + 1} | + )} + {Item &&{item?.ProdName} | } + {HsnCode &&{item?.HSN} | } + {MRP && ( +{item?.MRP} | + )} + {Rate && ( +{item?.Rate} | + )} + {Discount && ( ++ {item?.discount} + | + )} + {Quantity && ( ++ {item?.SalesQty} + | + )} + {Amount && ( ++ {item?.TotalAmt} + | + )} +
+ --------- GST Breakup Details ----------- +
+ {OrderDetailGST?.length > 0 && + OrderDetailGST?.[0]?.TaxAmt > 0 && ( +| + Taxable Amount + | ++ CGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ SGST ({OrderDetailGST?.[0]?.TaxPercentage / 2}%) + | ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.CGST).toFixed(2)} + | ++ {Number(item.SGST).toFixed(2)} + | ++ {Number(item.TotalAmt).toFixed(2)} + | +
Split Payment:
*/} - {/* {Object.keys(aggregatedPayments).map((paymentType) => ( */} - {/*| + Taxable Amount + | ++ IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) + | - {/*+ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | - {/* {CashierName && CashierName !== undefined && CashierName !== null && ++ {Number(item.TotalAmt).toFixed(2)} + | +
| + Taxable Amount + | ++ VAT ({OrderDetailVAT?.[0]?.TaxPercentage}%) + | + ++ Total Amount + | +
| + {Number(item.WithOutTaxAmount).toFixed(2)} + | ++ {Number(item.TaxAmt).toFixed(2)} + | + ++ {Number(item.TotalAmt).toFixed(2)} + | +
Split Payment:
*/} + {/* {Object.keys(aggregatedPayments).map((paymentType) => ( */} + {/*{Notestext}
+{Notestext}
- -- Terms & Conditions -
-Signature
-+ Terms & Conditions +
++ Signature +
+| S.No | } - {Item &&Item | } - {Quantity &&Qty | } - {HsnCode &&HSN | } - {MRP &&MRP | } - {Discount &&Dis | } - {Rate &&Rate | } - {Amount &&Amt | } +||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + S.No + | + )} + {Item && ( ++ Item + | + )} + {Quantity && ( ++ Qty + | + )} + {HsnCode && ( ++ HSN + | + )} + {MRP && ( ++ MRP + | + )} + {Discount && ( ++ Dis{' '} + | + )} + {Rate && ( ++ Rate + | + )} + {Amount && ( ++ Amt + | + )}||||||||
| {chunkIndex * chunkSize + index + 1} | } - {Item &&
- {item?.ProdName}
- ({item?.Size ? item?.Size : "1"} {item?.SinglePc == 'Y' ? 'PCS' : item?.Type != "C" ? item?.UomName : "COMBO"}){item?.BrandName !== null ? item?.BrandName : ""}
- {item?.ProductIdentifierDtls?.length > 0 ? (item?.ProductIdentifierDtls?.filter((items) => !(items.SerialNumber == "" || items.SerialNumber == null))
- ?.map(a => { return ( {a.SerialNumber} ) })) : ""} {item?.ProductIdentifierDtls?.length > 0 ? item?.ProductIdentifierDtls.filter((item1) => item1.IMEI1 !== "" || item1.IMEI2 !== "")
- ?.map((item2, idx) => {
- const imei1 = item2.IMEI1 || "";
- const imei2 = item2.IMEI2 || "";
- return ({[imei1, imei2].filter(Boolean).join(",")} );
+ {item?.SalesQty} | }
- {HsnCode && {item?.HSN} | }
- {MRP && {item?.SinglePc === 'Y' ? item?.Rate : item?.MRP} | }
- {Discount && {item?.Type != "C" ? item?.OfferAmt || 0 : item?.OfferValue || 0} | }
- {Rate && {item?.Rate} | }
- {Amount && {item?.Type != "C" ? item?.TotalAmt - item?.OfferAmt || 0 : item?.TotalAmt - item?.OfferValue || 0} | }
+ : {}),
+ }}
+ >
+ {SLNO && (
+ {chunkIndex * chunkSize + index + 1} |
+ )}
+ {Item && (
+
+ |
+ )}
+ {Quantity && (
+ {item?.ProdName}
+
+ ({item?.Size ? item?.Size : '1'}{' '}
+ {item?.SinglePc == 'Y'
+ ? 'PCS'
+ : item?.Type != 'C'
+ ? item?.UomName
+ : 'COMBO'}
+ )
+ {item?.BrandName !== null
+ ? item?.BrandName
+ : ''}
+
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls?.filter(
+ (items) =>
+ !(
+ items.SerialNumber == '' ||
+ items.SerialNumber == null
+ )
+ )?.map((a) => {
+ return (
+
+
+ {a.SerialNumber}
+
+ );
+ })
+ : ''}{' '}
+ {item?.ProductIdentifierDtls?.length > 0
+ ? item?.ProductIdentifierDtls.filter(
+ (item1) =>
+ item1.IMEI1 !== '' || item1.IMEI2 !== ''
+ )?.map((item2, idx) => {
+ const imei1 = item2.IMEI1 || '';
+ const imei2 = item2.IMEI2 || '';
+ return (
+
+ {[imei1, imei2]
+ .filter(Boolean)
+ .join(',')}
+
+ );
+ })
+ : ''}
+
+ {item?.SalesQty}
+ |
+ )}
+ {HsnCode && (
+ {item?.HSN} |
+ )}
+ {MRP && (
+
+ {item?.SinglePc === 'Y' ? item?.Rate : item?.MRP}
+ |
+ )}
+ {Discount && (
+
+ {item?.Type != 'C'
+ ? item?.OfferAmt || 0
+ : item?.OfferValue || 0}
+ |
+ )}
+ {Rate && (
+ {item?.Rate} |
+ )}
+ {Amount && (
+
+ {item?.Type != 'C'
+ ? item?.TotalAmt - item?.OfferAmt || 0
+ : item?.TotalAmt - item?.OfferValue || 0}
+ |
+ )}
|
| - Taxable Amount - | -- CGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- SGST ({(OrderDetailGST?.[0]?.TaxPercentage) / 2}%) - | -- - Total Amount - | -
| - {Number(item.WithOutTaxAmount).toFixed(2)} - | -- {Number(item.CGST).toFixed(2)} - | -- {Number(item.SGST).toFixed(2)} - | -{Number(item.TotalAmt).toFixed(2)} | -
| - Taxable Amount - | -- IGST ({OrderDetailIGST?.[0]?.TaxPercentage}%) - | - -- - Total Amount - | -
|
- {Number(item.WithOutTaxAmount).toFixed(2)}
+
+
+ --------- GST Breakup Details -----------
+
+ {OrderDetailGST?.length > 0 &&
+ OrderDetailGST?.[0]?.TaxAmt > 0 && (
+ |