Merge branch 'master' into feature/RefactoringGestioneColli
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-10-22 17:26:56 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ public class DocumentRules extends QueryRules {
public static String getCodPagaDocV(DtbDoct dtbDoct) {
if (!UtilityString.isNullOrEmpty(dtbDoct.getDtbTipi().getCodPaga())) {
return dtbDoct.getDtbTipi().getCodPaga();
} else if (UtilityString.isNullOrEmpty(dtbDoct.getVtbClie().getCodPaga())) {
} else if (!UtilityString.isNullOrEmpty(dtbDoct.getVtbClie().getCodPaga())) {
return dtbDoct.getVtbClie().getCodPaga();
}
return null;

View File

@@ -162,6 +162,8 @@ public class UtilityString {
}
public static LocalDate parseLocalDate(String value) throws IOException {
if (value == null || value.isEmpty())
return null;
String format = determineDateFormat(value);
if (format == null) {
try {