@itutoring/itutoring_application_js_api 1.29.0 → 1.29.1
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.
- package/modules/Cart.js +4 -2
- package/package.json +1 -1
package/modules/Cart.js
CHANGED
|
@@ -36,9 +36,11 @@ class Cart
|
|
|
36
36
|
return res;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
static async getTotalPrice()
|
|
39
|
+
static async getTotalPrice(excludeVat = false)
|
|
40
40
|
{
|
|
41
|
-
var res = await APIController.Get(this.#MODULE, this.#GET_TOTAL_PRICE
|
|
41
|
+
var res = await APIController.Get(this.#MODULE, this.#GET_TOTAL_PRICE, {
|
|
42
|
+
"excludeVat": excludeVat
|
|
43
|
+
});
|
|
42
44
|
return res;
|
|
43
45
|
}
|
|
44
46
|
|