Skip to content

Commit

Permalink
fix(inserimento-massivo): controllo stringente formato durata servizi…
Browse files Browse the repository at this point in the history
…o 20241114
  • Loading branch information
sgravinadxc committed Nov 15, 2024
1 parent d1900f3 commit 4b40826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fe-piattaforma/src/utils/csvUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const validateFields = (
}

if (record.SE2) {
if (record.SE2.length = 5) {
if (record.SE2.length == 5) {
const valoreDurataServizio = record.SE2.trim().substring(0, 5);
if (
!containsOnlyNumber(valoreDurataServizio.substring(0, 1)) ||
Expand Down

0 comments on commit 4b40826

Please sign in to comment.