Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 551b5ac6

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID 551b5ac6c485e8ad3f3baac1be670151da014663
  • Vorgänger 51930364
  • Nachfolger eae4302d

Neues kivitendo Design Aenderungen in templates/webpages/bank_transactions/..

Unterschiede anzeigen:

templates/webpages/bank_transactions/assign_invoice.html
1
[%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE T8 %]
1
[% USE HTML %]
2
[% USE L %]
3
[% USE LxERP %]
4
[% USE T8 %]
2 5

  
3 6
[% SET debug = 0 %]
4 7

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

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

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

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

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

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

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

  
51
    <th align="right">[%- LxERP.t8("to (date)") %]</th>
52
    <td>[% L.date_tag('transdateto') %]</td>
53
   </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>
54 40
  </table>
55 41

  
56
  <p>
57
   [% L.submit_tag('', LxERP.t8("Search")) %]
58
   [% L.button_tag('kivi.BankTransaction.add_selected_invoices()', LxERP.t8("Add invoices"), id='add_selected_record_links_button') %]
59
   [% L.button_tag('$("#assign_invoice_window_form").resetForm()', LxERP.t8('Reset')) %]
60
   <a href="#" onclick="$('#assign_invoice_window').dialog('close');">[% LxERP.t8("Cancel") %]</a>
61
  </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>
62 65

  
63
  <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>
64 72

  
65 73
  <div id="record_list_filtered_list"></div>
66 74

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

  
67 77
</form>
68 78

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

  
75
//-->
76
</script>
83
//--></script>

Auch abrufbar als: Unified diff