Skip to content

Commit

Permalink
Feat : Retour arrière sur pagination + correction bug affichage ILN d…
Browse files Browse the repository at this point in the history
…ans webdto
  • Loading branch information
pierre-maraval committed May 15, 2024
1 parent affb161 commit 95ee08c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions web/src/main/java/fr/abes/item/dto/DemandeExempWebDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public DemandeExempWebDto(DemandeExemp demande) {
String dateModification = format.format(demande.getDateModification());
this.id = demande.getId();
this.rcr = demande.getRcr();
this.iln = demande.getIln();
if (demande.getEtatDemande() != null)
this.etatDemande = demande.getEtatDemande().getLibelle();
this.commentaire = demande.getCommentaire();
Expand Down
7 changes: 5 additions & 2 deletions web/src/main/java/fr/abes/item/dto/DemandeModifWebDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@ public DemandeModifWebDto(DemandeModif demande) {
String dateModification = format.format(demande.getDateModification());
this.id = demande.getId();
this.rcr = demande.getRcr();
this.etatDemande = demande.getEtatDemande().getLibelle();
this.iln = demande.getIln();
if (demande.getEtatDemande() != null)
this.etatDemande = demande.getEtatDemande().getLibelle();
this.commentaire = demande.getCommentaire();
this.pourcentageProgressionTraitement = demande.getPourcentageProgressionTraitement();
this.dateCreation = dateCreation;
this.dateModification = dateModification;
this.zoneEtSousZone = demande.getZone() + " " + demande.getSousZone();
this.traitement = demande.getTraitement().getLibelle();
if (demande.getTraitement() != null)
this.traitement = demande.getTraitement().getLibelle();
}
}
7 changes: 5 additions & 2 deletions web/src/main/java/fr/abes/item/dto/DemandeRecouvWebDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ public DemandeRecouvWebDto(DemandeRecouv demande) {
String dateModification = format.format(demande.getDateModification());
this.id = demande.getId();
this.rcr = demande.getRcr();
this.etatDemande = demande.getEtatDemande().getLibelle();
this.iln = demande.getIln();
if (demande.getEtatDemande() != null)
this.etatDemande = demande.getEtatDemande().getLibelle();
this.commentaire = demande.getCommentaire();
this.pourcentageProgressionTraitement = demande.getPourcentageProgressionTraitement();
this.dateCreation = dateCreation;
this.dateModification = dateModification;
this.indexRecherche = demande.getIndexRecherche().getLibelle();
if (demande.getIndexRecherche() != null)
this.indexRecherche = demande.getIndexRecherche().getLibelle();
}
}

0 comments on commit 95ee08c

Please sign in to comment.