From 35859a9eeec414240fe0bb94af128ab84ee4e278 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 12 Sep 2018 22:27:40 +0200 Subject: [PATCH] Left to allocate is showing wrong. Fixed by @notrinos. --- includes/ui/ui_view.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc index 960afb0b..3af7ed4a 100644 --- 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']; -- 2.30.2