|
@@ -81,6 +81,7 @@ export class TIT implements InstrumentComponent {
|
|
|
m_fecha_ultima_cupon_compra: IMyDateModel;
|
|
m_fecha_ultima_cupon_compra: IMyDateModel;
|
|
|
m_fecha_rendencion: IMyDateModel;
|
|
m_fecha_rendencion: IMyDateModel;
|
|
|
m_fecha_liquidacion_compra: IMyDateModel;
|
|
m_fecha_liquidacion_compra: IMyDateModel;
|
|
|
|
|
+ m_fecha_emision: IMyDateModel;
|
|
|
|
|
|
|
|
submitted: boolean = false;
|
|
submitted: boolean = false;
|
|
|
instrument_exists: boolean;
|
|
instrument_exists: boolean;
|
|
@@ -610,38 +611,38 @@ export class TIT implements InstrumentComponent {
|
|
|
this.monto_recibir =
|
|
this.monto_recibir =
|
|
|
ans["result"]["instrumento_venta"]["monto_recibir"];
|
|
ans["result"]["instrumento_venta"]["monto_recibir"];
|
|
|
|
|
|
|
|
- // Resultado de la operacion
|
|
|
|
|
- this.operation_result = true;
|
|
|
|
|
- this.valor_transado_compra =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["valor_transado_compra"];
|
|
|
|
|
- this.precio_compra =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["precio_compra"];
|
|
|
|
|
- this.precio_venta =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["precio_venta"];
|
|
|
|
|
- this.dias_tenencia_total =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["dias_tenencia_total"];
|
|
|
|
|
- this.ganancia_perdida_capital =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["ganancia_perdida_capital"];
|
|
|
|
|
- this.ingresos_intereses =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["ingresos_intereses"];
|
|
|
|
|
- this.costos_totales =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["costos_totales"];
|
|
|
|
|
- this.ganancia_perdida_total =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["ganancia_perdida_total_neto"];
|
|
|
|
|
- this.ganancia_perdida_capital_porcentaje =
|
|
|
|
|
- ans["result"]["resultado_operacion"][
|
|
|
|
|
- "ganancia_perdida_capital_porcentaje"
|
|
|
|
|
- ];
|
|
|
|
|
- this.intereses_porcentaje =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["intereses_porcentaje"];
|
|
|
|
|
- this.neto_antes_impuesto_porcentaje =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["neto_antes_renta_porcentaje"];
|
|
|
|
|
- this.neto_despues_impuesto_porcentaje =
|
|
|
|
|
- ans["result"]["resultado_operacion"][
|
|
|
|
|
- "neto_despues_renta_porcentaje"
|
|
|
|
|
- ];
|
|
|
|
|
- this.total_ingresos_recibidos =
|
|
|
|
|
- ans["result"]["resultado_operacion"]["total_interes_recibidos"];
|
|
|
|
|
|
|
+ // // Resultado de la operacion
|
|
|
|
|
+ // this.operation_result = true;
|
|
|
|
|
+ // this.valor_transado_compra =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["valor_transado_compra"];
|
|
|
|
|
+ // this.precio_compra =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["precio_compra"];
|
|
|
|
|
+ // this.precio_venta =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["precio_venta"];
|
|
|
|
|
+ // this.dias_tenencia_total =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["dias_tenencia_total"];
|
|
|
|
|
+ // this.ganancia_perdida_capital =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["ganancia_perdida_capital"];
|
|
|
|
|
+ // this.ingresos_intereses =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["ingresos_intereses"];
|
|
|
|
|
+ // this.costos_totales =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["costos_totales"];
|
|
|
|
|
+ // this.ganancia_perdida_total =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["ganancia_perdida_total_neto"];
|
|
|
|
|
+ // this.ganancia_perdida_capital_porcentaje =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"][
|
|
|
|
|
+ // "ganancia_perdida_capital_porcentaje"
|
|
|
|
|
+ // ];
|
|
|
|
|
+ // this.intereses_porcentaje =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["intereses_porcentaje"];
|
|
|
|
|
+ // this.neto_antes_impuesto_porcentaje =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["neto_antes_renta_porcentaje"];
|
|
|
|
|
+ // this.neto_despues_impuesto_porcentaje =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"][
|
|
|
|
|
+ // "neto_despues_renta_porcentaje"
|
|
|
|
|
+ // ];
|
|
|
|
|
+ // this.total_ingresos_recibidos =
|
|
|
|
|
+ // ans["result"]["resultado_operacion"]["total_interes_recibidos"];
|
|
|
|
|
|
|
|
// Proyecciones
|
|
// Proyecciones
|
|
|
this.proyecciones = ans["result"]["proyecciones"];
|
|
this.proyecciones = ans["result"]["proyecciones"];
|
|
@@ -686,6 +687,8 @@ export class TIT implements InstrumentComponent {
|
|
|
.singleDate.formatted,
|
|
.singleDate.formatted,
|
|
|
fecha_liquidacion_compra: this.f.fecha_liquidacion_compra.value
|
|
fecha_liquidacion_compra: this.f.fecha_liquidacion_compra.value
|
|
|
.singleDate.formatted,
|
|
.singleDate.formatted,
|
|
|
|
|
+ fecha_emision: this.f.fecha_emision.value
|
|
|
|
|
+ .singleDate.formatted,
|
|
|
|
|
|
|
|
// Instrumento de compra
|
|
// Instrumento de compra
|
|
|
|
|
|
|
@@ -755,9 +758,7 @@ export class TIT implements InstrumentComponent {
|
|
|
this.titulosObject[
|
|
this.titulosObject[
|
|
|
"fecha_liquidacion_venta"
|
|
"fecha_liquidacion_venta"
|
|
|
] = this.f.fecha_liquidacion_venta.value.singleDate.formatted;
|
|
] = this.f.fecha_liquidacion_venta.value.singleDate.formatted;
|
|
|
- this.titulosObject[
|
|
|
|
|
- "fecha_emision"
|
|
|
|
|
- ] = this.f.fecha_emision.value.singleDate.formatted;
|
|
|
|
|
|
|
+
|
|
|
// Instrumento de venta
|
|
// Instrumento de venta
|
|
|
|
|
|
|
|
this.titulosObject[
|
|
this.titulosObject[
|