meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| certif:procedure:develop:angular:validator [2026/03/13 16:58] – [L'organisation des tests] nicolas | certif:procedure:develop:angular:validator [2026/05/21 11:50] (Version actuelle) – [Tests "manuels"] nicolas | ||
|---|---|---|---|
| Ligne 40: | Ligne 40: | ||
| } | } | ||
| </ | </ | ||
| + | | ||
| + | ==== Tests " | ||
| + | < | ||
| + | test_warning(){ | ||
| + | this.Notification.videWarning(); | ||
| + | if (this.personne.dateFinConservation) { | ||
| + | const aujourdhui = new Date(); aujourdhui.setHours(0, | ||
| + | if (this.personne.dateFinConservation && new Date(this.personne.dateFinConservation) < aujourdhui) { | ||
| + | this.Notification.ajouteWarning(' | ||
| + | else { | ||
| + | const bientot = new Date(); aujourdhui.setHours(0, | ||
| + | if (this.personne.dateFinConservation && new Date(this.personne.dateFinConservation) < bientot) { | ||
| + | this.Notification.ajouteWarning(' | ||
| + | } | ||
| + | } | ||
| + | } else {this.Notification.ajouteWarning(' | ||
| + | } | ||
| + | </ | ||
| + | \\ | ||
| + | < | ||
| + | private triggerValidation() { | ||
| + | this.Notification.analyseStockValidation(" | ||
| + | if ((this.SIREN=="" | ||
| + | this.Notification.ajouteErreur(" | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ==== Le service " | ||
| + | Il publie plusieurs fonctions : | ||
| + | |analyseStockValidation(validateGroup: | ||
| + | |||