YaleSTC / shifts

Application to easily track shifts, reports, and payforms for employees.
MIT License
23 stars 18 forks source link

Filter out future payforms for printing #445

Open njlxyaoxinwei opened 9 years ago

njlxyaoxinwei commented 9 years ago

Sometimes students submit the wrong payform (i.e. the one ending next week) on Sunday or Monday and if admin prints it, they cannot add times to it anymore. These rows in the printed CSV is useless anyways because the person processing the CSV removes all rows with future end-dates.

We should filter out all approved future payforms for printing (i.e. the creation of payform_set). Maybe we should still add the option for the admin to print them regardless, but it is not the most common case.