There are 3 modals on the boraccount.tt page which should be moved into the modals directory and included from there: -Issue payout modal - Issue refund modal -Apply discount modal
Created attachment 163738 [details] [review] Bug 36408: Move issue payout modal to include To test: 1. APPLY PATCH 2. Go to the transaction tab on a patron account and "Create manual credit" 3. Now go to the transaction page and look for the "Payout amount" button 4. Make sure the modal loads properly and you can make a full payout and a partial payout. 5. Turn on "UseCashRegisters" and make a new register. 6. Ensure you can select the register correctly when paying out.
Created attachment 163739 [details] [review] Bug 36408: Move issue refund modal to include To test: 1. APPLY PATCH 2. Go to the transaction tab on a patron account and "Create manual invoice". 3. Pay it. 4. Go to the transaction tab on a patron account and look for the "Issue refund" button. 5. Make sure the modal loads and properly and you make a full refund and a patrion one. 6. Turn on "UseCashRegisters" and make a new register. 7. Ensure you can select the register correctly when issuing a refund.
Created attachment 163740 [details] [review] Bug 36408: Move apply discount modal to include To test: 1. APPLY PATCH 2. Go to the transaction tab on a patron account and "Create manual invoice". 3. Now go to the transaction tab for that patron and attempt to apply a discount. 4. Make sure the modal loads properly and you are able to apply the discount.
With these patches applied the Apply Discount button didn't do anything at all when clicked.