Feature: Discuss an approval with comments and files 

Description 

listApprovalComments, createApprovalComment and deleteApprovalComment let the requester, whoever was assigned to or decided a step, substitutes included, and HR discuss any approval, pending or decided: a text of up to 2000 characters with up to five PDF, JPEG or PNG files of 10 MB each, served by getApprovalCommentFile. Only the author deletes a comment, which keeps a marker with author and time and drops text and files. A comment is no decision. The other participants receive approval.commentAdded. Leave requests show the discussion.

Impact 

The new tables approval_comment and approval_comment_attachment keep the comments; the files lie under var/storage/approval-comments outside the web root.