5
11
Fork
You've already forked tomato
1

Better site receipts #123

Merged
edwardloveall merged 2 commits from el-better-site-receipts into main 2026年03月24日 15:22:50 +01:00

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.
edwardloveall force-pushed el-better-site-receipts from 3f46206649
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
to ab7f265a54
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026年03月23日 21:26:21 +01:00
Compare
jsilasbailey left a comment
Copy link

🧾

🧾 ✅
edwardloveall force-pushed el-better-site-receipts from ab7f265a54
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
to 7acc5065b4
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026年03月24日 14:53:18 +01:00
Compare
edwardloveall changed target branch from el-shift-changes to main 2026年03月24日 15:22:10 +01:00
edwardloveall deleted branch el-better-site-receipts 2026年03月24日 15:22:51 +01:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rootable/tomato!123
Reference in a new issue
rootable/tomato
No description provided.
Delete branch "el-better-site-receipts"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?