Show the PendingApprovals in the admin module.
Don't show the daytype on the accept_edit form.
Use a select box for the status of the approval rather than two submit buttons.
Added the PendingApproval model.
Whitespace.
Use the PendingApproval model to validate whether a required ApprovalEntry has been requested.
Only open entries should still allow approvals/editing in the accept_edit view.
Added the logic on the PendingApproval model for when the entry is approved or denied.
PendingApproval.closed now takes a boolean to indicate whether we were approved or not.
Remove unused url.
Refactored the logic of checking if a approval view was valid and authorized into a decorator.
Put the id of the entry into the form so we know what we're talking about when we get posted back to.
Use the refactored functions when checking if we're sending overtime or undertime notifications.
Create approval requests instead of actually proceeding with them when we get an entry which requires approval.
Added a quick template to show the success of the approval.