shareneus 1.5.20 → 1.5.21
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.
|
@@ -160,6 +160,7 @@ function SalesTotalCalculations(items = [], ops = [], isTaxable = false, taxCode
|
|
|
160
160
|
returnSubtotal,
|
|
161
161
|
returnTax,
|
|
162
162
|
returnTotal,
|
|
163
|
+
returnTotalDiscount,
|
|
163
164
|
nonReturnSubTotal,
|
|
164
165
|
nonReturnTax,
|
|
165
166
|
nonReturnTotal,
|
|
@@ -209,6 +210,7 @@ function SalesTotalCalculationsWithDecimals(items = [], ops = [], isTaxable = fa
|
|
|
209
210
|
returnSubtotal: roundToDecimals(result.returnSubtotal),
|
|
210
211
|
returnTax: roundToDecimals(result.returnTax),
|
|
211
212
|
returnTotal: roundToDecimals(result.returnTotal),
|
|
213
|
+
returnTotalDiscount: roundToDecimals(result.returnTotalDiscount),
|
|
212
214
|
nonReturnSubTotal: roundToDecimals(result.nonReturnSubTotal),
|
|
213
215
|
nonReturnTax: roundToDecimals(result.nonReturnTax),
|
|
214
216
|
nonReturnTotal: roundToDecimals(result.nonReturnTotal),
|