X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2794f75fd58d78a1229b7b0d62d5fcb958d241b9..487d4f1f6ccd3e22c05469f679bf5d0685914611:/SL/OE.pm diff --git a/SL/OE.pm b/SL/OE.pm index 535006598..4662f5046 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -628,6 +628,10 @@ sub retrieve { ($form->{currency}) = split /:/, $form->{currencies}; + # set reqdate if this is an invoice->order conversion. If someone knows a better check to ensure + # we come from invoices, feel free. + $form->{reqdate} = $form->{deliverydate} if ($form->{deliverydate} and $form->{callback} =~ /action=ar_transactions/); + if ($form->{id} or @ids) { # retrieve order for single id