|
|
@@ -144,13 +144,7 @@ export class PPER implements InstrumentComponent {
|
|
|
}
|
|
|
|
|
|
this.investmentProposalForm = this.formBuilder.group({
|
|
|
- renta_porcentaje: [
|
|
|
- this.instrument_exists ? "" : this.instrument_work.renta_porcentaje,
|
|
|
- [
|
|
|
- Validators.required,
|
|
|
- Validators.pattern(/^[+]?([0-9]+(?:[\.][0-9]*)?|\.[0-9]+)$/)
|
|
|
- ]
|
|
|
- ],
|
|
|
+
|
|
|
|
|
|
monto_prestamo: [
|
|
|
this.instrument_exists ? "" : this.instrument_work.monto_prestamo,
|
|
|
@@ -263,7 +257,6 @@ export class PPER implements InstrumentComponent {
|
|
|
},
|
|
|
{
|
|
|
monto_prestamo: this.f.monto_prestamo.value,
|
|
|
- renta_porcentaje: +this.f.renta_porcentaje.value,
|
|
|
fecha_otorgamiento: this.f.fecha_otorgamiento.value.singleDate
|
|
|
.formatted,
|
|
|
plazo_gracia: this.f.plazo_gracia.value,
|
|
|
@@ -308,8 +301,6 @@ export class PPER implements InstrumentComponent {
|
|
|
this.dataSource.sort = this.sort;
|
|
|
|
|
|
this.pperObject = {
|
|
|
- renta_porcentaje: this.investmentProposalForm.value
|
|
|
- .renta_porcentaje,
|
|
|
monto_prestamo: this.investmentProposalForm.value.monto_prestamo,
|
|
|
plazo_gracia: this.investmentProposalForm.value.plazo_gracia,
|
|
|
tasa_porcentaje: this.investmentProposalForm.value.tasa_porcentaje,
|