{orderCardDetail?.length || 0}
-- {orderCardDetail?.reduce((acc, item) => { - const isWeightScale = item?.ScaleType === 'weight'; - - if (isWeightScale) { - return ( - acc + - (Weightasquantity - ? Math.round(Number(item?.OrderQty || 0)) - : 1) - ); - } - - return acc + Math.round(Number(item?.OrderQty || 0)); - }, 0)} -
-- βΉ - {orderCardDetail?.reduce( - (acc, data) => parseFloat(data?.TotalAmt || 0) + acc, - 0 - )} -
-{safeRound(TotalTaxAmount)}
-{safeRound(extra)}
-- -βΉ - {(OverAllSales > 0 ? OverAllSales : 0) + - (OverAllEstimate > 0 ? OverAllEstimate : 0) + - (Discount > 0 ? Discount : 0)} -
-- βΉ - {safeRound( - credit && overAllBal >= 0 - ? Math.max(0, TotalAmount - overAllBal) - : TotalAmount - )} -
-{orderCardDetail?.length || 0}
+ {orderCardDetail?.reduce((acc, item) => { + const isWeightScale = item?.ScaleType === 'weight'; + + if (isWeightScale) { + return ( + acc + + (Weightasquantity + ? Math.round(Number(item?.OrderQty || 0)) + : 1) + ); + } + + return acc + Math.round(Number(item?.OrderQty || 0)); + }, 0)} +
++ βΉ + {orderCardDetail?.reduce( + (acc, data) => parseFloat(data?.TotalAmt || 0) + acc, + 0 + )} +
+{safeRound(TotalTaxAmount)}
+{safeRound(extra)}
++ -βΉ + {(OverAllSales > 0 ? OverAllSales : 0) + + (OverAllEstimate > 0 ? OverAllEstimate : 0) + + (Discount > 0 ? Discount : 0)} +
++ βΉ + {safeRound( + credit && overAllBal >= 0 + ? Math.max(0, TotalAmount - overAllBal) + : TotalAmount + )} +
+- Refund: βΉ - {(previousNetAmount || 0) - (currentOrderNetAmount || 0)} -
- ) : ( - <> -- {isMobile ? ( - `βΉ ${safeRound( - OrderType === 'Failed' - ? FailedTotalAmt - : credit && overAllBal >= 0 - ? Math.max(0, TotalAmount - overAllBal) - : TotalAmount - )}` - ) : ( -
+ Refund: βΉ + {(previousNetAmount || 0) - (currentOrderNetAmount || 0)} +
+ ) : ( <> -Total Amount:{TotalAmount}
- - <>{calculateField()}> - {TotalAmount > TotalSplitAmount && - SplitSelPayMode[`PaymentStatus-${count}`] === 'S' && ( -Total Amount:{TotalAmount}
-