summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-25 06:53:38 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-25 06:53:38 +0000
commit57d4a99298f9ba1c761915db4f0922d99a3c9509 (patch)
tree36562d7321e235d527cf279fac53b6114fa5d97e /UI
parentca652e04320debad4a1a5a98dec07e46a51344c6 (diff)
Changes to UI when invoices locked, changes to source numbering behavior in bulk payments, test cases added, minor code cleanup for readability
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2420 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r--UI/payments/payments_detail.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/UI/payments/payments_detail.html b/UI/payments/payments_detail.html
index 2fc92804..193c30dc 100644
--- a/UI/payments/payments_detail.html
+++ b/UI/payments/payments_detail.html
@@ -240,6 +240,7 @@
</tr>
<?lsmb icount = 0 ?>
<?lsmb FOREACH i = r.invoices ?>
+ <?lsmb IF i.7 ?>
<?lsmb icount = icount + 1 ?>
<tr>
<td class="invoice_date_list">&nbsp;<?lsmb i.2 ?></td>
@@ -271,6 +272,22 @@
/>
</td>
</tr>
+ <?lsmb ELSE #not $i.7 ?>
+ <tr>
+ <td class="invoice_date_list">&nbsp;<?lsmb i.2 ?></td>
+ <td class="invoice_list">&nbsp;<?lsmb i.1 ?></td>
+ <td class="total_due_list">&nbsp;
+ <?lsmb i.3 ?></td>
+ <td class="paid_list">&nbsp;
+ <?lsmb i.4 ?></td>
+ <td class="net_due_list">&nbsp;
+ <?lsmb i.6 ?>
+ <?lsmb currency ?></td>
+ <td class="to_pay_list">
+ <?lsmb text("Locked by [_1]", i.8) ?>
+ </td>
+ </tr>
+ <?lsmb END # if i.8 ?>
<?lsmb END # foreach i ?>
<?lsmb INCLUDE input element_data = {
type = "hidden"