|
|
@@ -112,7 +112,10 @@
|
|
|
type="text"
|
|
|
formControlName="capital"
|
|
|
class="form-control"
|
|
|
- [value]="investmentProposalForm.get('capital').value | numberPipe"
|
|
|
+ [value]="
|
|
|
+ investmentProposalForm.get('capital').value
|
|
|
+ | numberPipe
|
|
|
+ "
|
|
|
(input)="inputValidator($event)"
|
|
|
[ngClass]="{
|
|
|
'is-invalid': submitted && f.capital.errors
|
|
|
@@ -144,7 +147,10 @@
|
|
|
<input
|
|
|
type="text"
|
|
|
formControlName="ingreso_bruto"
|
|
|
- [value]="investmentProposalForm.get('ingreso_bruto').value | numberPipe"
|
|
|
+ [value]="
|
|
|
+ investmentProposalForm.get('ingreso_bruto')
|
|
|
+ .value | numberPipe
|
|
|
+ "
|
|
|
(input)="inputValidator($event)"
|
|
|
class="form-control"
|
|
|
[ngClass]="{
|
|
|
@@ -178,7 +184,10 @@
|
|
|
<input
|
|
|
type="text"
|
|
|
formControlName="ingreso_neto"
|
|
|
- [value]="investmentProposalForm.get('ingreso_neto').value | numberPipe"
|
|
|
+ [value]="
|
|
|
+ investmentProposalForm.get('ingreso_neto')
|
|
|
+ .value | numberPipe
|
|
|
+ "
|
|
|
(input)="inputValidator($event)"
|
|
|
class="form-control"
|
|
|
[ngClass]="{
|
|
|
@@ -299,27 +308,24 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
<div class="col-lg-6 col-sm-12 pr-xl-3">
|
|
|
<div class="form-group">
|
|
|
- <label for="cuenta_bancaria">Cuenta bancaria: </label>
|
|
|
+ <label for="cuenta_bancaria"
|
|
|
+ >Cuenta bancaria destino:
|
|
|
+ </label>
|
|
|
|
|
|
<select
|
|
|
class="custom-select"
|
|
|
formControlName="cuenta_bancaria"
|
|
|
- [ngClass]="{
|
|
|
- 'is-invalid':
|
|
|
- submitted && f.cuenta_bancaria.errors
|
|
|
- }"
|
|
|
>
|
|
|
<option
|
|
|
- *ngFor="let item of accounts"
|
|
|
+ *ngFor="let item of accounts_destination"
|
|
|
[value]="item.id_cuenta_bancaria"
|
|
|
>
|
|
|
- {{ nameBankAccounts(item.id_banco) }} -
|
|
|
{{ item.nombre }}</option
|
|
|
>
|
|
|
</select>
|
|
|
+
|
|
|
<div
|
|
|
*ngIf="submitted && f.cuenta_bancaria.errors"
|
|
|
class="invalid-feedback"
|