#7897 - masterTest_24_36 #2909
|
@ -19,7 +19,6 @@ BEGIN
|
||||||
JOIN sale s ON s.ticketFk = t.id
|
JOIN sale s ON s.ticketFk = t.id
|
||||||
JOIN itemTaxCountry itc ON itc.itemFk = s.itemFk
|
JOIN itemTaxCountry itc ON itc.itemFk = s.itemFk
|
||||||
WHERE t.refFk IS NULL
|
WHERE t.refFk IS NULL
|
||||||
AND DATE(t.shipped) > util.VN_CURDATE()
|
|
||||||
AND (
|
AND (
|
||||||
(vScope = 'client' AND t.clientFk = vId)
|
(vScope = 'client' AND t.clientFk = vId)
|
||||||
OR (vScope = 'address' AND t.addressFk = vId)
|
OR (vScope = 'address' AND t.addressFk = vId)
|
||||||
|
|
Loading…
Reference in New Issue