This admin tab can be used by the treasurer to export all orders of a certain month to csv. The treasurer can then use this csv to import to the bookkeeping. This is more efficient for the treasurer. Some remarks:
The old treasurer tab is still available through a button on the sales export tab
There are a few extra options on the sales export tab that were not available on the old treasurer tab, however the default options are the same as the options on the old tab
I have added a new class SalesAdminSubmission that is used to store the values on the html form on the sales export tab. It is placed under src/main/java/ch/wisv/events/core/admin/SalesexportSubmission.java, however, I wasn't certain if this is the right place to store it, let me know if there are better ways to do this.
I have added a test for the sales export page, however it only checks whether a csv is exported and not whether the contents are correct. I also tried to write a test for this, but couldn't get it to work.
This admin tab can be used by the treasurer to export all orders of a certain month to csv. The treasurer can then use this csv to import to the bookkeeping. This is more efficient for the treasurer. Some remarks: