augustin-wien / augustina-backend

An open-source web shop designed for selling magazines on the street.
GNU Affero General Public License v3.0
7 stars 0 forks source link

Add statistics endpoint #138

Closed jofmi closed 11 months ago

jofmi commented 11 months ago

Type of change

Description

New endpoint payments/statistics/, which shows the sum of amount and quantity, sorted by items, and filterable by date range.

Checklist:

jofmi commented 11 months ago

Code looks good! I have one small feature request: Can you add the searched timerange to the response like starting time and ending time to be able to export it via CSV for the accounting staff?

done!