shareneus 1.6.26 → 1.6.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -525,6 +525,15 @@ function ComputeDocumentTotals(input) {
|
|
|
525
525
|
roundedTotal = RoundAmount(grandTotal, { Method: Rounding.Method, Precision: Rounding.Precision });
|
|
526
526
|
roundAdj = (0, math_operations_1.Subtract)(roundedTotal, grandTotal);
|
|
527
527
|
}
|
|
528
|
+
console.log("Computed Document Totals:", {
|
|
529
|
+
SubTotal: subTotal,
|
|
530
|
+
Discount: discount,
|
|
531
|
+
TaxableAmount: taxableAmount,
|
|
532
|
+
TaxTotal: taxTotal,
|
|
533
|
+
GrandTotal: grandTotal,
|
|
534
|
+
Round: roundAdj,
|
|
535
|
+
Total: roundedTotal,
|
|
536
|
+
});
|
|
528
537
|
return {
|
|
529
538
|
SubTotal: subTotal,
|
|
530
539
|
Discount: discount,
|