Freigabe #4

Merged
bjoernpoettker merged 23 commits from Freigabe into main 2026-06-16 14:49:23 +00:00
Showing only changes of commit 1698eba968 - Show all commits
@@ -220,7 +220,7 @@ export class AgrarmonitorPollingService implements OnModuleInit {
}
}
if (!amDoc.eingangsDatum) {
if (!amDoc.eingangsDatum && amDoc.belegNummer) {
const eingangsdatumField = ((doc.custom_fields as any[]) ?? []).find(
(cf: any) => cf.field === EINGANGSDATUM_FIELD_ID,
);
@@ -233,7 +233,7 @@ export class AgrarmonitorPollingService implements OnModuleInit {
}
}
if (!amDoc.buchungsDatum) {
if (amDoc.buchungsDatum) {
try {
let correspondentId: number | undefined;
const customer = customers.find((c) => Number(c.id) === amDoc.kundenId);