mirror of
https://github.com/itflow-org/itflow
synced 2026-03-17 11:14:50 +00:00
Merge branch '0.1.8.4' of https://github.com/twetech/itflow into 0.1.8.4
This commit is contained in:
@@ -137,13 +137,14 @@ if (isset($_GET['client_id'])) {
|
|||||||
payments.payment_amount,
|
payments.payment_amount,
|
||||||
payments.payment_reference,
|
payments.payment_reference,
|
||||||
invoices.invoice_number,
|
invoices.invoice_number,
|
||||||
invoices.invoice_prefix
|
invoices.invoice_prefix,
|
||||||
|
invoices.invoice_client_id
|
||||||
FROM
|
FROM
|
||||||
payments
|
payments
|
||||||
LEFT JOIN
|
LEFT JOIN
|
||||||
invoices ON payments.payment_invoice_id = invoices.invoice_id
|
invoices ON payments.payment_invoice_id = invoices.invoice_id
|
||||||
WHERE
|
WHERE
|
||||||
payment_account_id = $client_id
|
invoice_client_id = $client_id
|
||||||
AND payment_archived_at IS NULL
|
AND payment_archived_at IS NULL
|
||||||
ORDER BY
|
ORDER BY
|
||||||
payment_date DESC";
|
payment_date DESC";
|
||||||
|
|||||||
Reference in New Issue
Block a user