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/create_invoice.html
1
[%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%]
1
[% USE HTML %]
2
[% USE L %]
3
[% USE LxERP %]
4
[% USE P %]
5
<div class="wrapper">
2 6

  
3
  <b>Transaction</b>
4
  <table>
5
   <tr class="listheading">
6
    <td>[%- LxERP.t8("ID") %]:</td>
7
    <td>[%- LxERP.t8("Amount") %]:</td>
8
    <td>[%- LxERP.t8("Date") %]:</td>
9
    <td>[%- LxERP.t8("Remote name") %]:</td>
10
    <td>[%- LxERP.t8("Purpose") %]:</td>
11
    <td>[%- LxERP.t8("Remote bank code") %]:</td>
12
    <td>[%- LxERP.t8("Remote account number") %]:</td>
13
   </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>
14 32

  
15
   <tr class="listrow">
16
    <td>[% SELF.transaction.id %]</td>
17
    <td>[% LxERP.format_amount(SELF.transaction.amount, 2) %]</td>
18
    <td>[% SELF.transaction.valutadate_as_date %]</td>
19
    <td>[% SELF.transaction.remote_name %]</td>
20
    <td>[% SELF.transaction.purpose %]</td>
21
    <td>[% SELF.transaction.remote_bank_code %]</td>
22
    <td>[% SELF.transaction.remote_account_number %]</td>
23
   </tr>
24
  </table>
25 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)       %]
26 39

  
27
<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>
28 62

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

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

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

  
65
//-->
66
</script>
74
//--></script>

Auch abrufbar als: Unified diff