summaryrefslogtreecommitdiff
path: root/UI/payments
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 19:47:03 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 19:47:03 +0000
commitdcc0556bd0e1db3a4fc0788f2e60b62fa0c3378d (patch)
tree7a4aa62fdf397a670c5b122829631bcba94b0d76 /UI/payments
parentb843dabc37251b0fe652c28e07652959736debc4 (diff)
* Correcting discount display discrepancies in multiple payment detail screen
* Merging entity_credit_account mapped functions to SVN main * Adding schema entries for entity_credit_account mappings git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2253 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/payments')
-rw-r--r--UI/payments/payments_detail.html9
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">