浏览代码

correcciones

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

+ 4 - 4
src/app/components/instruments/pbur/pbur.component.html

@@ -626,13 +626,13 @@
               </td>
             </ng-container>
 
-            <ng-container matColumnDef="monto">
-              <th mat-header-cell *matHeaderCellDef>Monto</th>
+            <ng-container matColumnDef="ingreso_bruto">
+              <th mat-header-cell *matHeaderCellDef>Ingreso bruto</th>
               <td mat-cell *matCellDef="let row">
                 {{
-                  row.monto == "" || row.monto == undefined
+                  row.ingreso_bruto == "" || row.ingreso_bruto == undefined
                     ? "-"
-                    : (row.monto | number: "1.2-4")
+                    : (row.ingreso_bruto | number: "1.2-4")
                 }}
               </td>
             </ng-container>

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

@@ -29,7 +29,7 @@ export class PBUR implements InstrumentComponent {
     "posicion",
     "plazo",
     "fecha_pago",
-    "monto",
+    "ingreso_bruto",
     "ingreso_neto",
     "costo_cedeval",
     "renta",

+ 4 - 4
src/app/components/instruments/vcn/vcn.component.html

@@ -665,13 +665,13 @@
               </td>
             </ng-container>
 
-            <ng-container matColumnDef="monto">
-              <th mat-header-cell *matHeaderCellDef>Monto</th>
+            <ng-container matColumnDef="ingreso_bruto">
+              <th mat-header-cell *matHeaderCellDef>Ingreso bruto</th>
               <td mat-cell *matCellDef="let row">
                 {{
-                  row.monto == "" || row.monto == undefined
+                  row.ingreso_bruto == "" || row.ingreso_bruto == undefined
                     ? "-"
-                    : (row.monto | number: "1.2-4")
+                    : (row.ingreso_bruto | number: "1.2-4")
                 }}
               </td>
             </ng-container>

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

@@ -29,7 +29,7 @@ export class VCN implements InstrumentComponent {
     "posicion",
     "plazo",
     "fecha_pago",
-    "monto",
+    "ingreso_bruto",
     "ingreso_neto",
     "costo_cedeval",
     "renta",

+ 1 - 1
src/app/components/investment-proposals/payment-approval/payment-approval.component.ts

@@ -131,7 +131,7 @@ export class PaymentApprovalComponent implements OnInit {
           this.tipo_pago = resp["result"]["id_tipo_pago"]["nombre"];
           this.cuenta_bancaria = resp["result"]["id_cuenta_bancaria"]["nombre"];
           this.fecha_vencimiento = resp["result"]["fecha_vencimiento"];
-          if (resp["result"]["id_cuenta_bancaria"] != undefined) {
+          if (resp["result"]["id_cuenta_bancaria_destino"] != undefined) {
             this.cuenta_bancaria_destino =
               resp["result"]["id_cuenta_bancaria_destino"]["nombre"];
           }

+ 1 - 1
src/app/components/investment-proposals/payment-requirement/payment-requirement.component.ts

@@ -133,7 +133,7 @@ export class PaymentRequirementComponent implements OnInit {
         this.tipo_pago = resp["result"]["id_tipo_pago"]["nombre"];
         this.cuenta_bancaria = resp["result"]["id_cuenta_bancaria"]["nombre"];
 
-        if (resp["result"]["id_cuenta_bancaria"] != undefined) {
+        if (resp["result"]["id_cuenta_bancaria_destino"] != undefined) {
           this.cuenta_bancaria_destino =
             resp["result"]["id_cuenta_bancaria_destino"]["nombre"];
         }