End of year report now displays date properly
This commit is contained in:
parent
f8992794e7
commit
de5ccb9ce6
1 changed files with 2 additions and 2 deletions
|
@ -609,11 +609,11 @@ UNION DISTINCT
|
||||||
aggregate_dons = %Q(
|
aggregate_dons = %Q(
|
||||||
array_to_string(
|
array_to_string(
|
||||||
array_agg(
|
array_agg(
|
||||||
payments.created_at::date || ' ' ||
|
payments.date::date || ' ' ||
|
||||||
(payments.gross_amount / 100)::text::money || ' ' ||
|
(payments.gross_amount / 100)::text::money || ' ' ||
|
||||||
coalesce(payments.kind, '') || ' ' ||
|
coalesce(payments.kind, '') || ' ' ||
|
||||||
coalesce(payments.towards, '')
|
coalesce(payments.towards, '')
|
||||||
ORDER BY payments.created_at DESC
|
ORDER BY payments.date DESC
|
||||||
),
|
),
|
||||||
'\n'
|
'\n'
|
||||||
) AS "Payment History"
|
) AS "Payment History"
|
||||||
|
|
Loading…
Reference in a new issue