|
|
@@ -168,6 +168,13 @@ export class BONO implements InstrumentComponent {
|
|
|
}
|
|
|
|
|
|
this.investmentProposalForm = this.formBuilder.group({
|
|
|
+ costo_cedeval: [
|
|
|
+ this.instrument_exists ? "" : this.instrument_work.costo_cedeval,
|
|
|
+ [
|
|
|
+ Validators.required,
|
|
|
+ Validators.pattern(/^[+]?([0-9]+(?:[\.][0-9]*)?|\.[0-9]+)$/)
|
|
|
+ ]
|
|
|
+ ],
|
|
|
costo_transferencia: [
|
|
|
this.instrument_exists ? "" : this.instrument_work.costo_transferencia,
|
|
|
[
|
|
|
@@ -419,6 +426,7 @@ export class BONO implements InstrumentComponent {
|
|
|
id_periodicidad: +this.general.periodicidad
|
|
|
},
|
|
|
{
|
|
|
+ costo_cedeval: +this.f.costo_cedeval.value,
|
|
|
costo_transferencia: +this.f.costo_transferencia.value,
|
|
|
valor_nominal_compra: +this.f.valor_nominal_compra.value,
|
|
|
precio_compra: +this.f.precio_compra.value,
|
|
|
@@ -560,6 +568,7 @@ export class BONO implements InstrumentComponent {
|
|
|
this.dataSource.sort = this.sort;
|
|
|
|
|
|
this.bonosObject = {
|
|
|
+ costo_cedeval: this.investmentProposalForm.value.costo_cedeval,
|
|
|
costo_transferencia: this.investmentProposalForm.value
|
|
|
.costo_transferencia,
|
|
|
valor_nominal_compra: this.investmentProposalForm.value
|