|
@@ -28,6 +28,14 @@
|
|
|
<h4 class="card-title">
|
|
<h4 class="card-title">
|
|
|
Información de la proyección para la fecha: {{ projectionDate }}
|
|
Información de la proyección para la fecha: {{ projectionDate }}
|
|
|
</h4>
|
|
</h4>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="alert alert-customized" *ngIf="projection_exists">
|
|
|
|
|
+ <h4>Estado:</h4>
|
|
|
|
|
+ <div class="field">
|
|
|
|
|
+ {{ projectionRes.estado }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
<div class="income-summary" *ngIf="projection_exists">
|
|
<div class="income-summary" *ngIf="projection_exists">
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
@@ -50,12 +58,7 @@
|
|
|
{{ projectionRes.tipo_instrumento }}
|
|
{{ projectionRes.tipo_instrumento }}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="col-lg-3 col-md-4 col-sm-6">
|
|
|
|
|
- <h4>Estado:</h4>
|
|
|
|
|
- <div class="field">
|
|
|
|
|
- {{ projectionRes.estado }}
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+
|
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
|
<h4>Capital:</h4>
|
|
<h4>Capital:</h4>
|
|
|
<div class="field">
|
|
<div class="field">
|
|
@@ -85,8 +88,8 @@
|
|
|
|
|
|
|
|
<br />
|
|
<br />
|
|
|
<br />
|
|
<br />
|
|
|
- <div *ngIf="!has_conciliate">
|
|
|
|
|
- <h4 class="card-title">
|
|
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <h4 class="card-title" *ngIf="showIncomeForm">
|
|
|
Formulario para ingreso
|
|
Formulario para ingreso
|
|
|
</h4>
|
|
</h4>
|
|
|
|
|
|
|
@@ -94,6 +97,7 @@
|
|
|
<form
|
|
<form
|
|
|
class="form-auth-small ng-untouched ng-pristine ng-valid"
|
|
class="form-auth-small ng-untouched ng-pristine ng-valid"
|
|
|
[formGroup]="investmentProposalForm"
|
|
[formGroup]="investmentProposalForm"
|
|
|
|
|
+ *ngIf="showIncomeForm"
|
|
|
>
|
|
>
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
<!-- Valor nominal -->
|
|
<!-- Valor nominal -->
|
|
@@ -329,6 +333,9 @@
|
|
|
rows="2"
|
|
rows="2"
|
|
|
class="form-control"
|
|
class="form-control"
|
|
|
formControlName="comentario"
|
|
formControlName="comentario"
|
|
|
|
|
+ [ngClass]="{
|
|
|
|
|
+ 'is-invalid': submitted && f.comentario.errors
|
|
|
|
|
+ }"
|
|
|
></textarea>
|
|
></textarea>
|
|
|
<div
|
|
<div
|
|
|
*ngIf="submitted && f.comentario.errors"
|
|
*ngIf="submitted && f.comentario.errors"
|
|
@@ -340,27 +347,29 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
- <div class="col-lg-12 col-sm-12 pr-xl-12">
|
|
|
|
|
- <br />
|
|
|
|
|
- <button
|
|
|
|
|
- class="btn btn-primary center-component float-left"
|
|
|
|
|
- type="button"
|
|
|
|
|
- [disabled]="cantConciliate"
|
|
|
|
|
- (click)="conciliateIncome()"
|
|
|
|
|
- >
|
|
|
|
|
- Conciliar ingreso
|
|
|
|
|
- </button>
|
|
|
|
|
- <button
|
|
|
|
|
- class="btn btn-success center-component float-right"
|
|
|
|
|
- type="submit"
|
|
|
|
|
- (click)="submitIncome(investmentProposalForm)"
|
|
|
|
|
- >
|
|
|
|
|
- Guardar información de ingreso
|
|
|
|
|
- </button>
|
|
|
|
|
- </div>
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</form>
|
|
</form>
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="col-lg-12 col-sm-12 pr-xl-12">
|
|
|
|
|
+ <br />
|
|
|
|
|
+ <button
|
|
|
|
|
+ class="btn btn-primary center-component float-left"
|
|
|
|
|
+ type="button"
|
|
|
|
|
+ [disabled]="cantConciliate"
|
|
|
|
|
+ (click)="conciliateIncome()"
|
|
|
|
|
+ >
|
|
|
|
|
+ Conciliar ingreso
|
|
|
|
|
+ </button>
|
|
|
|
|
+ <button
|
|
|
|
|
+ class="btn btn-success center-component float-right"
|
|
|
|
|
+ type="submit"
|
|
|
|
|
+ (click)="submitIncome(investmentProposalForm)"
|
|
|
|
|
+ *ngIf="showIncomeForm"
|
|
|
|
|
+ >
|
|
|
|
|
+ Guardar información de ingreso
|
|
|
|
|
+ </button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
<br />
|
|
<br />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|