Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 45a00398

Von Hans P. Schlaepfer vor mehr als 3 Jahren hinzugefügt

  • ID 45a0039822900cdf5422435b275928a3b40437ed
  • Vorgänger e1170590
  • Nachfolger 5278bc2b

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

Unterschiede anzeigen:

templates/webpages/bank_transactions/create_invoice.html
2 2
[% USE L %]
3 3
[% USE LxERP %]
4 4
[% USE P %]
5
<div class="wrapper">
5 6

  
6
  <b>Transaction</b>
7
  <table>
8
   <tr class="listheading">
9
    <td>[%- LxERP.t8("ID") %]:</td>
10
    <td>[%- LxERP.t8("Amount") %]:</td>
11
    <td>[%- LxERP.t8("Date") %]:</td>
12
    <td>[%- LxERP.t8("Remote name") %]:</td>
13
    <td>[%- LxERP.t8("Purpose") %]:</td>
14
    <td>[%- LxERP.t8("Remote bank code") %]:</td>
15
    <td>[%- LxERP.t8("Remote account number") %]:</td>
16
   </tr>
7
<table class="tbl-list">
8
  <caption>[% 'Transaction' | $T8 %]</caption>
9
  <thead>
10
    <tr>
11
      <th>[% LxERP.t8("ID") %]</th>
12
      <th>[% LxERP.t8("Amount") %]</th>
13
      <th>[% LxERP.t8("Date") %]</th>
14
      <th>[% LxERP.t8("Remote name") %]</th>
15
      <th>[% LxERP.t8("Purpose") %]</th>
16
      <th>[% LxERP.t8("Remote bank code") %]</th>
17
      <th>[% LxERP.t8("Remote account number") %]</th>
18
    </tr>
19
  </thead>
20
  <tbody>
21
    <tr>
22
      <td>[% SELF.transaction.id %]</td>
23
      <td>[% LxERP.format_amount(SELF.transaction.amount, 2) %]</td>
24
      <td>[% SELF.transaction.valutadate_as_date %]</td>
25
      <td>[% SELF.transaction.remote_name %]</td>
26
      <td>[% SELF.transaction.purpose %]</td>
27
      <td>[% SELF.transaction.remote_bank_code %]</td>
28
      <td>[% SELF.transaction.remote_account_number %]</td>
29
    </tr>
30
  </tbody>
31
</table>
17 32

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

  
34
<form method="post" action="javascript:kivi.BankTransaction.filter_templates()" id="create_invoice_window_form">
35
[% L.hidden_tag("bt_id",               SELF.transaction.id)      %]
36
[% L.hidden_tag("filter.bank_account", FORM.filter.bank_account) %]
37
[% L.hidden_tag("filter.fromdate",     FORM.filter.fromdate)     %]
38
[% L.hidden_tag("filter.todate",       FORM.filter.todate)       %]
29 39

  
30
<br>
40
<table class="tbl-horizontal">
41
  <tbody>
42
    <tr>
43
      <th>[% LxERP.t8("Template Description") %]</th>
44
      <td>[% P.input_tag("template", template_name, style="width: 250px") %]</td>
45
    </tr>
46
    <tr>
47
      <th>[% LxERP.t8("Vendor") %]</th>
48
      <td>[% P.input_tag("vendor", vendor_name, style="width: 250px") %]</td>
49
    </tr>
50
    <tr>
51
      <th>[% LxERP.t8("Reference") %]</th>
52
      <td>[% P.input_tag("reference", reference_name, style="width: 250px") %]</td>
53
    </tr>
54
  </tbody>
55
</table>
56

  
57
<div class="buttons">
58
  [% P.submit_tag('', LxERP.t8("Filter")) %]
59
  [% P.button_tag('$("#create_invoice_window_form").resetForm()', LxERP.t8('Reset'), class='neutral') %]
60
  <a href="#" onclick="$('#create_invoice_window').dialog('close');" class="button neutral">[% LxERP.t8("Cancel") %]</a>
61
</p>
31 62

  
32
<form method="post" action="javascript:kivi.BankTransaction.filter_templates()" id="create_invoice_window_form">
33
 [% L.hidden_tag("bt_id",               SELF.transaction.id) %]
34
 [% L.hidden_tag("filter.bank_account", FORM.filter.bank_account) %]
35
 [% L.hidden_tag("filter.fromdate",     FORM.filter.fromdate) %]
36
 [% L.hidden_tag("filter.todate",      FORM.filter.todate) %]
37
 <table>
38
  <tr>
39
   <th align="right">[%- LxERP.t8("Template Description") %]</th>
40
   <td>[% P.input_tag("template", template_name, style="width: 250px") %]</td>
41
  </tr>
42
  <tr>
43
   <th align="right">[%- LxERP.t8("Vendor") %]</th>
44
   <td>[% P.input_tag("vendor", vendor_name,  style="width: 250px") %]</td>
45
  </tr>
46
  <tr>
47
   <th align="right">[%- LxERP.t8("Reference") %]</th>
48
   <td>[% P.input_tag("reference", reference_name, style="width: 250px") %]</td>
49
  </tr>
50
 </table>
51
  <p>
52
   [% P.submit_tag('', LxERP.t8("Filter")) %]
53
   [% P.button_tag('$("#create_invoice_window_form").resetForm()', LxERP.t8('Reset')) %]
54
   <a href="#" onclick="$('#create_invoice_window').dialog('close');">[% LxERP.t8("Cancel") %]</a>
55
  </p>
56 63
</form>
57
  <hr>
64

  
58 65
<div id="templates">
59
 [% PROCESS "bank_transactions/_template_list.html" %]
66
  [% PROCESS "bank_transactions/_template_list.html" %]
60 67
</div>
68
</div><!-- /.wrapper -->
61 69

  
62
<script type="text/javascript">
63
<!--
70
<script type="text/javascript"><!--
64 71
$(function() {
65 72
  $('#template').focus();
66 73
});
67

  
68
//-->
69
</script>
74
//--></script>

Auch abrufbar als: Unified diff