iptdevs-design-system 2.7.147 → 2.7.150
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/esm2020/lib/cod/logic/calculate-quotes.service.mjs +11 -1
- package/esm2020/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.mjs +2 -2
- package/esm2020/lib/core/models/payment/payment-rq.model.mjs +1 -1
- package/fesm2015/iptdevs-design-system.mjs +11 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +11 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/payment/payment-rq.model.d.ts +6 -0
- package/package.json +1 -1
|
@@ -3454,6 +3454,15 @@ class CalculateQuotesService {
|
|
|
3454
3454
|
});
|
|
3455
3455
|
}
|
|
3456
3456
|
else {
|
|
3457
|
+
let enrollment = [
|
|
3458
|
+
'Matrícula',
|
|
3459
|
+
Intl.NumberFormat('en-US', {
|
|
3460
|
+
style: 'currency',
|
|
3461
|
+
currency: 'USD',
|
|
3462
|
+
minimumFractionDigits: 0
|
|
3463
|
+
}).format(Math.round(parseFloat(params.totalPrice.toString()))),
|
|
3464
|
+
this.getStringDate(dateJs)
|
|
3465
|
+
];
|
|
3457
3466
|
let quota = [
|
|
3458
3467
|
index,
|
|
3459
3468
|
Intl.NumberFormat('en-US', {
|
|
@@ -3463,6 +3472,7 @@ class CalculateQuotesService {
|
|
|
3463
3472
|
}).format(Math.round(parseFloat(params.quotaValues.toString()))),
|
|
3464
3473
|
this.getStringDate(dateJs)
|
|
3465
3474
|
];
|
|
3475
|
+
dataFinancing.push(enrollment);
|
|
3466
3476
|
dataFinancing.push(quota);
|
|
3467
3477
|
while (index < params.quotaTimes) {
|
|
3468
3478
|
index = index + 1;
|
|
@@ -3725,7 +3735,7 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
3725
3735
|
date: new Date(this.codFormStepFour.controls['payment_date'].value),
|
|
3726
3736
|
quotaValues,
|
|
3727
3737
|
quotaTimes: this.codPrices.filter(codPrice => codPrice.code === Number(this.codFormStepFour.controls['quota_times'].value))[0].fee_number,
|
|
3728
|
-
totalPrice: this.codFormStepFour.controls['total_price'].value
|
|
3738
|
+
totalPrice: this.codFormStepFour.controls['total_price'].value,
|
|
3729
3739
|
};
|
|
3730
3740
|
this.dataFinancing = this.calculateQuotesService.calculateQuotes(params);
|
|
3731
3741
|
this.isFinancing = true;
|