Freigabe #4
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user