Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2eeb54af

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

  • ID 2eeb54afbb58546cb3c6bad73747f69007e56251
  • Vorgänger 290dbbb5
  • Nachfolger 94085ce2

Neues Design 2019 Standard-Code templates/webpages/client_config/_miscellaneous.html

Unterschiede anzeigen:

templates/webpages/client_config/_miscellaneous.html
1
[% SET style="width: 400px" %]
2
<div id="miscellaneous">
3
 <table>
4
  <tr><td class="listheading" colspan="4">[% LxERP.t8("Company settings") %]</td></tr>
5

  
6
  <tr>
7
   <td align="right">[% LxERP.t8("Company name") %]</td>
8
   <td>[% L.input_tag('defaults.company', SELF.defaults.company, style=style) %]</td>
9
  </tr>
10

  
11
  <tr>
12
   <td align="right" valign="top">[% LxERP.t8("Address") %]</td>
13
   <td valign="top">[% L.textarea_tag('defaults.address', SELF.defaults.address, style=style, rows=4) %]</td>
14
  </tr>
15

  
16
  <tr>
17
   <td align="right" valign="top">[% LxERP.t8("Signature") %]</td>
18
   <td valign="top">[% L.textarea_tag('defaults.signature', SELF.defaults.signature, style=style, rows=4) %]</td>
19
  </tr>
20

  
21
  <tr>
22
   <td align="right">[% LxERP.t8("Tax number") %]</td>
23
   [% IF SELF.defaults.feature_ustva %]
24
   <td>[% SELF.defaults.taxnumber %]&nbsp;&nbsp;<a href="ustva.pl?action=config_step1">([% LxERP.t8("For changeing goto USTVA Config") %])</a></td>
25
   [% ELSE %]
26
   <td>[% L.input_tag('defaults.taxnumber', SELF.defaults.taxnumber, style=style) %]</td>
27
   [% END %]
28
  </tr>
29

  
30
  <tr>
31
   <td align="right">[% LxERP.t8("Tax ID number") %]</td>
32
   <td>[% L.input_tag('defaults.co_ustid', SELF.defaults.co_ustid, style=style) %]</td>
33
  </tr>
34

  
35
  <tr>
36
   <td align="right">[% LxERP.t8("SEPA creditor ID") %]</td>
37
   <td>[% L.input_tag('defaults.sepa_creditor_id', SELF.defaults.sepa_creditor_id, style=style) %]</td>
38
  </tr>
39

  
40
  <tr>
41
   <td align="right">[% LxERP.t8("Business Number") %]</td>
42
   <td>[% L.input_tag('defaults.businessnumber', SELF.defaults.businessnumber, style=style) %]</td>
43
  </tr>
44

  
45
  <tr>
46
   <td align="right">[% LxERP.t8("DUNS number") %]</td>
47
   <td>[% L.input_tag('defaults.duns', SELF.defaults.duns, style=style) %]</td>
48
  </tr>
49

  
50
  <tr><td class="listheading" colspan="4">[% LxERP.t8("Language settings") %]</td></tr>
51

  
52
  <tr>
53
   <td align="right">[% LxERP.t8('Default Customer/Vendor Language') %]</td>
54
   <td>[% L.select_tag('defaults.language_id', SELF.all_languages, title_key='description', default=SELF.defaults.language_id, with_empty=1, style=style) %]</td>
55
  </tr>
56 1
[% USE LxERP %]
57 2
[% USE L %]
58 3
[% USE HTML %]
59 4
[% USE T8 %]
60 5

  
61
  <tr><td class="listheading" colspan="4">[% LxERP.t8("Print templates") %]</td></tr>
62

  
63
  <tr>
64
   <td align="right" valign="top">[% LxERP.t8("Print templates to use") %]</td>
65
   <td colspan="3" valign="top">
66
    <table>
67
     <tr>
68
      <td>[% L.radio_button_tag('use_templates', value='existing', id='use_templates_existing', label=LxERP.t8('Use existing templates'), checked=(FORM.use_templates == 'existing')) %]</td>
69
      <td>[% L.select_tag('defaults.templates', SELF.all_templates.print_templates, default=SELF.defaults.templates, value_sub=\make_templates_value, style=style) %]</td>
70
     </tr>
71

  
72
     <tr>
73
      <td>[% L.radio_button_tag('use_templates', value='new', id='use_templates_new', label=LxERP.t8('Create new templates from master templates'), checked=(FORM.use_templates == 'new')) %]</td>
74
      <td>[% L.select_tag('new_master_templates', SELF.all_templates.master_templates, default=FORM.new_master_templates, style=style) %]</td>
75
     </tr>
76

  
77
     <tr>
78
      <td align="right">[% LxERP.t8("New name") %]</td>
79
      <td>[% L.input_tag('new_templates', FORM.new_templates, style=style) %]</td>
80
     </tr>
81
    </table>
82
   </td>
83
  </tr>
84

  
85
  <tr><td class="listheading" colspan="4">[% LxERP.t8("Currencies") %]</td></tr>
86

  
87
  <tr>
88
   <th></th>
89
   <th>[% LxERP.t8("Currency name") %]</th>
90
   <th>[% LxERP.t8("Default currency") %]</th>
91
   <th>[% LxERP.t8("Hints") %]</th>
92
  </tr>
93

  
94
[% FOREACH currency = SELF.all_currencies %]
95
  <tr>
96
   <td align="right">
97
     [% L.hidden_tag("currencies[+].id", currency.id) %]
98
     [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %]
99
   </td>
100
   <td>[% L.input_tag("currencies[].name", currency.name, style=style) %]</td>
101
   <td align="center">[% L.radio_button_tag('defaults.currency_id', value=currency.id, id='defaults.currency_id_' _ currency.id, checked=(SELF.defaults.currency_id == currency.id)) %]</td>
102
   <td>[% IF loop.count == 1 %][% LxERP.t8("Edit the currency names in order to rename them.") %][%- END %]</td>
103
  </tr>
104
[% END %]
105

  
106
  <tr>
107
   <td align="right">[% LxERP.t8("Add new currency") %]</td>
108
   <td>[% L.input_tag("new_currency", FORM.new_currency, style=style) %]</td>
109
   <td align="center">[% L.radio_button_tag('defaults.currency_id', value=-1, id='defaults.currency_id__1', checked=(SELF.defaults.currency_id == -1)) %]</td>
110
  </tr>
111

  
112
[% IF SELF.all_weightunits.size %]
113
  <tr><td class="listheading" colspan="4">[% LxERP.t8("Weight") %]</td></tr>
114

  
115
  <tr>
116
   <td align="right">[% LxERP.t8("Weight unit") %]</td>
117
   <td>[% L.select_tag('defaults.weightunit', SELF.all_weightunits, default=SELF.defaults.weightunit, value_key='name', title_key='name', style=style) %]</td>
118
  </tr>
6
<div id="miscellaneous">
119 7

  
120
  <tr>
121
   <td align="right">[% LxERP.t8('Show weights') %]</td>
122
   <td>[% L.yes_no_tag('defaults.show_weight', SELF.defaults.show_weight, style=style) %]</td>
123
   <td colspan="2">[% LxERP.t8('Show the weights of articles and the total weight in orders, invoices and delivery notes?') %]</td>
124
  </tr>
125
[% END %]
126
 </table>
127
</div>
8
<div class="wrapper">
9

  
10
  <table class="tbl-horizontal">
11
    <caption> [% LxERP.t8("Company settings") %] </caption>
12
    <colgroup> <col class="wi-mediumsmall"><col class="wi-wide"> </colgroup>
13
    <tbody>
14
    <tr>
15
      <th> [% LxERP.t8("Company name") %] </th>
16
      <td> [% L.input_tag('defaults.company', SELF.defaults.company, class='wi-wide') %] </td>
17
    </tr>
18
    <tr>
19
      <th> [% LxERP.t8("Address") %] </th>
20
      <td> [% L.textarea_tag('defaults.address', SELF.defaults.address, rows=4, class='wi-wide') %] </td>
21
    </tr>
22
    <tr>
23
      <th> [% LxERP.t8("Signature") %] </th>
24
      <td> [% L.textarea_tag('defaults.signature', SELF.defaults.signature, rows=4, class='wi-wide') %] </td>
25
    </tr>
26
    <tr>
27
      <th class="caption" colspan="2"> [% 'IDs & Numbers' | $T8 %] </th>
28
    </tr>
29
    <tr>
30
      <th> [% LxERP.t8("Tax number") %] </th>
31
      [% IF SELF.defaults.feature_ustva %]
32
      <td> [% SELF.defaults.taxnumber %]&nbsp;&nbsp; <a href="ustva.pl?action=config_step1"> ([% LxERP.t8("For changeing goto USTVA Config") %]) </a> </td>
33
      [% ELSE %]
34
      <td> [% L.input_tag('defaults.taxnumber', SELF.defaults.taxnumber, class='wi-medium-small') %] </td>
35
      [% END %]
36
    </tr>
37
    <tr>
38
      <th> [% LxERP.t8("Tax ID number") %] </th>
39
      <td> [% L.input_tag('defaults.co_ustid', SELF.defaults.co_ustid, class='wi-medium-small') %] </td>
40
    </tr>
41
    <tr>
42
      <th> [% LxERP.t8("SEPA creditor ID") %] </th>
43
      <td> [% L.input_tag('defaults.sepa_creditor_id', SELF.defaults.sepa_creditor_id, class='wi-medium-small') %] </td>
44
    </tr>
45
    <tr>
46
      <th> [% LxERP.t8("Business Number") %] </th>
47
      <td> [% L.input_tag('defaults.businessnumber', SELF.defaults.businessnumber, class='wi-medium-small') %] </td>
48
    </tr>
49
    <tr>
50
      <th> [% LxERP.t8("DUNS number") %] </th>
51
      <td> [% L.input_tag('defaults.duns', SELF.defaults.duns, class='wi-medium-small') %] </td>
52
    </tr>
53
    </tbody>
54
  </table>
55

  
56
  <table class="tbl-horizontal">
57
    <colgroup> <col class="wi-small"> <col class="wi-small"> <col class="wi-small"></colgroup>
58
    <caption>[% LxERP.t8("Language settings") %]</caption>
59
    <tbody>
60
    <tr>
61
      <th> [% LxERP.t8('Default Customer/Vendor Language') %] </th>
62
      <td colspan="2"> [% L.select_tag('defaults.language_id', SELF.all_languages, title_key='description', default=SELF.defaults.language_id, with_empty=1, class='wi-mediumsmall') %] </td>
63
    </tr>
64
    <tr class="header-caption">
65
      <th class="caption">[% LxERP.t8("Currencies") %] </th>
66
      <th>[% LxERP.t8("Currency name") %] </th>
67
      <th class="center">[% LxERP.t8("Default currency") %] </th>
68
    </tr>
69
    [% FOREACH currency = SELF.all_currencies %]
70
      <tr>
71
        <th>
72
          [% L.hidden_tag("currencies[+].id", currency.id) %]
73
          [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %]
74
        </th>
75
        <td>
76
          [% SET title=LxERP.t8("Edit the currency names in order to rename them.") %]
77
          [% L.input_tag("currencies[].name", currency.name, title=title, class='wi-small') %]
78
        </td>
79
        <td class="center">[% L.radio_button_tag('defaults.currency_id', value=currency.id, id='defaults.currency_id_' _ currency.id, checked=(SELF.defaults.currency_id == currency.id)) %]</td>
80
      </tr>
81
    [% END %]
82
    <tr>
83
      <th></th>
84
      <td>[% L.input_tag("new_currency", FORM.new_currency, class='wi-small', placeholder=LxERP.t8('Add new (currency)'), title=LxERP.t8('Add new currency') ) %] </td>
85
      <td class="center">[% L.radio_button_tag('defaults.currency_id', value=-1, id='defaults.currency_id__1', checked=(SELF.defaults.currency_id == -1)) %] </td>
86
    </tr>
87
    [% IF SELF.all_weightunits.size %]
88
    <tr>
89
      <th class="caption" colspan="3">[% LxERP.t8("Weight") %] </th>
90
    </tr>
91
    <tr>
92
      <th>[% LxERP.t8("Weight unit") %] </th>
93
      <td>[% L.select_tag('defaults.weightunit', SELF.all_weightunits, default=SELF.defaults.weightunit, value_key='name', title_key='name', class='wi-small') %] </td>
94
      <td></td>
95
    </tr>
96
    <tr>
97
      <th>[% LxERP.t8('Show weights') %] </th>
98
      <td colspan="2">
99
        [% L.yes_no_tag('defaults.show_weight', SELF.defaults.show_weight, class='wi-small') %]
100
        <div class="description">[% LxERP.t8('Show the weights of articles and the total weight in orders, invoices and delivery notes?') %]</div>
101
      </td>
102
    </tr>
103
    [% END %]
104
    </tbody>
105
  </table>
106

  
107
</div><!-- /.wrapper -->
108

  
109
<div class="wrapper">
110

  
111
  <table class="tbl-horizontal">
112
    <caption>[% LxERP.t8("Print templates") %] </caption>
113
    <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
114

  
115
    <tbody>
116
      <tr>
117
        <th>[% LxERP.t8("Print templates to use") %] </th>
118
        <th>[% 'Templates / Master Templates' | $T8 %] </th>
119
      </tr>
120
      <tr>
121
        <th>[% L.radio_button_tag('use_templates', value='existing', id='use_templates_existing', label=LxERP.t8('Use existing templates'), checked=(FORM.use_templates == 'existing')) %] </th>
122
        <td>[% L.select_tag('defaults.templates', SELF.all_templates.print_templates, default=SELF.defaults.templates, value_sub=\make_templates_value, class='wi-normal') %] </td>
123
      </tr>
124
      <tr>
125
        <th>[% L.radio_button_tag('use_templates', value='new', id='use_templates_new', label=LxERP.t8('Create new templates from master templates'), checked=(FORM.use_templates == 'new')) %] </th>
126
        <td>[% L.select_tag('new_master_templates', SELF.all_templates.master_templates, default=FORM.new_master_templates, class='wi-normal') %] </td>
127
      </tr>
128
      <tr>
129
        <th></th>
130
        <td>[% SET placeholder=LxERP.t8("New name") %] [% L.input_tag('new_templates', FORM.new_templates, placeholder=placeholder, class='wi-normal') %] </td>
131
      </tr>
132
    </tbody>
133
  </table>
134

  
135
</div><!-- /.wrapper -->
136

  
137
</div><!-- /#miscellaneous -->

Auch abrufbar als: Unified diff