politeia
politeia copied to clipboard
[cms] Proposal owner invoice approval
The following is the current thinking of how we'll accomplish the functionality for proposal owners to offer invoice approval when the invoice contains a line item that has a proposal token that they own.
- Proposal owners will be able to see invoice details that only pertain to their need for approving: Line items that they control, the contractor rate and the contractor username.
- The proposal owner will give an approval or be able to comment on the invoice.
- If approved it will send a metadata stream update to the backend that will include a proposal-owner signature of a json payload of the line items they were able to review.
- Administrators will not be able to fully approve invoices until proposal owners first approve their line items.
- Proposal owners will be notified of needing to review/approve line items on invoice creation.
- Proposal owners will be allowed to comment on invoices, but will only be able to see threads that they begin. Administrators will be able to see all comment threads.
- Administrators will be given the ability to ping proposal owners that they have reviews waiting on an invoice.
Administrators will be able to see all comment threads.
Will invoice authors see all comments too?
Yes
Currently proposal owners cannot see unpaid billing against their proposals because of #1329 so I guess that one needs a fix first (separately or as part of #1243).