feat: refs #3199 Added more scopes ticket_recalcByScope
gitea/salix/pipeline/pr-dev Build queued...
Details
gitea/salix/pipeline/pr-dev Build queued...
Details
This commit is contained in:
parent
4d7ac901c6
commit
1ba6bf9a9c
|
@ -19,7 +19,7 @@ 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
|
||||||
DATE(t.shipped) > util.VN_CURDATE()
|
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