Skip to content

Commit

Permalink
fix(fe-be-data-durata-desc): updates 20240616
Browse files Browse the repository at this point in the history
  • Loading branch information
a-buono committed Jun 16, 2024
1 parent 8afbfb5 commit 1598f1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fe-piattaforma/src/hooks/useCSVProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export function useCSVProcessor(file: File | undefined) {
servizioRequest: {
nomeServizio: serviceName,
data: parsedDate.isValid() ? parsedDate.format('YYYY-MM-DD') : null,
durataServizio: filteredRecord.SE2.trim().substring(0, 4),
durataServizio: filteredRecord.SE2.trim().substring(0, 5),
idEnteServizio: idEnte,
idProgetto: idProgetto,
idEnte: idEnte,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public ElaboratoCSVResponse buildResponse(List<ServiziElaboratiDTO> serviziValid
if (optSezioneQ3Collection.isPresent()) {
String descrizioneMongo = recuperaDescrizioneDaMongo(optSezioneQ3Collection);
if (!descrizioneMongo
.equals(servizioElaborato.getCampiAggiuntiviCSV().getDescrizioneDettagliServizio())) {
.equalsIgnoreCase(servizioElaborato.getCampiAggiuntiviCSV().getDescrizioneDettagliServizio())) {
servizioOpt = Optional.empty();
}
}
Expand Down

0 comments on commit 1598f1a

Please sign in to comment.