|
@@ -277,7 +277,7 @@ export class InvestmentProposalApproveComponent implements OnInit {
|
|
|
|
|
|
|
|
this.catalogService.getPaymentTerms().subscribe(res => {
|
|
this.catalogService.getPaymentTerms().subscribe(res => {
|
|
|
this.payment_terms = res.find(
|
|
this.payment_terms = res.find(
|
|
|
- e => e.codigo == this.complement.calificadora_riesgo
|
|
|
|
|
|
|
+ e => e.id_plazo == this.complement.plazo
|
|
|
);
|
|
);
|
|
|
this.payment_terms =
|
|
this.payment_terms =
|
|
|
this.payment_terms != undefined
|
|
this.payment_terms != undefined
|
|
@@ -286,7 +286,7 @@ export class InvestmentProposalApproveComponent implements OnInit {
|
|
|
});
|
|
});
|
|
|
this.catalogService.getOperationTypes().subscribe(res => {
|
|
this.catalogService.getOperationTypes().subscribe(res => {
|
|
|
this.operations = res.find(
|
|
this.operations = res.find(
|
|
|
- e => e.codigo == this.complement.operaciones
|
|
|
|
|
|
|
+ e => e.id_tipo_operacion == this.complement.operaciones
|
|
|
);
|
|
);
|
|
|
this.operations =
|
|
this.operations =
|
|
|
this.operations != undefined ? this.operations.nombre : "-";
|
|
this.operations != undefined ? this.operations.nombre : "-";
|