Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bbf5c662

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

  • ID bbf5c662c1c707852b30d0fb6985efdf6148f14f
  • Vorgänger 1d3eb7c0
  • Nachfolger 77c57bde

bessere visuelle Kontrolle über Bankauszug verbuchen

Der Betrag, der wirklich zugeordnet wird, wird in der GUI angezeigt.
Ferner Berechnungen aus den Templates ausgelagert.

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 - invoice.paid, 2) %]</td>
22
    <td align="right">[%- LxERP.format_amount(invoice.amount_open, 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
1 1
[% USE L %]
2
[% USE T8 %]
3
[% USE LxERP %]
2 4
[% FOREACH invoice = INVOICES %]
3 5
  <div id="[% bt_id %].[% invoice.id %]">
4 6
    [% L.hidden_tag('invoice_ids.' _ bt_id _'[]', invoice.id) %]
5
    [% invoice.invnumber %]
7
    [% 'Invno.' | $T8 %]: [% invoice.invnumber %]
8
    [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.amount_open, 2) %]
6 9
    <a href=# onclick="delete_invoice([% bt_id %], [% invoice.id %])">x</a>
7 10
  </div>
8 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 %]</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