Send daily email with letter and sheet volumes to DVLA

This commit is contained in:
Pea Tyczynska
2021-02-17 17:47:00 +00:00
parent 6dab63130d
commit e0c73ac342
6 changed files with 148 additions and 14 deletions

View File

@@ -784,6 +784,8 @@ def dao_get_letters_and_sheets_volume_by_postage(print_run_deadline):
Notification.key_type == KEY_TYPE_NORMAL,
).group_by(
Notification.postage
).order_by(
Notification.postage
).all()
return notifications