End of year report now displays date properly

This commit is contained in:
Eric Schultz 2019-01-24 14:33:55 -06:00
parent f8992794e7
commit de5ccb9ce6

View file

@ -609,11 +609,11 @@ UNION DISTINCT
aggregate_dons = %Q(
array_to_string(
array_agg(
payments.created_at::date || ' ' ||
payments.date::date || ' ' ||
(payments.gross_amount / 100)::text::money || ' ' ||
coalesce(payments.kind, '') || ' ' ||
coalesce(payments.towards, '')
ORDER BY payments.created_at DESC
ORDER BY payments.date DESC
),
'\n'
) AS "Payment History"