hejkaa czy byłby ktoś w stanie zrobić taki patch do wersji 1.11.13 Dira ?z góry wielkie dzięki
) x ON (x.customerid = d.customerid)
#v- #v+
) x ON (x.customerid = d.customerid) AND c.mailingnotice = 1
#v-FROM customercontacts
WHERE (type & 1) = 1
GROUP BY customerid
+ ) x ON (x.customerid = d.customerid) AND c.mailingnotice = 1
JOIN (SELECT SUM(value) * -1 AS value, docid
FROM cash
GROUP BY docid
#v-