-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IO - Cambio en entidades formadoras (#218)
* fix(MAT-128): Deshabilitar el botón Confirmar-Datos (MAT) * (IO-25): cambio en entidad formadora --------- Co-authored-by: aldoEMatamala <[email protected]>
- Loading branch information
1 parent
c64de1c
commit 061c162
Showing
4 changed files
with
27 additions
and
50 deletions.
There are no files selected for viewing
32 changes: 19 additions & 13 deletions
32
src/app/components/profesionales/formacionGrado/formacion-grado-form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,41 @@ | ||
<plex-accordion> | ||
<plex-panel tituloPrincipal="Nuevo Grado" icon="plus-circle" [active]="activeAcc" (toggle)="activarPanel($event)" > | ||
<plex-panel tituloPrincipal="Nuevo Grado" icon="plus-circle" [active]="activeAcc" (toggle)="activarPanel($event)"> | ||
<div *ngIf="activeAcc" class="row"> | ||
<div class="col"> | ||
<form #posgrado='ngForm'> | ||
<div class="row"> | ||
<div class="col-4"> | ||
<plex-select label="Profesión" [(ngModel)]="profesionalGrado.profesion" name="profesion" (getData)="loadProfesiones($event)" [required]="true" [readonly]="!profesional.habilitado"></plex-select> | ||
<plex-select label="Profesión" [(ngModel)]="profesionalGrado.profesion" name="profesion" | ||
(getData)="loadProfesiones($event)" [required]="true" | ||
[readonly]="!profesional.habilitado"></plex-select> | ||
</div> | ||
<div class="col-md-4"> | ||
<plex-text label="Título" [(ngModel)]="profesionalGrado.titulo" name='titulo' [required]="true" [readonly]="!profesional.habilitado"></plex-text> | ||
<plex-text label="Título" [(ngModel)]="profesionalGrado.titulo" name='titulo' [required]="true" | ||
[readonly]="!profesional.habilitado"></plex-text> | ||
</div> | ||
<div class="col-md-4"> | ||
<plex-datetime label="Fecha de Egreso" type="date" [(ngModel)]="profesionalGrado.fechaEgreso" name='fechaEgreso' [required]="true" [readonly]="!profesional.habilitado"></plex-datetime> | ||
<plex-datetime label="Fecha de Egreso" type="date" [(ngModel)]="profesionalGrado.fechaEgreso" | ||
name='fechaEgreso' [required]="true" [readonly]="!profesional.habilitado"></plex-datetime> | ||
</div> | ||
<div class="col-6"> | ||
<plex-select label="Institucion Formadora" *ngIf="!showOtraEntidadFormadora" [(ngModel)]="profesionalGrado.entidadFormadora" name="entidadFormadora" (getData)="loadEntidadesFormadoras($event)" [required]="true" [readonly]="!profesional.habilitado"></plex-select> | ||
<plex-text *ngIf="showOtraEntidadFormadora" name='entidad' label="Otra Entidad Formadora" [(ngModel)]="profesionalGrado.entidadFormadora.nombre" [required]="true" [readonly]="!profesional.habilitado"></plex-text> | ||
</div> | ||
<div class="col d-flex align-items-end my-1"> | ||
<plex-bool [(ngModel)]="showOtraEntidadFormadora" label="Otra Entidad Formadora" (change)='otraEntidad(profesionalGrado)' name="noPoseDNI" [readonly]="!profesional.habilitado"></plex-bool> | ||
<plex-select label="Institucion Formadora" [(ngModel)]="profesionalGrado.entidadFormadora" | ||
name="entidadFormadora" (getData)="loadEntidadesFormadoras($event)" [required]="true" | ||
[readonly]="!profesional.habilitado"></plex-select> | ||
</div> | ||
|
||
</div> | ||
<div class="row"> | ||
<div class="col"> | ||
<plex-button *ngIf="profesional.habilitado" label="Guardar" type="success" class="float-right" (click)="onSubmit($event,posgrado)" validateForm="true"></plex-button> | ||
<plex-button label="Cancelar" type="danger" class="float-right mr-1" (click)="cerrar(posgrado)"></plex-button> | ||
<plex-button *ngIf="!profesional.habilitado" disabled="true" label="Guardar" type="success" class="float-right" (click)="onSubmit($event,posgrado)" validateForm="true"></plex-button> | ||
<plex-button *ngIf="profesional.habilitado" label="Guardar" type="success" class="float-right" | ||
(click)="onSubmit($event,posgrado)" validateForm="true"></plex-button> | ||
<plex-button label="Cancelar" type="danger" class="float-right mr-1" | ||
(click)="cerrar(posgrado)"></plex-button> | ||
<plex-button *ngIf="!profesional.habilitado" disabled="true" label="Guardar" type="success" | ||
class="float-right" (click)="onSubmit($event,posgrado)" validateForm="true"></plex-button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</plex-panel> | ||
</plex-accordion> | ||
</plex-accordion> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters