Added Errors for Plant and Contract

This commit is contained in:
2025-10-09 17:02:30 +02:00
parent 0a9731be37
commit 33411c4e7d

View File

@@ -646,6 +646,8 @@ const findDocumentErrors = computed(() => {
})
if (itemInfo.value.project === null) errors.push({message: "Es ist kein Projekt ausgewählt", type: "info"})
if (itemInfo.value.plant === null) errors.push({message: "Es ist kein Objekt ausgewählt", type: "info"})
if (itemInfo.value.contract === null) errors.push({message: "Es ist kein Vertrag ausgewählt", type: "info"})
if (['Lieferzeitraum', 'Leistungszeitraum'].includes(itemInfo.value.deliveryDateType) && itemInfo.value.type !== "serialInvoices") {
if (itemInfo.value.deliveryDateEnd === null) errors.push({