Verbesserung Visualisierung Bankverbuchen
authorJan Büren <jan@kivitendo-premium.de>
Mon, 13 Jun 2016 13:21:58 +0000 (15:21 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Mon, 13 Jun 2016 13:21:58 +0000 (15:21 +0200)
Ein HTML-Tag zuviel.
open_amount aus SL/DB/Helper/Payments.pm nehmen
anstatt die DB/Invoice.pm unnötigerweise zu erweitern.

templates/webpages/bank_transactions/add_list.html
templates/webpages/bank_transactions/invoices.html
templates/webpages/bank_transactions/tabs/all.html

index 71ffc3e..d562172 100644 (file)
@@ -19,7 +19,7 @@
     <td>[% L.checkbox_tag('invoice_id[]', value=invoice.id) %]</td>
     <td>[%- invoice.invnumber %]</td>
     <td align="right">[%- LxERP.format_amount(invoice.amount, 2) %]</td>
-    <td align="right">[%- LxERP.format_amount(invoice.amount_open, 2) %]</td>
+    <td align="right">[%- LxERP.format_amount(invoice.open_amount, 2) %]</td>
     <td align="right">[%- LxERP.format_amount(invoice.amount_less_skonto, 2) %]</td>
     <td align="right">[%- invoice.transdate_as_date %]</td>
     <td>[%- invoice.vendor.vendornumber %][%- invoice.customer.customernumber %]</td>
index 3249dcf..aba030c 100644 (file)
@@ -5,7 +5,7 @@
   <div id="[% bt_id %].[% invoice.id %]">
     [% L.hidden_tag('invoice_ids.' _ bt_id _'[]', invoice.id) %]
     [% 'Invno.' | $T8 %]: [% invoice.invnumber %]
-    [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.amount_open, 2) %]
+    [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
     <a href=# onclick="delete_invoice([% bt_id %], [% invoice.id %])">x</a>
   </div>
 [% END %]
index 50af95b..0956daf 100644 (file)
@@ -7,7 +7,7 @@
    <tr class="listheading">
     <th></th>
     <th></th>
-    <th>[% 'Assigned invoices' | $T8 %] [% 'with amount' | $T8 %]<</th>
+    <th>[% 'Assigned invoices' | $T8 %] [% 'with amount' | $T8 %]</th>
     [% IF debug %]
     <th>[% 'Score' | $T8 %]</th>
     [% END %]