浏览代码

Merge branch 'features-o' of onunez/frontend-inversiones into development

Oscar José Nuñez Chávez 5 年之前
父节点
当前提交
31540af65d

+ 6 - 0
src/app/components/instruments/bonos/bonos.component.html

@@ -1019,6 +1019,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -1034,6 +1035,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -1050,6 +1052,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_impuesto | number: "1.2-4" }}
               </td>
             </ng-container>
@@ -1574,6 +1577,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -1590,6 +1594,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -1606,6 +1611,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_impuesto | number: "1.2-4" }}
               </td>
             </ng-container>

+ 1 - 1
src/app/components/instruments/bonos/bonos.component.ts

@@ -646,7 +646,7 @@ export class BONO implements InstrumentComponent {
             total_ingresos_recibidos: this.total_ingresos_recibidos,
             */
             // Proyecciones
-            proyecciones: this.proyecciones
+            proyecciones: this.proyecciones.slice(0, -1)
           };
 
           this.formDataService.setWork(this.bonosObject);

+ 9 - 5
src/app/components/instruments/certificados/certificados.component.html

@@ -1019,6 +1019,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -1034,6 +1035,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -1050,13 +1052,14 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_impuesto | number: "1.2-4" }}
               </td>
             </ng-container>
 
             <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
             <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
-            <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>            
+            <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
           </table>
         </div>
       </div>
@@ -1573,6 +1576,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -1589,6 +1593,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -1605,14 +1610,13 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
-                  consolidado_proyeccion.total_impuesto | number: "1.2-4"
-                }}
+                $USD
+                {{ consolidado_proyeccion.total_impuesto | number: "1.2-4" }}
               </td>
             </ng-container>
 
             <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
-            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>            
+            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
             <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
           </table>
         </div>

+ 1 - 1
src/app/components/instruments/certificados/certificados.component.ts

@@ -649,7 +649,7 @@ export class CINV implements InstrumentComponent {
             total_ingresos_recibidos: this.total_ingresos_recibidos,
 
             // Proyecciones
-            proyecciones: this.proyecciones
+            proyecciones: this.proyecciones.slice(0, -1)
           };
 
           this.formDataService.setWork(this.bonosObject);

+ 5 - 1
src/app/components/instruments/cete/cete.component.html

@@ -407,6 +407,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -423,6 +424,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -430,7 +432,7 @@
             </ng-container>
 
             <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
-            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>            
+            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
             <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
           </table>
 
@@ -631,6 +633,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -647,6 +650,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}

+ 1 - 1
src/app/components/instruments/cete/cete.component.ts

@@ -334,7 +334,7 @@ export class CETE implements InstrumentComponent {
             total_pagar: this.total_pagar,
             comision_bolsa: this.comision_bolsa,
             comision_casa: this.comision_casa,
-            proyecciones: this.proyecciones
+            proyecciones: this.proyecciones.slice(0, -1)
           };
 
           this.formDataService.setWork(this.ceteObject);

+ 9 - 9
src/app/components/instruments/dap/dap.component.html

@@ -263,7 +263,7 @@
               <th mat-header-cell *matHeaderCellDef>Plazo</th>
               <td mat-cell *matCellDef="let row">
                 {{ row.plazo }}
-              </td>              
+              </td>
               <td mat-footer-cell *matFooterCellDef></td>
             </ng-container>
 
@@ -289,6 +289,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -305,9 +306,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
-                  consolidado_proyeccion.total_renta | number: "1.2-4"
-                }}
+                $USD {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
               </td>
             </ng-container>
             <ng-container matColumnDef="ingreso_neto">
@@ -321,6 +320,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -328,7 +328,7 @@
             </ng-container>
 
             <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
-            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>            
+            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
             <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
           </table>
 
@@ -503,6 +503,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -519,9 +520,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
-                  consolidado_proyeccion.total_renta | number: "1.2-4"
-                }}
+                $USD {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
               </td>
             </ng-container>
             <ng-container matColumnDef="ingreso_neto">
@@ -535,6 +534,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -542,7 +542,7 @@
             </ng-container>
 
             <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
-            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>            
+            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
             <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
           </table>
 

+ 5 - 4
src/app/components/instruments/dap/dap.component.ts

@@ -117,12 +117,13 @@ export class DAP implements InstrumentComponent {
         this.instrument_work != undefined)
     ) {
       this.hasProjections = true;
-      this.consolidado_proyeccion = this.instrument_work.proyecciones[
-        this.instrument_work.proyecciones.length - 1
-      ];
+
       this.dataSource2.data = this.instrument_work.proyecciones.slice(0, -1);
       this.dataSource2.paginator = this.paginator;
       this.dataSource2.sort = this.sort;
+      this.consolidado_proyeccion = this.instrument_work.proyecciones[
+        this.instrument_work.proyecciones.length - 1
+      ];
     } else {
       this.hasProjections = false;
     }
@@ -260,7 +261,7 @@ export class DAP implements InstrumentComponent {
             renta: this.renta,
             numero_certificado: this.investmentProposalForm.value
               .numero_certificado,
-            proyecciones: this.proyecciones,
+            proyecciones: this.proyecciones.slice(0, -1),
 
             fecha_operacion: this.investmentProposalForm.value.fecha_operacion
               .singleDate.formatted,

+ 11 - 2
src/app/components/instruments/eurobonos/eurobonos.component.html

@@ -986,7 +986,7 @@
               <th mat-header-cell *matHeaderCellDef>#</th>
               <td mat-cell *matCellDef="let row">
                 {{ row.posicion }}
-              </td>              
+              </td>
               <td mat-footer-cell *matFooterCellDef>TOTAL</td>
             </ng-container>
             <!-- Country Column -->
@@ -1019,6 +1019,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -1034,6 +1035,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -1050,6 +1052,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_impuesto | number: "1.2-4" }}
               </td>
             </ng-container>
@@ -1573,6 +1576,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -1589,6 +1593,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -1604,10 +1609,14 @@
                     : row.impuesto
                 }}
               </td>
+              <td mat-footer-cell *matFooterCellDef>
+                $USD
+                {{ consolidado_proyeccion.total_impuesto | number: "1.2-4" }}
+              </td>
             </ng-container>
 
             <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
-            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>            
+            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
             <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
           </table>
         </div>

+ 1 - 1
src/app/components/instruments/eurobonos/eurobonos.component.ts

@@ -646,7 +646,7 @@ export class EURB implements InstrumentComponent {
             total_ingresos_recibidos: this.total_ingresos_recibidos,
 
             // Proyecciones
-            proyecciones: this.proyecciones
+            proyecciones: this.proyecciones.slice(0, -1)
           };
 
           this.formDataService.setWork(this.bonosObject);

+ 10 - 4
src/app/components/instruments/fondos/fondos.component.html

@@ -473,6 +473,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -488,6 +489,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -507,7 +509,7 @@
                 {{
                   consolidado_proyeccion.total_dividendo_porcentaje
                     | number: "1.2-4"
-                }}
+                }}%
               </td>
             </ng-container>
             <ng-container matColumnDef="rendimiento_porcentaje">
@@ -524,7 +526,7 @@
                 {{
                   consolidado_proyeccion.total_rendimiento_porcentaje
                     | number: "1.2-4"
-                }}
+                }}%
               </td>
             </ng-container>
             <ng-container matColumnDef="rendimiento">
@@ -537,6 +539,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_rendimiento | number: "1.2-4" }}
               </td>
             </ng-container>
@@ -741,6 +744,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -756,6 +760,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -775,7 +780,7 @@
                 {{
                   consolidado_proyeccion.total_dividendo_porcentaje
                     | number: "1.2-4"
-                }}
+                }}%
               </td>
             </ng-container>
             <ng-container matColumnDef="rendimiento_porcentaje">
@@ -792,7 +797,7 @@
                 {{
                   consolidado_proyeccion.total_rendimiento_porcentaje
                     | number: "1.2-4"
-                }}
+                }}%
               </td>
             </ng-container>
             <ng-container matColumnDef="rendimiento">
@@ -805,6 +810,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_rendimiento | number: "1.2-4" }}
               </td>
             </ng-container>

+ 1 - 1
src/app/components/instruments/fondos/fondos.component.ts

@@ -364,7 +364,7 @@ export class FINV implements InstrumentComponent {
             fecha_vencimiento: this.fecha_vencimiento,
 
             // Proyecciones
-            proyecciones: this.proyecciones
+            proyecciones: this.proyecciones.slice(0, -1)
           };
 
           this.formDataService.setWork(this.fondosObject);

+ 14 - 2
src/app/components/instruments/pbur/pbur.component.html

@@ -451,6 +451,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -466,6 +467,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -477,6 +479,7 @@
                 {{ row.costo_cedeval | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD $USD
                 {{
                   consolidado_proyeccion.total_costo_cedeval | number: "1.2-4"
                 }}
@@ -488,7 +491,7 @@
                 {{ row.renta | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
+                $USD {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
               </td>
             </ng-container>
             <ng-container matColumnDef="costo_transferencia">
@@ -497,6 +500,7 @@
                 {{ row.costo_transferencia | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD $USD
                 {{
                   consolidado_proyeccion.total_costo_transferencia
                     | number: "1.2-4"
@@ -509,6 +513,7 @@
                 {{ row.costo_banco | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_costo_banco | number: "1.2-4" }}
               </td>
             </ng-container>
@@ -518,6 +523,7 @@
                 {{ row.otros_costos | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD $USD
                 {{
                   consolidado_proyeccion.total_otros_costos | number: "1.2-4"
                 }}
@@ -738,6 +744,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -753,6 +760,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -764,6 +772,7 @@
                 {{ row.costo_cedeval | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_costo_cedeval | number: "1.2-4"
                 }}
@@ -775,7 +784,7 @@
                 {{ row.renta | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
+                $USD {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
               </td>
             </ng-container>
             <ng-container matColumnDef="costo_transferencia">
@@ -784,6 +793,7 @@
                 {{ row.costo_transferencia | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_costo_transferencia
                     | number: "1.2-4"
@@ -796,6 +806,7 @@
                 {{ row.costo_banco | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_costo_banco | number: "1.2-4" }}
               </td>
             </ng-container>
@@ -805,6 +816,7 @@
                 {{ row.otros_costos | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_otros_costos | number: "1.2-4"
                 }}

+ 1 - 1
src/app/components/instruments/pbur/pbur.component.ts

@@ -352,7 +352,7 @@ export class PBUR implements InstrumentComponent {
             total_pagar: this.total_pagar,
             interes_acumulado: this.interes_acumulado,
             fecha_inicio_vigencia: this.fecha_inicio_vigencia,
-            proyecciones: this.proyecciones,
+            proyecciones: this.proyecciones.slice(0, -1),
             plazo: this.investmentProposalForm.value.plazo,
             //id_formato_ingreso: this.investmentProposalForm.value.id_formato_ingreso,
 

+ 25 - 27
src/app/components/instruments/titulos/titulos.component.html

@@ -1075,9 +1075,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
-                  consolidado_proyeccion.total_cuota | number: "1.2-4"
-                }}
+                $USD {{ consolidado_proyeccion.total_cuota | number: "1.2-4" }}
               </td>
             </ng-container>
             <ng-container matColumnDef="amortizacion_porcentaje">
@@ -1092,8 +1090,9 @@
               </td>
               <td mat-footer-cell *matFooterCellDef>
                 {{
-                  consolidado_proyeccion.total_amortizacion_porcentaje | number: "1.2-4"
-                }}
+                  consolidado_proyeccion.total_amortizacion_porcentaje
+                    | number: "1.2-4"
+                }}%
               </td>
             </ng-container>
             <ng-container matColumnDef="amortizacion_capital">
@@ -1107,8 +1106,10 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
-                  consolidado_proyeccion.total_amortizacion_capital | number: "1.2-4"
+                  consolidado_proyeccion.total_amortizacion_capital
+                    | number: "1.2-4"
                 }}
               </td>
             </ng-container>
@@ -1122,6 +1123,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -1137,9 +1139,8 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
-                  consolidado_proyeccion.total_impuesto | number: "1.2-4"
-                }}
+                $USD
+                {{ consolidado_proyeccion.total_impuesto | number: "1.2-4" }}
               </td>
             </ng-container>
             <ng-container matColumnDef="ingreso_neto">
@@ -1152,6 +1153,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -1168,14 +1170,12 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
-                  consolidado_proyeccion.total_saldo | number: "1.2-4"
-                }}
+                $USD {{ consolidado_proyeccion.total_saldo | number: "1.2-4" }}
               </td>
             </ng-container>
 
             <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
-            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>            
+            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
             <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
           </table>
 
@@ -1699,9 +1699,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
-                  consolidado_proyeccion.total_cuota | number: "1.2-4"
-                }}
+                $USD {{ consolidado_proyeccion.total_cuota | number: "1.2-4" }}
               </td>
             </ng-container>
             <ng-container matColumnDef="amortizacion_porcentaje">
@@ -1716,8 +1714,9 @@
               </td>
               <td mat-footer-cell *matFooterCellDef>
                 {{
-                  consolidado_proyeccion.total_amortizacion_porcentaje | number: "1.2-4"
-                }}
+                  consolidado_proyeccion.total_amortizacion_porcentaje
+                    | number: "1.2-4"
+                }}%
               </td>
             </ng-container>
             <ng-container matColumnDef="amortizacion_capital">
@@ -1731,8 +1730,9 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
-                  consolidado_proyeccion.total_amortizacion_capital | number: "1.2-4"
+                $USD{{
+                  consolidado_proyeccion.total_amortizacion_capital
+                    | number: "1.2-4"
                 }}
               </td>
             </ng-container>
@@ -1746,7 +1746,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
+                $USD{{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
               </td>
@@ -1761,7 +1761,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
+                $USD{{
                   consolidado_proyeccion.total_impuesto | number: "1.2-4"
                 }}
               </td>
@@ -1776,7 +1776,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
+                $USD{{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
               </td>
@@ -1792,14 +1792,12 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{
-                  consolidado_proyeccion.total_saldo | number: "1.2-4"
-                }}
+                $USD{{ consolidado_proyeccion.total_saldo | number: "1.2-4" }}
               </td>
             </ng-container>
 
             <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
-            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>            
+            <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
             <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
           </table>
         </div>

+ 1 - 1
src/app/components/instruments/titulos/titulos.component.ts

@@ -716,7 +716,7 @@ export class TIT implements InstrumentComponent {
             amortizacion_porcentajes: this.amortizaciones,-**/
             // Proyecciones
             costo_cedeval: this.f.costo_cedeval.value,
-            proyecciones: this.proyecciones
+            proyecciones: this.proyecciones.slice(0, -1)
           };
 
           this.formDataService.setWork(this.titulosObject);

+ 14 - 2
src/app/components/instruments/vcn/vcn.component.html

@@ -463,6 +463,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -478,6 +479,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -489,6 +491,7 @@
                 {{ row.costo_cedeval | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_costo_cedeval | number: "1.2-4"
                 }}
@@ -500,7 +503,7 @@
                 {{ row.renta | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
+                $USD {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
               </td>
             </ng-container>
             <ng-container matColumnDef="costo_transferencia">
@@ -509,6 +512,7 @@
                 {{ row.costo_transferencia | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_costo_transferencia
                     | number: "1.2-4"
@@ -521,6 +525,7 @@
                 {{ row.costo_banco | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_costo_banco | number: "1.2-4" }}
               </td>
             </ng-container>
@@ -530,6 +535,7 @@
                 {{ row.otros_costos | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_otros_costos | number: "1.2-4"
                 }}
@@ -749,6 +755,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
                 }}
@@ -764,6 +771,7 @@
                 }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
                 }}
@@ -775,6 +783,7 @@
                 {{ row.costo_cedeval | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_costo_cedeval | number: "1.2-4"
                 }}
@@ -786,7 +795,7 @@
                 {{ row.renta | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
-                {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
+                $USD {{ consolidado_proyeccion.total_renta | number: "1.2-4" }}
               </td>
             </ng-container>
             <ng-container matColumnDef="costo_transferencia">
@@ -795,6 +804,7 @@
                 {{ row.costo_transferencia | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_costo_transferencia
                     | number: "1.2-4"
@@ -807,6 +817,7 @@
                 {{ row.costo_banco | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{ consolidado_proyeccion.total_costo_banco | number: "1.2-4" }}
               </td>
             </ng-container>
@@ -816,6 +827,7 @@
                 {{ row.otros_costos | number: "1.2-4" }}
               </td>
               <td mat-footer-cell *matFooterCellDef>
+                $USD
                 {{
                   consolidado_proyeccion.total_otros_costos | number: "1.2-4"
                 }}

+ 1 - 1
src/app/components/instruments/vcn/vcn.component.ts

@@ -361,7 +361,7 @@ export class VCN implements InstrumentComponent {
             total_pagar: this.total_pagar,
             interes_acumulado: this.interes_acumulado,
             fecha_inicio_vigencia: this.fecha_inicio_vigencia,
-            proyecciones: this.proyecciones,
+            proyecciones: this.proyecciones.slice(0, -1),
             plazo: this.plazo,
             //id_formato_ingreso: this.investmentProposalForm.value.id_formato_ingreso,