salix/print/templates/reports/balance-compensation/sql/client.sql

12 lines
251 B
MySQL
Raw Normal View History

2022-10-28 12:49:22 +00:00
SELECT
c.name,
c.socialName,
c.street,
c.fi,
c.city,
r.amountPaid,
r.payed
2022-11-03 07:08:24 +00:00
FROM client c
2022-11-02 14:54:23 +00:00
JOIN receipt r ON r.clientFk = c.id
JOIN supplier s ON c.fi = s.nif
2022-11-03 07:08:24 +00:00
WHERE r.id = ?