Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 77c57bde

Von Jan Büren vor mehr als 8 Jahren hinzugefügt

  • ID 77c57bdee5fe75923dcf7512d066d89c92775874
  • Vorgänger bbf5c662
  • Nachfolger 081bb700

Verbesserung Visualisierung Bankverbuchen

Ein HTML-Tag zuviel.
open_amount aus SL/DB/Helper/Payments.pm nehmen
anstatt die DB/Invoice.pm unnötigerweise zu erweitern.

Unterschiede anzeigen:

templates/webpages/bank_transactions/add_list.html
19 19
    <td>[% L.checkbox_tag('invoice_id[]', value=invoice.id) %]</td>
20 20
    <td>[%- invoice.invnumber %]</td>
21 21
    <td align="right">[%- LxERP.format_amount(invoice.amount, 2) %]</td>
22
    <td align="right">[%- LxERP.format_amount(invoice.amount_open, 2) %]</td>
22
    <td align="right">[%- LxERP.format_amount(invoice.open_amount, 2) %]</td>
23 23
    <td align="right">[%- LxERP.format_amount(invoice.amount_less_skonto, 2) %]</td>
24 24
    <td align="right">[%- invoice.transdate_as_date %]</td>
25 25
    <td>[%- invoice.vendor.vendornumber %][%- invoice.customer.customernumber %]</td>
templates/webpages/bank_transactions/invoices.html
5 5
  <div id="[% bt_id %].[% invoice.id %]">
6 6
    [% L.hidden_tag('invoice_ids.' _ bt_id _'[]', invoice.id) %]
7 7
    [% 'Invno.' | $T8 %]: [% invoice.invnumber %]
8
    [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.amount_open, 2) %]
8
    [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
9 9
    <a href=# onclick="delete_invoice([% bt_id %], [% invoice.id %])">x</a>
10 10
  </div>
11 11
[% END %]
templates/webpages/bank_transactions/tabs/all.html
7 7
   <tr class="listheading">
8 8
    <th></th>
9 9
    <th></th>
10
    <th>[% 'Assigned invoices' | $T8 %] [% 'with amount' | $T8 %]<</th>
10
    <th>[% 'Assigned invoices' | $T8 %] [% 'with amount' | $T8 %]</th>
11 11
    [% IF debug %]
12 12
    <th>[% 'Score' | $T8 %]</th>
13 13
    [% END %]

Auch abrufbar als: Unified diff