-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to portal #1
base: main
Are you sure you want to change the base?
Conversation
JakeNeyer
commented
Aug 26, 2024
* Export both active and inactive customers * Add additional fields to volunteer export (email, first name, last name, last job, end reason, and end date) * Add ability to make volunteers active/inactive * Remove empty pages from generated route report * Add meal and client count to job overview page * Sort customers in reports alphabetically
@awhicks tagging you for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I left a couple small comments that you don't need to address, just information!
src/pdfs/views.py
Outdated
@@ -321,6 +343,7 @@ def monthly_billing_report(request, begin_date, end_date): | |||
date__lte=end_date) .values("date") .annotate( | |||
total_meals=Sum("num_meals")) .order_by("date")) | |||
|
|||
print(date_meals_query) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably don't need this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching that 🙃
@@ -0,0 +1,120 @@ | |||
from django.core.management.base import BaseCommand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing wrong with this, but I think we do have some sample data, it just doesn't have a nice wrapper around if you were looking for something else!