@osovitny/anatoly 3.19.26 → 3.19.28
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.
|
@@ -4313,7 +4313,6 @@ class PaymentsService {
|
|
|
4313
4313
|
this.discountCode = null;
|
|
4314
4314
|
this.discountPercentage = null;
|
|
4315
4315
|
this.discountAmount = null;
|
|
4316
|
-
this.total = 0;
|
|
4317
4316
|
this.currency = 'USD';
|
|
4318
4317
|
//Private Streams
|
|
4319
4318
|
this._discountCodeApplied = new Subject();
|
|
@@ -4344,7 +4343,9 @@ class PaymentsService {
|
|
|
4344
4343
|
}
|
|
4345
4344
|
resetState() {
|
|
4346
4345
|
this.subtotal = 0;
|
|
4347
|
-
this.
|
|
4346
|
+
this.discountCode = null;
|
|
4347
|
+
this.discountPercentage = null;
|
|
4348
|
+
this.discountAmount = null;
|
|
4348
4349
|
}
|
|
4349
4350
|
getTotal() {
|
|
4350
4351
|
let subtotal = this.subtotal;
|