fixed no matrice no import

This commit is contained in:
2026-10-26 14:08:01 +01:00
parent 2f0f1135ac
commit 53644fb6cf
+8
View File
@@ -2303,6 +2303,14 @@ $isEdit = ($worksheet_id > 0);
});
return;
}
if (!$('#idmatrice').val()) {
Swal.fire({
icon: 'warning',
title: 'Seleziona prima la matrice',
text: 'Scegli la matrice / profilo, poi importa l’Excel.'
}).then(() => $('#idmatrice').select2('open'));
return;
}
$('#xlsxImportInput').val('').click();
});