hedera-web/rest/dms/invoice.sql

6 lines
129 B
SQL

SELECT CONCAT_WS('/', c.pdfs_dir, invoiceGetPath(#invoice))
FROM config c
JOIN invoice_view i
WHERE i.invoice_id = #invoice