First, when exporting receipts for a site, task logs were dated with the date of the task log entry, not the shift. So if you did a shift on Tuesday, but then waited until Wednesday to enter the log, the log would show the Wednesday date. But now it shows Tuesday.
In addition:
- All sites can generate receipts, not just donors
- Sites have been alphabetized
- Temperature was removed from receipts
I also made the receipt page more REST-ful. Instead of using a POST request to generate a receipt, this switches to a GET action. This is more semantic because POST's semantic meaning is to create records or data and we're not creating anything in the traditional sense here; it's just a filter for a view.
First, when exporting receipts for a site, task logs were dated with the date of the task log entry, not the shift. So if you did a shift on Tuesday, but then waited until Wednesday to enter the log, the log would show the Wednesday date. But now it shows Tuesday.
In addition:
- All sites can generate receipts, not just donors
- Sites have been alphabetized
- Temperature was removed from receipts
I also made the receipt page more REST-ful. Instead of using a POST request to generate a receipt, this switches to a GET action. This is more semantic because POST's semantic meaning is to create records or data and we're not creating anything in the traditional sense here; it's just a filter for a view.