parent
ce3b6d78eb
commit
96c404a411
@ -1,2 +1,27 @@ |
|||||||
<app-nav-menu></app-nav-menu> |
<app-nav-menu></app-nav-menu> |
||||||
<h1> Formation </h1> |
|
||||||
|
<ng-container *ngIf="formation!=undefined"> |
||||||
|
<h2> {{formation.intitule}} </h2> |
||||||
|
<ng-container> |
||||||
|
<h3>Informations générales</h3> |
||||||
|
<button mat-raised-button *ngIf="formation.statut!=2">Modifier</button> |
||||||
|
<p>Etat : {{getStatut(formation.statut)}}</p> |
||||||
|
<p>{{dateTexte}} {{formation.dateDebut | date:"dd/MM/yyyy"}}</p> |
||||||
|
<p>Origine : {{formation.origine}}</p> |
||||||
|
<p>Organisme : {{ formation.organisme}}</p> |
||||||
|
<p>Mode formation : {{ formation.modeFormation}}</p> |
||||||
|
<p>Type formation : {{ formation.typeFormation}}</p> |
||||||
|
</ng-container> |
||||||
|
<ng-container> |
||||||
|
<h3>Liste des participants</h3> |
||||||
|
<mat-table [dataSource]=dataSource> |
||||||
|
</mat-table> |
||||||
|
|
||||||
|
</ng-container> |
||||||
|
</ng-container> |
||||||
|
POSER DES QUESTIONS A HELEN |
||||||
|
Heures/Jours |
||||||
|
Mode de formation, type de formation |
||||||
|
|
||||||
|
CREER LES PARTICIPATIONS |
||||||
|
<mat-spinner *ngIf="formation==undefined"></mat-spinner> |
||||||
|
@ -0,0 +1,10 @@ |
|||||||
|
import { FormationModel } from "@shared/api-swagger/model/models"; |
||||||
|
|
||||||
|
export class DisplayFormation { |
||||||
|
id: number; |
||||||
|
intitule: string; |
||||||
|
nbParticipants : number; |
||||||
|
datePrevu: Date; |
||||||
|
origine : string; |
||||||
|
statut: FormationModel.StatusEnum; |
||||||
|
} |
@ -0,0 +1,8 @@ |
|||||||
|
|
||||||
|
|
||||||
|
export class displayParticipation { |
||||||
|
id: number; |
||||||
|
intitule: string; |
||||||
|
collaborateur: string; |
||||||
|
referent: string; |
||||||
|
} |
@ -0,0 +1,3 @@ |
|||||||
|
export * from "./displayEP"; |
||||||
|
export * from "./displayCollaborateur"; |
||||||
|
export * from "./displayFormation"; |
Loading…
Reference in new issue