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