pemp.component.html 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  1. <div *ngIf="!summary">
  2. <h4 class="card-title">
  3. Préstamo empresarial
  4. </h4>
  5. <form
  6. class="form-auth-small ng-untouched ng-pristine ng-valid"
  7. [formGroup]="investmentProposalForm"
  8. >
  9. <div class="row">
  10. <!-- Monto préstamo -->
  11. <div class="col-lg-6 col-sm-12 pr-xl-3">
  12. <div class="form-group">
  13. <label for="monto_prestamo">Monto préstamo: </label>
  14. <div class="input-box-container">
  15. <p>
  16. <i class="fas fa-dollar-sign"></i>
  17. </p>
  18. <input
  19. type="text"
  20. formControlName="monto_prestamo"
  21. class="form-control"
  22. [ngClass]="{
  23. 'is-invalid': submitted && f.monto_prestamo.errors
  24. }"
  25. />
  26. <div
  27. *ngIf="submitted && f.monto_prestamo.errors"
  28. class="invalid-feedback"
  29. >
  30. <div *ngIf="f.monto_prestamo.errors.required">
  31. Campo requerido
  32. </div>
  33. <div *ngIf="f.monto_prestamo.errors.pattern">
  34. Debe ingresar una cifra válida
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. <!-- Tasa -->
  41. <div class="col-lg-6 col-sm-12 pr-xl-3">
  42. <div class="form-group">
  43. <label for="tasa_porcentaje">Tasa: </label>
  44. <div class="input-box-container">
  45. <p>
  46. <i class="fas fa-percent" aria-hidden="true"></i>
  47. </p>
  48. <input
  49. type="text"
  50. formControlName="tasa_porcentaje"
  51. class="form-control"
  52. [ngClass]="{
  53. 'is-invalid': submitted && f.tasa_porcentaje.errors
  54. }"
  55. />
  56. <div
  57. *ngIf="submitted && f.tasa_porcentaje.errors"
  58. class="invalid-feedback"
  59. >
  60. <div *ngIf="f.tasa_porcentaje.errors.required">
  61. Campo requerido
  62. </div>
  63. <div *ngIf="f.tasa_porcentaje.errors.pattern">
  64. Debe ingresar una cifra válida
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <!-- IVA -->
  71. <div class="col-lg-6 col-sm-12 pr-xl-3">
  72. <div class="form-group">
  73. <label for="iva_porcentaje">IVA: </label>
  74. <div class="input-box-container">
  75. <p>
  76. <i class="fas fa-percent" aria-hidden="true"></i>
  77. </p>
  78. <input
  79. type="text"
  80. formControlName="iva_porcentaje"
  81. class="form-control"
  82. [ngClass]="{
  83. 'is-invalid': submitted && f.iva_porcentaje.errors
  84. }"
  85. />
  86. <div
  87. *ngIf="submitted && f.iva_porcentaje.errors"
  88. class="invalid-feedback"
  89. >
  90. <div *ngIf="f.iva_porcentaje.errors.required">
  91. Campo requerido
  92. </div>
  93. <div *ngIf="f.iva_porcentaje.errors.pattern">
  94. Debe ingresar una cifra válida
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="col-lg-6 col-sm-12 pr-xl-3">
  101. <div class="form-group">
  102. <label for="renta_porcentaje">Renta: </label>
  103. <div class="input-box-container">
  104. <p>
  105. <i class="fas fa-percent" aria-hidden="true"></i>
  106. </p>
  107. <input
  108. type="text"
  109. formControlName="renta_porcentaje"
  110. class="form-control"
  111. [ngClass]="{
  112. 'is-invalid': submitted && f.renta_porcentaje.errors
  113. }"
  114. />
  115. <div
  116. *ngIf="submitted && f.renta_porcentaje.errors"
  117. class="invalid-feedback"
  118. >
  119. <div *ngIf="f.renta_porcentaje.errors.required">
  120. Campo requerido
  121. </div>
  122. <div *ngIf="f.renta_porcentaje.errors.pattern">
  123. Debe ingresar una cifra válida
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. <!-- Comisián desembolso -->
  130. <div class="col-lg-6 col-sm-12 pr-xl-3">
  131. <div class="form-group">
  132. <label for="comision_desembolso_porcentaje"
  133. >Comisión desembolso:
  134. </label>
  135. <div class="input-box-container">
  136. <p>
  137. <i class="fas fa-percent" aria-hidden="true"></i>
  138. </p>
  139. <input
  140. type="text"
  141. formControlName="comision_desembolso_porcentaje"
  142. class="form-control"
  143. [ngClass]="{
  144. 'is-invalid':
  145. submitted && f.comision_desembolso_porcentaje.errors
  146. }"
  147. />
  148. <div
  149. *ngIf="submitted && f.comision_desembolso_porcentaje.errors"
  150. class="invalid-feedback"
  151. >
  152. <div *ngIf="f.comision_desembolso_porcentaje.errors.required">
  153. Campo requerido
  154. </div>
  155. <div *ngIf="f.comision_desembolso_porcentaje.errors.pattern">
  156. Debe ingresar una cifra válida
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. <!-- Fecha operación -->
  163. <div class="col-lg-6 col-sm-12 pr-xl-3">
  164. <div class="form-group">
  165. <label for="fecha_operacion">Fecha operación: </label>
  166. <div class="input-box-container">
  167. <p>
  168. <i class="far fa-calendar" aria-hidden="true"></i>
  169. </p>
  170. <input
  171. class="input-box form-control"
  172. placeholder="Seleccione una fecha"
  173. angular-mydatepicker
  174. formControlName="fecha_operacion"
  175. (click)="dp.toggleCalendar()"
  176. [options]="myDpOptions"
  177. #dp="angular-mydatepicker"
  178. [ngClass]="{
  179. 'is-invalid': submitted && f.fecha_operacion.errors
  180. }"
  181. />
  182. </div>
  183. <div
  184. *ngIf="submitted && f.fecha_operacion.errors"
  185. class="invalid-feedback"
  186. >
  187. <div *ngIf="f.fecha_operacion.errors.required">
  188. Campo requerido
  189. </div>
  190. </div>
  191. </div>
  192. </div>
  193. <!-- Fecha vencimiento -->
  194. <div class="col-lg-6 col-sm-12 pr-xl-3">
  195. <div class="form-group">
  196. <label for="fecha_vencimiento">Fecha vencimiento: </label>
  197. <div class="input-box-container">
  198. <div>
  199. <p>
  200. <i class="far fa-calendar" aria-hidden="true"></i>
  201. </p>
  202. <input
  203. class="input-box form-control"
  204. placeholder="Seleccione una fecha"
  205. angular-mydatepicker
  206. formControlName="fecha_vencimiento"
  207. (click)="dp1.toggleCalendar()"
  208. [options]="myDpOptions"
  209. #dp1="angular-mydatepicker"
  210. [ngClass]="{
  211. 'is-invalid': submitted && f.fecha_vencimiento.errors
  212. }"
  213. />
  214. </div>
  215. </div>
  216. <div
  217. *ngIf="submitted && f.fecha_vencimiento.errors"
  218. class="invalid-feedback"
  219. >
  220. <div *ngIf="f.fecha_vencimiento.errors.required">
  221. Campo requerido
  222. </div>
  223. </div>
  224. </div>
  225. </div>
  226. <div class="col-lg-12 col-sm-12 pr-xl-12">
  227. <div class="form-group text-right">
  228. <br />
  229. <button
  230. type="button"
  231. class="btn btn-success center-component"
  232. (click)="getCalculations(investmentProposalForm, false)"
  233. >
  234. Realizar cálculos
  235. </button>
  236. </div>
  237. </div>
  238. </div>
  239. <br />
  240. <!-- Calculos del instrumento-->
  241. <div class="instrument-calcs">
  242. <div class="row">
  243. <div class="col-12">
  244. <span class="badge badge-success badge-custom"
  245. >Cálculos del instrumento</span
  246. >
  247. </div>
  248. <div class="col-sm-6">
  249. <h4>Monto préstamo:</h4>
  250. <div class="field">$USD {{ monto_prestamo | number: "1.2-4" }}</div>
  251. </div>
  252. <div class="col-sm-6">
  253. <h4>Tasa (%):</h4>
  254. <div class="field">{{ tasa_porcentaje | number: "1.2-4" }}%</div>
  255. </div>
  256. <div class="col-sm-6">
  257. <h4>IVA (%):</h4>
  258. <div class="field">{{ iva_porcentaje | number: "1.2-4" }}%</div>
  259. </div>
  260. <div class="col-sm-6">
  261. <h4>IVA ($):</h4>
  262. <div class="field">$USD {{ iva | number: "1.2-4" }}</div>
  263. </div>
  264. <div class="col-sm-6">
  265. <h4>Comisión desembolso (%):</h4>
  266. <div class="field">
  267. {{ comision_desembolso_porcentaje | number: "1.2-4" }}%
  268. </div>
  269. </div>
  270. <div class="col-sm-6">
  271. <h4>Comisión desembolso ($):</h4>
  272. <div class="field">
  273. $USD {{ comision_desembolso | number: "1.2-4" }}
  274. </div>
  275. </div>
  276. <div class="col-sm-6">
  277. <h4>Plazo:</h4>
  278. <div class="field">{{ plazo | number: "1.2-4" }}</div>
  279. </div>
  280. <div class="col-sm-6">
  281. <h4>Fecha de operacion:</h4>
  282. <div class="field">{{ fecha_operacion }}</div>
  283. </div>
  284. <div class="col-sm-6">
  285. <h4>Fecha de vencimiento:</h4>
  286. <div class="field">{{ fecha_vencimiento }}</div>
  287. </div>
  288. </div>
  289. </div>
  290. <br />
  291. <!-- Tabla de proyecciones del instrumento-->
  292. <div class="instrument-calcs">
  293. <div class="row">
  294. <div class="col-12">
  295. <span class="badge badge-success badge-custom"
  296. >Proyecciones del instrumento</span
  297. >
  298. </div>
  299. <div *ngIf="hasProjections" class="cete-table-container">
  300. <table mat-table [dataSource]="dataSource" class="example-table">
  301. <ng-container matColumnDef="posicion">
  302. <th mat-header-cell *matHeaderCellDef>#</th>
  303. <td mat-cell *matCellDef="let row">
  304. {{ row.posicion }}
  305. </td>
  306. <td mat-footer-cell *matFooterCellDef>TOTAL</td>
  307. </ng-container>
  308. <ng-container matColumnDef="plazo">
  309. <th mat-header-cell *matHeaderCellDef>Plazo</th>
  310. <td mat-cell *matCellDef="let row">
  311. {{ row.plazo }}
  312. </td>
  313. <td mat-footer-cell *matFooterCellDef></td>
  314. </ng-container>
  315. <ng-container matColumnDef="fecha_pago">
  316. <th mat-header-cell *matHeaderCellDef>Fecha pago</th>
  317. <td mat-cell *matCellDef="let row">
  318. {{
  319. row.fecha_pago == "" || row.fecha_pago == undefined
  320. ? "-"
  321. : row.fecha_pago
  322. }}
  323. </td>
  324. <td mat-footer-cell *matFooterCellDef></td>
  325. </ng-container>
  326. <ng-container matColumnDef="tasa_porcentaje">
  327. <th mat-header-cell *matHeaderCellDef>Tasa (%)</th>
  328. <td mat-cell *matCellDef="let row">
  329. {{
  330. row.tasa_porcentaje == "" || row.tasa_porcentaje == undefined
  331. ? "0"
  332. : row.tasa_porcentaje
  333. }}%
  334. </td>
  335. <td mat-footer-cell *matFooterCellDef>
  336. {{
  337. consolidado_proyeccion.total_tasa_porcentaje
  338. | number: "1.2-4"
  339. }}%
  340. </td>
  341. </ng-container>
  342. <ng-container matColumnDef="ingreso_bruto">
  343. <th mat-header-cell *matHeaderCellDef>Ingreso bruto</th>
  344. <td mat-cell *matCellDef="let row">
  345. ${{
  346. row.ingreso_bruto == "" || row.ingreso_bruto == undefined
  347. ? "0"
  348. : row.ingreso_bruto
  349. }}
  350. </td>
  351. <td mat-footer-cell *matFooterCellDef>
  352. ${{
  353. consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
  354. }}
  355. </td>
  356. </ng-container>
  357. <ng-container matColumnDef="ingreso_neto">
  358. <th mat-header-cell *matHeaderCellDef>Ingreso neto</th>
  359. <td mat-cell *matCellDef="let row">
  360. ${{
  361. row.ingreso_neto == "" || row.ingreso_neto == undefined
  362. ? "0"
  363. : row.ingreso_neto
  364. }}
  365. </td>
  366. <td mat-footer-cell *matFooterCellDef>
  367. ${{
  368. consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
  369. }}
  370. </td>
  371. </ng-container>
  372. <ng-container matColumnDef="iva">
  373. <th mat-header-cell *matHeaderCellDef>IVA</th>
  374. <td mat-cell *matCellDef="let row">
  375. ${{ row.iva == "" || row.iva == undefined ? "0" : row.iva }}
  376. </td>
  377. <td mat-footer-cell *matFooterCellDef>
  378. ${{ consolidado_proyeccion.total_iva | number: "1.2-4" }}
  379. </td>
  380. </ng-container>
  381. <ng-container matColumnDef="amortizacion_capital">
  382. <th mat-header-cell *matHeaderCellDef>Amortización capital</th>
  383. <td mat-cell *matCellDef="let row">
  384. ${{
  385. row.amortizacion_capital == "" ||
  386. row.amortizacion_capital == undefined
  387. ? "0"
  388. : (row.amortizacion_capital | number: "1.2-4")
  389. }}
  390. </td>
  391. <td mat-footer-cell *matFooterCellDef>
  392. ${{
  393. consolidado_proyeccion.total_amortizacion_capital
  394. | number: "1.2-4"
  395. }}
  396. </td>
  397. </ng-container>
  398. <ng-container matColumnDef="monto_recibir">
  399. <th mat-header-cell *matHeaderCellDef>Monto a recibir</th>
  400. <td mat-cell *matCellDef="let row">
  401. ${{
  402. row.monto_recibir == "" || row.monto_recibir == undefined
  403. ? "0"
  404. : row.monto_recibir
  405. }}
  406. </td>
  407. <td mat-footer-cell *matFooterCellDef>
  408. ${{
  409. consolidado_proyeccion.total_monto_recibir | number: "1.2-4"
  410. }}
  411. </td>
  412. </ng-container>
  413. <ng-container matColumnDef="capital_restante">
  414. <th mat-header-cell *matHeaderCellDef>Monto a recibir</th>
  415. <td mat-cell *matCellDef="let row">
  416. ${{
  417. row.capital_restante == "" ||
  418. row.capital_restante == undefined
  419. ? "0"
  420. : row.capital_restante
  421. }}
  422. </td>
  423. <td mat-footer-cell *matFooterCellDef>
  424. ${{
  425. consolidado_proyeccion.total_capital_restante
  426. | number: "1.2-4"
  427. }}
  428. </td>
  429. </ng-container>
  430. <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
  431. <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
  432. <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
  433. </table>
  434. </div>
  435. </div>
  436. </div>
  437. <br />
  438. <div class="form-group text-center space-20">
  439. <button
  440. type="button"
  441. class="btn btn-default center-component margin-right"
  442. (click)="goToPrevious()"
  443. >
  444. Anterior
  445. </button>
  446. <button
  447. type="submit"
  448. class="btn btn-primary center-component margin-right"
  449. (click)="goToNext(investmentProposalForm)"
  450. >
  451. Siguiente
  452. </button>
  453. </div>
  454. </form>
  455. </div>
  456. <div *ngIf="summary">
  457. <div class="timeline-body">
  458. <div class="row">
  459. <div class="col-lg-3 col-md-4 col-sm-6">
  460. <h4>Valor nominal:</h4>
  461. <div class="field">
  462. $USD {{ instrument_work.monto_prestamo | number: "1.2-4" }}
  463. </div>
  464. </div>
  465. <div class="col-lg-3 col-md-4 col-sm-6">
  466. <h4>Monto préstamo:</h4>
  467. <div class="field">
  468. $USD {{ instrument_work.monto_prestamo | number: "1.2-4" }}
  469. </div>
  470. </div>
  471. <div class="col-lg-3 col-md-4 col-sm-6">
  472. <h4>Tasa (%):</h4>
  473. <div class="field">
  474. {{ instrument_work.tasa_porcentaje | number: "1.2-4" }}%
  475. </div>
  476. </div>
  477. <div class="col-lg-3 col-md-4 col-sm-6">
  478. <h4>IVA (%):</h4>
  479. <div class="field">
  480. {{ instrument_work.iva_porcentaje | number: "1.2-4" }}%
  481. </div>
  482. </div>
  483. <div class="col-lg-3 col-md-4 col-sm-6">
  484. <h4>Renta (%):</h4>
  485. <div class="field">
  486. {{ instrument_work.renta_porcentaje | number: "1.2-4" }}%
  487. </div>
  488. </div>
  489. <div class="col-lg-3 col-md-4 col-sm-6">
  490. <h4>IVA ($):</h4>
  491. <div class="field">
  492. $USD {{ instrument_work.iva | number: "1.2-4" }}
  493. </div>
  494. </div>
  495. <div class="col-lg-3 col-md-4 col-sm-6">
  496. <h4>Comisión desembolso (%):</h4>
  497. <div class="field">
  498. {{
  499. instrument_work.comision_desembolso_porcentaje | number: "1.2-4"
  500. }}%
  501. </div>
  502. </div>
  503. <div class="col-lg-3 col-md-4 col-sm-6">
  504. <h4>Comisión desembolso ($):</h4>
  505. <div class="field">
  506. $USD {{ instrument_work.comision_desembolso | number: "1.2-4" }}
  507. </div>
  508. </div>
  509. <div class="col-lg-3 col-md-4 col-sm-6">
  510. <h4>Plazo:</h4>
  511. <div class="field">{{ instrument_work.plazo | number: "1.2-4" }}</div>
  512. </div>
  513. <div class="col-lg-3 col-md-4 col-sm-6">
  514. <h4>Fecha de operacion:</h4>
  515. <div class="field">{{ instrument_work.fecha_operacion }}</div>
  516. </div>
  517. <div class="col-lg-3 col-md-4 col-sm-6">
  518. <h4>Fecha de vencimiento:</h4>
  519. <div class="field">{{ instrument_work.fecha_vencimiento }}</div>
  520. </div>
  521. </div>
  522. <br />
  523. <div *ngIf="hasProjections" class="instrument-calcs-summary">
  524. <div class="row">
  525. <div class="col-12">
  526. <span class="badge-warning badge-custom-instrument"
  527. >Proyecciones del instrumento</span
  528. >
  529. </div>
  530. <div class="cete-table-container">
  531. <table mat-table [dataSource]="dataSource2" class="example-table">
  532. <ng-container matColumnDef="posicion">
  533. <th mat-header-cell *matHeaderCellDef>#</th>
  534. <td mat-cell *matCellDef="let row">
  535. {{ row.posicion }}
  536. </td>
  537. <td mat-footer-cell *matFooterCellDef>TOTAL</td>
  538. </ng-container>
  539. <ng-container matColumnDef="plazo">
  540. <th mat-header-cell *matHeaderCellDef>Plazo</th>
  541. <td mat-cell *matCellDef="let row">
  542. {{ row.plazo }}
  543. </td>
  544. <td mat-footer-cell *matFooterCellDef></td>
  545. </ng-container>
  546. <ng-container matColumnDef="fecha_pago">
  547. <th mat-header-cell *matHeaderCellDef>Fecha pago</th>
  548. <td mat-cell *matCellDef="let row">
  549. {{
  550. row.fecha_pago == "" || row.fecha_pago == undefined
  551. ? "-"
  552. : row.fecha_pago
  553. }}
  554. </td>
  555. <td mat-footer-cell *matFooterCellDef></td>
  556. </ng-container>
  557. <ng-container matColumnDef="tasa_porcentaje">
  558. <th mat-header-cell *matHeaderCellDef>Tasa (%)</th>
  559. <td mat-cell *matCellDef="let row">
  560. {{
  561. row.tasa_porcentaje == "" || row.tasa_porcentaje == undefined
  562. ? "0"
  563. : row.tasa_porcentaje
  564. }}%
  565. </td>
  566. <td mat-footer-cell *matFooterCellDef></td>
  567. </ng-container>
  568. <ng-container matColumnDef="ingreso_bruto">
  569. <th mat-header-cell *matHeaderCellDef>Ingreso bruto</th>
  570. <td mat-cell *matCellDef="let row">
  571. ${{
  572. row.ingreso_bruto == "" || row.ingreso_bruto == undefined
  573. ? "0"
  574. : row.ingreso_bruto
  575. }}
  576. </td>
  577. <td mat-footer-cell *matFooterCellDef>
  578. ${{
  579. consolidado_proyeccion.total_ingreso_bruto | number: "1.2-4"
  580. }}
  581. </td>
  582. </ng-container>
  583. <ng-container matColumnDef="ingreso_neto">
  584. <th mat-header-cell *matHeaderCellDef>Ingreso neto</th>
  585. <td mat-cell *matCellDef="let row">
  586. ${{
  587. row.ingreso_neto == "" || row.ingreso_neto == undefined
  588. ? "0"
  589. : row.ingreso_neto
  590. }}
  591. </td>
  592. <td mat-footer-cell *matFooterCellDef>
  593. ${{
  594. consolidado_proyeccion.total_ingreso_neto | number: "1.2-4"
  595. }}
  596. </td>
  597. </ng-container>
  598. <ng-container matColumnDef="iva">
  599. <th mat-header-cell *matHeaderCellDef>IVA</th>
  600. <td mat-cell *matCellDef="let row">
  601. ${{ row.iva == "" || row.iva == undefined ? "0" : row.iva }}
  602. </td>
  603. <td mat-footer-cell *matFooterCellDef>
  604. ${{ consolidado_proyeccion.total_iva | number: "1.2-4" }}
  605. </td>
  606. </ng-container>
  607. <ng-container matColumnDef="amortizacion_capital">
  608. <th mat-header-cell *matHeaderCellDef>Amortización capital</th>
  609. <td mat-cell *matCellDef="let row">
  610. ${{
  611. row.amortizacion_capital == "" ||
  612. row.amortizacion_capital == undefined
  613. ? "0"
  614. : (row.amortizacion_capital | number: "1.2-4")
  615. }}
  616. </td>
  617. <td mat-footer-cell *matFooterCellDef>
  618. ${{
  619. consolidado_proyeccion.total_amortizacion_capital
  620. | number: "1.2-4"
  621. }}
  622. </td>
  623. </ng-container>
  624. <ng-container matColumnDef="monto_recibir">
  625. <th mat-header-cell *matHeaderCellDef>Monto a recibir</th>
  626. <td mat-cell *matCellDef="let row">
  627. ${{
  628. row.monto_recibir == "" || row.monto_recibir == undefined
  629. ? "0"
  630. : row.monto_recibir
  631. }}
  632. </td>
  633. <td mat-footer-cell *matFooterCellDef>
  634. ${{
  635. consolidado_proyeccion.total_monto_recibir | number: "1.2-4"
  636. }}
  637. </td>
  638. </ng-container>
  639. <ng-container matColumnDef="capital_restante">
  640. <th mat-header-cell *matHeaderCellDef>Monto a recibir</th>
  641. <td mat-cell *matCellDef="let row">
  642. ${{
  643. row.capital_restante == "" ||
  644. row.capital_restante == undefined
  645. ? "0"
  646. : row.capital_restante
  647. }}
  648. </td>
  649. <td mat-footer-cell *matFooterCellDef>
  650. ${{
  651. consolidado_proyeccion.total_capital_restante
  652. | number: "1.2-4"
  653. }}
  654. </td>
  655. </ng-container>
  656. <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
  657. <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
  658. <tr mat-footer-row *matFooterRowDef="displayedColumns"></tr>
  659. </table>
  660. </div>
  661. </div>
  662. </div>
  663. </div>
  664. </div>