projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01ce09
)
Left to allocate is showing wrong. Fixed by @notrinos.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 12 Sep 2018 20:27:40 +0000
(22:27 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 12 Sep 2018 20:27:40 +0000
(22:27 +0200)
includes/ui/ui_view.inc
patch
|
blob
|
history
diff --git
a/includes/ui/ui_view.inc
b/includes/ui/ui_view.inc
index 960afb0b4e052fe66e9766af99419565bf6a9538..3af7ed4a7ca8eb5583e39e8bae004b2fb04c3024 100644
(file)
--- a/
includes/ui/ui_view.inc
+++ b/
includes/ui/ui_view.inc
@@
-560,8
+560,8
@@
function display_allocations($alloc_result, $total, $title, $show_summary=true)
if ($alloc_row['type'] == ST_SUPPAYMENT || $alloc_row['type'] == ST_BANKPAYMENT || $alloc_row['type'] == ST_SUPPCREDIT)
$alloc_row['Total'] = -$alloc_row['Total'];
amount_cell($alloc_row['Total']);
- amount_cell($alloc_row['Total'] - $alloc_row['amt']);
amount_cell($alloc_row['amt']);
+ amount_cell($alloc_row['Total'] - $alloc_row['amt']);
end_row();
$total_allocated += $alloc_row['amt'];