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:
35859a9
)
Left to allocate is showing wrong. Fixed by a rerun by @notrinos.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 13 Sep 2018 07:05:56 +0000
(09:05 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 13 Sep 2018 07:05:56 +0000
(09:05 +0200)
includes/ui/ui_view.inc
patch
|
blob
|
history
diff --git
a/includes/ui/ui_view.inc
b/includes/ui/ui_view.inc
index 3af7ed4a7ca8eb5583e39e8bae004b2fb04c3024..9030ca90c9db22d88a926c111347669bf70b33f0 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['alloc']);
amount_cell($alloc_row['amt']);
- amount_cell($alloc_row['Total'] - $alloc_row['amt']);
end_row();
$total_allocated += $alloc_row['amt'];