Fixes #270 and Fixes #297 : Combined email expiry notifications for resources that are expiring soon. Also included more information given to the user for email notifications for resources expiring soon and expired resources.
Tested using task tests for #270 and included more statuses to test such as 'Payment Pending', 'Payment Requested', 'Unpaid' . Also tested different allocation attribute values for 'EXPIRE NOTIFICATION'.
Update: Fixes #289 : Edited original commit to send emails to center staff for allocations that have expired. This is configurable by setting 'ADMIN EXPIRE NOTIFICATION' allocation attribute to 'No' if receiving emails for a specific allocation is not desired. Need to run 'coldfront add_allocation_defualts' to update allocation choices.
Fixes #270 and Fixes #297 : Combined email expiry notifications for resources that are expiring soon. Also included more information given to the user for email notifications for resources expiring soon and expired resources.
Tested using task tests for #270 and included more statuses to test such as 'Payment Pending', 'Payment Requested', 'Unpaid' . Also tested different allocation attribute values for 'EXPIRE NOTIFICATION'.
Update: Fixes #289 : Edited original commit to send emails to center staff for allocations that have expired. This is configurable by setting 'ADMIN EXPIRE NOTIFICATION' allocation attribute to 'No' if receiving emails for a specific allocation is not desired. Need to run 'coldfront add_allocation_defualts' to update allocation choices.