From 91241b9f52c71b1d01cd75c0525b1ad677d2ff3e Mon Sep 17 00:00:00 2001 From: gaby Date: Thu, 11 Feb 2021 18:52:24 +0100 Subject: [PATCH] update --- workflow/rechnungseingang-de-1.0.5.bpmn | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/workflow/rechnungseingang-de-1.0.5.bpmn b/workflow/rechnungseingang-de-1.0.5.bpmn index abf1535..6f33425 100644 --- a/workflow/rechnungseingang-de-1.0.5.bpmn +++ b/workflow/rechnungseingang-de-1.0.5.bpmn @@ -1185,15 +1185,11 @@ Bei Fragen wenden Sie sich bitte an info@imixs.com - var a=workitem.get("invoice.total")[0]; - -workitem['payment.type'] && workitem['payment.type'][0]!="direct_debit" && a>0 + workitem['payment.type'] && workitem['payment.type'][0]!="direct_debit" && workitem['payment.type'][0]!="credit" - var a=workitem.get("invoice.total")[0]; - -!(workitem['payment.type'] && workitem['payment.type'][0]!="direct_debit" && a>0) + workitem['payment.type'] && (workitem['payment.type'][0]=="direct_debit" || workitem['payment.type'][0]=="credit")