Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / bank_transactions / add_list.html
index ad48bfa..6a13b9c 100644 (file)
@@ -9,9 +9,9 @@
     <th>[%- LxERP.t8("Amount") %]</th>
     <th>[%- LxERP.t8("Open amount") %]</th>
     <th>[%- LxERP.t8("Amount less skonto") %]</th>
-    <th>[%- LxERP.t8("Transdate") %]</th>
-    <th>[%- LxERP.t8("Customer/Vendor number") %]</th>
-    <th>[%- LxERP.t8("Customer/Vendor name") %]</th>
+    <th>[%- LxERP.t8("Invoice Date") %]</th>
+    <th>[%- LxERP.t8("Customer/Vendor Number") %]</th>
+    <th>[%- LxERP.t8("Customer/Vendor Name") %]</th>
    </tr>
 
   [%- FOREACH invoice = INVOICES %]
@@ -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 - invoice.paid, 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>