salix/print/templates/reports/claim-pickup-order/sql/sales.sql

8 lines
157 B
MySQL
Raw Normal View History

2020-09-25 12:45:00 +00:00
SELECT
s.id,
s.quantity,
s.concept,
cb.quantity claimQuantity
FROM claimBeginning cb
JOIN sale s ON s.id = cb.saleFk
WHERE cb.claimFk = ?