Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b4b2a3a8

Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID b4b2a3a87e75835b67eadfc07154f1f129422be6
  • Vorgänger 0da21fa9
  • Nachfolger cdeb9484

Neues Design 2019 Standard-Code templates/webpages/bank_transactions/_problems.html

Unterschiede anzeigen:

templates/webpages/bank_transactions/_payment_suggestion.html
14 14
 [% LxERP.t8("Open amount") %]: [% LxERP.format_amount(invoice.open_amount, 2) %]</br>
15 15
 [% P.select_tag("invoice_skontos." _ bt_id _ "[]", SELECT_OPTIONS, value_key="payment_type", title_key="display", onChange="kivi.BankTransaction.update_skonto(this, " _ bt_id _ ", " _ invoice.id _ ", '$formatted_skonto_amount')"  ) %]</br>
16 16
 [% LxERP.t8("Skonto amount") %]: [% P.input_tag("free_skonto_amount." _ bt_id _ "." _ invoice.id _ "", "$formatted_skonto_amount_selected", default=0, style=style, disabled=1, size=4, class='numeric', onblur="kivi.BankTransaction.update_invoice_amount(" _ bt_id _ ", 0, this)") %]
17
 <!-- PENDENT: Loeschsymbol (einheitliches) -->
17 18
 [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %]
18 19
</span>
templates/webpages/bank_transactions/_problems.html
1
<h3>
2
 [% LxERP.t8("Warnings and errors") %]
3
</h3>
4 1
[% USE LxERP %]
5 2
[% USE T8 %]
6 3
[% USE HTML %]
7 4
[% USE P %]
8 5

  
9
<p>
10
 [% LxERP.t8("Bank transactions with errors have not been posted.") %]
11
 [% LxERP.t8("Bank transactions that either only have warnings or no message at all have been posted.") %]
6
<h3>[% LxERP.t8("Warnings and errors") %]</h3>
7
<p class="message message_info">
8
  [% LxERP.t8("Bank transactions with errors have not been posted.") %] <br>
9
  [% LxERP.t8("Bank transactions that either only have warnings or no message at all have been posted.") %]
12 10
</p>
13 11

  
14
<table>
15
 <thead>
16
  <tr class="listheading">
17
   <th>[% LxERP.t8("Type") %]</th>
18
   <th>[% LxERP.t8("Invoices") %]</th>
19
   <th>[% LxERP.t8("Transdate") %]</th>
20
   <th>[% LxERP.t8("Amount") %]</th>
21
   <th>[% LxERP.t8("Remote name") %]</th>
22
   <th>[% LxERP.t8("Purpose") %]</th>
23
   <th>[% LxERP.t8("Remote account number") %]</th>
24
   <th>[% LxERP.t8("Remote bank code") %]</th>
25
   <th>[% LxERP.t8("Message") %]</th>
26
  </tr>
27
 </thead>
28

  
29
 <tbody>
30
  [% FOREACH problem = SELF.problems %]
31
   <tr class="listrow[% IF problem.result == 'error' %]_error[% END %]">
32
    <td>[% IF problem.result == 'error' %][% LxERP.t8("Error") %][% ELSE %][% LxERP.t8("Warning") %][% END %]</td>
33
    <td>
34
     [% FOREACH invoice = problem.invoices %]
35
      [% invoice.presenter.invoice %]
36
      [% UNLESS loop.last %]<br>[% END %]
37
     [% END %]
38
    </td>
39
    <td>[% HTML.escape(problem.bank_transaction.transdate.to_kivitendo) %]</td>
40
    <td>[% HTML.escape(LxERP.format_amount(problem.bank_transaction.amount, 2)) %]</td>
41
    <td>[% HTML.escape(problem.bank_transaction.remote_name) %]</td>
42
    <td>[% HTML.escape(problem.bank_transaction.purpose) %]</td>
43
    <td>[% HTML.escape(problem.bank_transaction.remote_account_number) %]</td>
44
    <td>[% HTML.escape(problem.bank_transaction.remote_bank_code) %]</td>
45
    <td>[% HTML.escape(problem.message) %]</td>
46
   </tr>
47
  [% END %]
48
 </tbody>
12
<table class="tbl-list">
13
  <thead>
14
    <tr>
15
      <th>[% LxERP.t8("Type") %]</th>
16
      <th>[% LxERP.t8("Invoices") %]</th>
17
      <th>[% LxERP.t8("Transdate") %]</th>
18
      <th>[% LxERP.t8("Amount") %]</th>
19
      <th>[% LxERP.t8("Remote name") %]</th>
20
      <th>[% LxERP.t8("Purpose") %]</th>
21
      <th>[% LxERP.t8("Remote account number") %]</th>
22
      <th>[% LxERP.t8("Remote bank code") %]</th>
23
      <th>[% LxERP.t8("Message") %]</th>
24
    </tr>
25
  </thead>
26
  <tbody>
27
    [% FOREACH problem = SELF.problems %]
28
    <tr[% IF problem.result == 'error' %]class="row_error"[% END %]>
29
      <td>
30
        [% IF problem.result == 'error' %]
31
          [% LxERP.t8("Error") %]
32
        [% ELSE %]
33
          [% LxERP.t8("Warning") %]
34
        [% END %]
35
      </td>
36
      <td>
37
        [% FOREACH invoice = problem.invoices %]
38
          [% invoice.presenter.invoice %]
39
          [% UNLESS loop.last %]<br>[% END %]
40
        [% END %]</td>
41
      <td>[% HTML.escape(problem.bank_transaction.transdate.to_kivitendo) %]</td>
42
      <td>[% HTML.escape(LxERP.format_amount(problem.bank_transaction.amount, 2)) %]</td>
43
      <td>[% HTML.escape(problem.bank_transaction.remote_name) %]</td>
44
      <td>[% HTML.escape(problem.bank_transaction.purpose) %]</td>
45
      <td>[% HTML.escape(problem.bank_transaction.remote_account_number) %]</td>
46
      <td>[% HTML.escape(problem.bank_transaction.remote_bank_code) %]</td>
47
      <td>[% HTML.escape(problem.message) %]</td>
48
    </tr>
49
    [% END %]
50
  </tbody>
49 51
</table>
52

  

Auch abrufbar als: Unified diff