Ticket #232 (closed defect: fixed)
"doc due" field in receipts incorrect with deposit
| Reported by: | nrieb | Owned by: | brieb |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.98 |
| Component: | phpbms | Version: | 0.92 |
| Keywords: | receipts | Cc: |
Description
In the receipts edit page(receipts_addedit.php), after adding money to a deposit and then saving the record, the doc due is twice the amount it should be.
For example, if a client wishes to deposit $300, after I apply this amount to the deposit and save, the "doc due" field displays -$600 rather than -$300.
It seems to be that the script is subtracting the applied amount ($300 in this case) from the doc amount (-$300 in this case). Normally, this would be fine since for non-deposit items, the doc amount would be a positive amount, but with this negative result for deposits it does not seem to work.
Change History
Note: See
TracTickets for help on using
tickets.