Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e1170590

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

  • ID e11705901f9e975f57c824ae1c8b1f8d14cc0a3b
  • Vorgänger 73eecff6
  • Nachfolger 45a00398

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

Unterschiede anzeigen:

templates/webpages/bank_transactions/assign_invoice.html
6 6
[% SET debug = 0 %]
7 7

  
8 8
<form method="post" action="javascript:kivi.BankTransaction.filter_invoices();" id="assign_invoice_window_form" data-bank-transaction-id="[% HTML.escape(SELF.transaction.id) %]">
9
  <b>[%- LxERP.t8("Bank transaction") %]:</b>
10
  <table>
11
   <tr class="listheading">
12
    [% IF debug %]<td>[%- LxERP.t8("ID") %]:</td>[% END %]
13
    <td>[%- LxERP.t8("Transdate") %]:</td>
14
    <td>[%- LxERP.t8("Amount") %]:</td>
15
    <td>[%- LxERP.t8("Remote name") %]:</td>
16
    <td>[%- LxERP.t8("Purpose") %]:</td>
17
    <td>[%- LxERP.t8("Remote account number") %]:</td>
18
    <td>[%- LxERP.t8("Remote bank code") %]:</td>
19
   </tr>
20 9

  
21
   <tr class="listrow">
22
    [% IF debug %]<td>[% SELF.transaction.id %]</td>[% END %]
23
    <td>[% SELF.transaction.transdate_as_date %]</td>
24
    <td>[% LxERP.format_amount(SELF.transaction.amount, 2) %]</td>
25
    <td>[% SELF.transaction.remote_name %]</td>
26
    <td>[% SELF.transaction.purpose %]</td>
27
    <td>[% SELF.transaction.remote_account_number %]</td>
28
    <td>[% SELF.transaction.remote_bank_code %]</td>
29
   </tr>
30
  </table>
31

  
32
  <b>[%- LxERP.t8("Invoice filter") %]:</b>
33
  <table>
34
   <tr>
35
    <th align="right">[%- LxERP.t8("Invoice number") %]</th>
36
    <td>[% L.input_tag('invnumber', '', style=style) %]</td>
37

  
38
    <th align="right">[%- LxERP.t8("Customer/Vendor Name") %]</th>
39
    <td>[% L.input_tag('vcname', '', style=style) %]</td>
40
   </tr>
41

  
42
   <tr>
43
    <th align="right">[%- LxERP.t8("Amount") %]</th>
44
    <td>[% L.input_tag('amount', '', style=style) %]</td>
45

  
46
    <th align="right">[%- LxERP.t8("Customer/Vendor Number") %]</th>
47
    <td>[% L.input_tag('vcnumber', '', style=style) %]</td>
48
   </tr>
10
<div class="wrapper">
49 11

  
50
   <tr>
51
    <th align="right">[%- LxERP.t8("Invdate from") %]</th>
52
    <td>[% L.date_tag('transdatefrom') %]</td>
53

  
54
    <th align="right">[%- LxERP.t8("to (date)") %]</th>
55
    <td>[% L.date_tag('transdateto') %]</td>
56
   </tr>
12
  <table class="tbl-liste">
13
    <caption>[% LxERP.t8("Bank transaction") %]</caption>
14
    <thead>
15
      <tr>
16
        [% IF debug %]
17
          <td>[% LxERP.t8("ID") %]:</td>
18
        [% END %]
19
        <td>[% LxERP.t8("Transdate") %]:</td>
20
        <td>[% LxERP.t8("Amount") %]:</td>
21
        <td>[% LxERP.t8("Remote name") %]:</td>
22
        <td>[% LxERP.t8("Purpose") %]:</td>
23
        <td>[% LxERP.t8("Remote account number") %]:</td>
24
        <td>[% LxERP.t8("Remote bank code") %]:</td>
25
      </tr>
26
    </thead>
27
    <tbody>
28
      <tr>
29
        [% IF debug %]
30
          <td>[% SELF.transaction.id %]</td>
31
        [% END %]
32
        <td>[% SELF.transaction.transdate_as_date %]</td>
33
        <td>[% LxERP.format_amount(SELF.transaction.amount, 2) %]</td>
34
        <td>[% SELF.transaction.remote_name %]</td>
35
        <td>[% SELF.transaction.purpose %]</td>
36
        <td>[% SELF.transaction.remote_account_number %]</td>
37
        <td>[% SELF.transaction.remote_bank_code %]</td>
38
      </tr>
39
    </tbody>
57 40
  </table>
58 41

  
59
  <p>
60
   [% L.submit_tag('', LxERP.t8("Search")) %]
61
   [% L.button_tag('kivi.BankTransaction.add_selected_invoices()', LxERP.t8("Add invoices"), id='add_selected_record_links_button') %]
62
   [% L.button_tag('$("#assign_invoice_window_form").resetForm()', LxERP.t8('Reset')) %]
63
   <a href="#" onclick="$('#assign_invoice_window').dialog('close');">[% LxERP.t8("Cancel") %]</a>
64
  </p>
42
  <table class="tbl-horizontal">
43
    <caption>[% LxERP.t8("Invoice filter") %]</caption>
44
    <tbody>
45
      <tr>
46
        <th>[% LxERP.t8("Invoice number") %]</th>
47
        <td>[% L.input_tag('invnumber', '', style=style) %]</td>
48
        <th>[% LxERP.t8("Customer/Vendor Name") %]</th>
49
        <td>[% L.input_tag('vcname', '', style=style) %]</td>
50
      </tr>
51
      <tr>
52
        <th>[% LxERP.t8("Amount") %]</th>
53
        <td>[% L.input_tag('amount', '', style=style) %]</td>
54
        <th>[% LxERP.t8("Customer/Vendor Number") %]</th>
55
        <td>[% L.input_tag('vcnumber', '', style=style) %]</td>
56
      </tr>
57
      <tr>
58
        <th>[% LxERP.t8("Invdate from") %]</th>
59
        <td>[% L.date_tag('transdatefrom') %]</td>
60
        <th>[% LxERP.t8("to (date)") %]</th>
61
        <td>[% L.date_tag('transdateto') %]</td>
62
      </tr>
63
    </tbody>
64
  </table>
65 65

  
66
  <hr>
66
  <div class="buttons">
67
    [% L.submit_tag('', LxERP.t8("Search")) %]
68
    [% L.button_tag('kivi.BankTransaction.add_selected_invoices()', LxERP.t8("Add invoices"), id='add_selected_record_links_button') %]
69
    [% L.button_tag('$("#assign_invoice_window_form").resetForm()', LxERP.t8('Reset'), class='neutral') %]
70
    <a href="#" onclick="$('#assign_invoice_window').dialog('close');" class="neutral">[% LxERP.t8("Cancel") %]</a>
71
  </div>
67 72

  
68 73
  <div id="record_list_filtered_list"></div>
69 74

  
75
</div><!-- /.wrapper -->
76

  
70 77
</form>
71 78

  
72
<script type="text/javascript">
73
<!--
79
<script type="text/javascript"><!--
74 80
$(function() {
75 81
  $('#invnumber').focus();
76 82
});
77

  
78
//-->
79
</script>
83
//--></script>

Auch abrufbar als: Unified diff