summaryrefslogtreecommitdiff
path: root/UI/payments/payments_detail.html
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 16:39:00 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 16:39:00 +0000
commit0a21178170ff1917204172a7cc1c3f7e73b8f379 (patch)
tree116966af6c93112c16cac3b8924c381da8e78647 /UI/payments/payments_detail.html
parentbca5826c5485e2c1f3d8cfdf36f247826ea4afed (diff)
Undoing svn commit rev 2250
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2251 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/payments/payments_detail.html')
-rw-r--r--UI/payments/payments_detail.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/UI/payments/payments_detail.html b/UI/payments/payments_detail.html
index 6fabf8ca..206d0d59 100644
--- a/UI/payments/payments_detail.html
+++ b/UI/payments/payments_detail.html
@@ -198,8 +198,7 @@
ELSE ; 'name_has_no_vouchers' ;
END
?>"><?lsmb r.contact_name ?></span></td>
- <td class="invoice"><?lsmb INCLUDE format_money number=r.total_due ?>
- <?lsmb currency ?></td>
+ <td class="invoice"><?lsmb r.total_due ?> <?lsmb currency ?></td>
<td class="payment" class="details_select">
<?lsmb INCLUDE input element_data = {
name = "paid_$r.contact_id"
@@ -294,10 +293,12 @@
value = icount
} ?>
<?lsmb IF !r.unselected;
- IF (${"paid_$r.contact_id"} == 'some');
+ IF (${"paid_$r.contact_id"} == 'all');
+ grand_total = grand_total + r.total_due;
+ ELSIF (${"paid_$r.contact_id"} == 'some');
grand_total = grand_total + contact_total;
ELSE;
- grand_total = grand_total + r.total_due;
+ contact_total = 'error';
END; # IF (paid...)
END # IF !r.unselected) ?>
<tr class="subtotal">