diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-12 16:37:02 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-12 16:37:02 +0000 |
commit | bca5826c5485e2c1f3d8cfdf36f247826ea4afed (patch) | |
tree | 651a841e2f495ac776aa88a273562160b8f8c23f /UI/payments | |
parent | 16c6c27b451f4ff3d35e82db757f8417847b44c7 (diff) |
Merging fix for bug 1974974
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2250 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/payments')
-rw-r--r-- | UI/payments/payments_detail.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/UI/payments/payments_detail.html b/UI/payments/payments_detail.html index 206d0d59..6fabf8ca 100644 --- a/UI/payments/payments_detail.html +++ b/UI/payments/payments_detail.html @@ -198,7 +198,8 @@ ELSE ; 'name_has_no_vouchers' ; END ?>"><?lsmb r.contact_name ?></span></td> - <td class="invoice"><?lsmb r.total_due ?> <?lsmb currency ?></td> + <td class="invoice"><?lsmb INCLUDE format_money number=r.total_due ?> + <?lsmb currency ?></td> <td class="payment" class="details_select"> <?lsmb INCLUDE input element_data = { name = "paid_$r.contact_id" @@ -293,12 +294,10 @@ value = icount } ?> <?lsmb IF !r.unselected; - IF (${"paid_$r.contact_id"} == 'all'); - grand_total = grand_total + r.total_due; - ELSIF (${"paid_$r.contact_id"} == 'some'); + IF (${"paid_$r.contact_id"} == 'some'); grand_total = grand_total + contact_total; ELSE; - contact_total = 'error'; + grand_total = grand_total + r.total_due; END; # IF (paid...) END # IF !r.unselected) ?> <tr class="subtotal"> |