This code includes code from bug #1380709 -- I'll rebase to master and remove these commits once said branch is merged (or we they could be merged all together).
From the commit:
To test:
1. Activate a purchase order with at least one lineitem/copy.
2. Create an invoice for the PO.
3. Confirm PO shows same amount encumbered as before invoicing and $0
paid.
4. Close the invoice.
5. Confirm amount encumbered on the PO is reduced by the amount invoiced
and the amount paid on the PO is increased by the amount invoiced.
Code, Perl live test, and release notes pushed:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1333254- invoices- paid-on- close
This code includes code from bug #1380709 -- I'll rebase to master and remove these commits once said branch is merged (or we they could be merged all together).
From the commit:
To test:
1. Activate a purchase order with at least one lineitem/copy.
2. Create an invoice for the PO.
3. Confirm PO shows same amount encumbered as before invoicing and $0
paid.
4. Close the invoice.
5. Confirm amount encumbered on the PO is reduced by the amount invoiced
and the amount paid on the PO is increased by the amount invoiced.