Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4fe54d91

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

  • ID 4fe54d91e6049b02034331d2a14841512fef746a
  • Vorgänger 46f636b1
  • Nachfolger 790a76b0

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 name and address") %]</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("Street 1") %]</td>
13
   <td>[% L.input_tag('defaults.address_street1', SELF.defaults.address_street1, style=style) %]</td>
14
  </tr>
15

  
16
  <tr>
17
   <td align="right" valign="top">[% LxERP.t8("Street 2") %]</td>
18
   <td>[% L.input_tag('defaults.address_street2', SELF.defaults.address_street2, style=style) %]</td>
19
  </tr>
20

  
21
  <tr>
22
   <td align="right" valign="top">[% LxERP.t8("Zipcode and city") %]</td>
23
   <td>
24
     [% L.input_tag('defaults.address_zipcode', SELF.defaults.address_zipcode, size=8) %]
25
     [% L.input_tag('defaults.address_city', SELF.defaults.address_city, size=30) %]
26
   </td>
27
  </tr>
28

  
29
  <tr>
30
   <td align="right" valign="top">[% LxERP.t8("Country") %]</td>
31
   <td>[% L.input_tag('defaults.address_country', SELF.defaults.address_country, style=style) %]</td>
32
  </tr>
33

  
34
  <tr><td class="listheading" colspan="4">[% LxERP.t8("Company settings") %]</td></tr>
35

  
36
  <tr>
37
   <td align="right" valign="top">[% LxERP.t8("Signature") %]</td>
38
   <td valign="top">[% L.textarea_tag('defaults.signature', SELF.defaults.signature, style=style, rows=4) %]</td>
39
  </tr>
40

  
41
  <tr>
42
   <td align="right">[% LxERP.t8("Tax number") %]</td>
43
   [% IF SELF.defaults.feature_ustva %]
44
   <td>[% SELF.defaults.taxnumber %]&nbsp;&nbsp;<a href="ustva.pl?action=config_step1">([% LxERP.t8("For changeing goto USTVA Config") %])</a></td>
45
   [% ELSE %]
46
   <td>[% L.input_tag('defaults.taxnumber', SELF.defaults.taxnumber, style=style) %]</td>
47
   [% END %]
48
  </tr>
49

  
50
  <tr>
51
   <td align="right">[% LxERP.t8("Tax ID number") %]</td>
52
   <td>[% L.input_tag('defaults.co_ustid', SELF.defaults.co_ustid, style=style) %]</td>
53
  </tr>
54

  
55
  <tr>
56
   <td align="right">[% LxERP.t8("SEPA creditor ID") %]</td>
57
   <td>[% L.input_tag('defaults.sepa_creditor_id', SELF.defaults.sepa_creditor_id, style=style) %]</td>
58
  </tr>
59

  
60
  <tr>
61
   <td align="right">[% LxERP.t8("Business Number") %]</td>
62
   <td>[% L.input_tag('defaults.businessnumber', SELF.defaults.businessnumber, style=style) %]</td>
63
  </tr>
64

  
65
  <tr>
66
   <td align="right">[% LxERP.t8("DUNS number") %]</td>
67
   <td>[% L.input_tag('defaults.duns', SELF.defaults.duns, style=style) %]</td>
68
  </tr>
69

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

  
72
  <tr>
73
   <td align="right">[% LxERP.t8('Default Customer/Vendor Language') %]</td>
74
   <td>[% L.select_tag('defaults.language_id', SELF.all_languages, title_key='description', default=SELF.defaults.language_id, with_empty=1, style=style) %]</td>
75
  </tr>
76 1
[% USE LxERP %]
77 2
[% USE L %]
78 3
[% USE HTML %]
79 4
[% USE T8 %]
80 5

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

  
83
  <tr>
84
   <td align="right" valign="top">[% LxERP.t8("Print templates to use") %]</td>
85
   <td colspan="3" valign="top">
86
    <table>
87
     <tr>
88
      <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>
89
      <td>[% L.select_tag('defaults.templates', SELF.all_templates.print_templates, default=SELF.defaults.templates, value_sub=\make_templates_value, style=style) %]</td>
90
     </tr>
91

  
92
     <tr>
93
      <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>
94
      <td>[% L.select_tag('new_master_templates', SELF.all_templates.master_templates, default=FORM.new_master_templates, style=style) %]</td>
95
     </tr>
96

  
97
     <tr>
98
      <td align="right">[% LxERP.t8("New name") %]</td>
99
      <td>[% L.input_tag('new_templates', FORM.new_templates, style=style) %]</td>
100
     </tr>
101
    </table>
102
   </td>
103
  </tr>
104

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

  
107
  <tr>
108
   <th></th>
109
   <th>[% LxERP.t8("Currency name") %]</th>
110
   <th>[% LxERP.t8("Default currency") %]</th>
111
   <th>[% LxERP.t8("Hints") %]</th>
112
  </tr>
113

  
114
[% FOREACH currency = SELF.all_currencies %]
115
  <tr>
116
   <td align="right">
117
     [% L.hidden_tag("currencies[+].id", currency.id) %]
118
     [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %]
119
   </td>
120
   <td>[% L.input_tag("currencies[].name", currency.name, style=style) %]</td>
121
   <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>
122
   <td>[% IF loop.count == 1 %][% LxERP.t8("Edit the currency names in order to rename them.") %][%- END %]</td>
123
  </tr>
124
[% END %]
125

  
126
  <tr>
127
   <td align="right">[% LxERP.t8("Add new currency") %]</td>
128
   <td>[% L.input_tag("new_currency", FORM.new_currency, style=style) %]</td>
129
   <td align="center">[% L.radio_button_tag('defaults.currency_id', value=-1, id='defaults.currency_id__1', checked=(SELF.defaults.currency_id == -1)) %]</td>
130
  </tr>
131

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

  
135
  <tr>
136
   <td align="right">[% LxERP.t8("Weight unit") %]</td>
137
   <td>[% L.select_tag('defaults.weightunit', SELF.all_weightunits, default=SELF.defaults.weightunit, value_key='name', title_key='name', style=style) %]</td>
138
  </tr>
6
<div id="miscellaneous">
139 7

  
140
  <tr>
141
   <td align="right">[% LxERP.t8('Show weights') %]</td>
142
   <td>[% L.yes_no_tag('defaults.show_weight', SELF.defaults.show_weight, style=style) %]</td>
143
   <td colspan="2">[% LxERP.t8('Show the weights of articles and the total weight in orders, invoices and delivery notes?') %]</td>
144
  </tr>
145
[% END %]
146
 </table>
147
</div>
8
<div class="wrapper">
9

  
10
  <table class="tbl-horizontal">
11
    <caption> [% LxERP.t8("Company name and address") %] </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
     <td>[% LxERP.t8("Street 1") %]</td>
20
     <td>[% L.input_tag('defaults.address_street1', SELF.defaults.address_street1, style=style) %]</td>
21
    </tr>
22
    <tr>
23
     <td>[% LxERP.t8("Street 2") %]</td>
24
     <td>[% L.input_tag('defaults.address_street2', SELF.defaults.address_street2, style=style) %]</td>
25
    </tr>
26
    <tr>
27
     <td>[% LxERP.t8("Zipcode and city") %]</td>
28
     <td>
29
       [% L.input_tag('defaults.address_zipcode', SELF.defaults.address_zipcode, size=8) %]
30
       [% L.input_tag('defaults.address_city', SELF.defaults.address_city, size=30) %]
31
     </td>
32
    </tr>
33
    <tr>
34
     <td>[% LxERP.t8("Country") %]</td>
35
     <td>[% L.input_tag('defaults.address_country', SELF.defaults.address_country, style=style) %]</td>
36
    </tr>
37
    <tr>
38
      <th class="caption" colspan="2">[% LxERP.t8("Company settings") %]</th>
39
    </tr>
40
    <tr>
41
      <th> [% LxERP.t8("Signature") %] </th>
42
      <td> [% L.textarea_tag('defaults.signature', SELF.defaults.signature, rows=4, class='wi-wide') %] </td>
43
    </tr>
44
    <tr>
45
      <th> [% LxERP.t8("Tax number") %] </th>
46
      [% IF SELF.defaults.feature_ustva %]
47
      <td> [% SELF.defaults.taxnumber %]&nbsp;&nbsp; <a href="ustva.pl?action=config_step1"> ([% LxERP.t8("For changeing goto USTVA Config") %]) </a> </td>
48
      [% ELSE %]
49
      <td> [% L.input_tag('defaults.taxnumber', SELF.defaults.taxnumber, class='wi-medium-small') %] </td>
50
      [% END %]
51
    </tr>
52
    <tr>
53
      <th> [% LxERP.t8("Tax ID number") %] </th>
54
      <td> [% L.input_tag('defaults.co_ustid', SELF.defaults.co_ustid, class='wi-medium-small') %] </td>
55
    </tr>
56
    <tr>
57
      <th> [% LxERP.t8("SEPA creditor ID") %] </th>
58
      <td> [% L.input_tag('defaults.sepa_creditor_id', SELF.defaults.sepa_creditor_id, class='wi-medium-small') %] </td>
59
    </tr>
60
    <tr>
61
      <th> [% LxERP.t8("Business Number") %] </th>
62
      <td> [% L.input_tag('defaults.businessnumber', SELF.defaults.businessnumber, class='wi-medium-small') %] </td>
63
    </tr>
64
    <tr>
65
      <th> [% LxERP.t8("DUNS number") %] </th>
66
      <td> [% L.input_tag('defaults.duns', SELF.defaults.duns, class='wi-medium-small') %] </td>
67
    </tr>
68
    </tbody>
69
  </table>
70

  
71
  <table class="tbl-horizontal">
72
    <colgroup> <col class="wi-small"> <col class="wi-small"> <col class="wi-small"></colgroup>
73
    <caption>[% LxERP.t8("Language settings") %]</caption>
74
    <tbody>
75
    <tr>
76
      <th> [% LxERP.t8('Default Customer/Vendor Language') %] </th>
77
      <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>
78
    </tr>
79
    <tr class="header-caption">
80
      <th class="caption">[% LxERP.t8("Currencies") %] </th>
81
      <th>[% LxERP.t8("Currency name") %] </th>
82
      <th class="center">[% LxERP.t8("Default currency") %] </th>
83
    </tr>
84
    [% FOREACH currency = SELF.all_currencies %]
85
      <tr>
86
        <th>
87
          [% L.hidden_tag("currencies[+].id", currency.id) %]
88
          [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %]
89
        </th>
90
        <td>
91
          [% SET title=LxERP.t8("Edit the currency names in order to rename them.") %]
92
          [% L.input_tag("currencies[].name", currency.name, title=title, class='wi-small') %]
93
        </td>
94
        <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>
95
      </tr>
96
    [% END %]
97
    <tr>
98
      <th></th>
99
      <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>
100
      <td class="center">[% L.radio_button_tag('defaults.currency_id', value=-1, id='defaults.currency_id__1', checked=(SELF.defaults.currency_id == -1)) %] </td>
101
    </tr>
102
    [% IF SELF.all_weightunits.size %]
103
    <tr>
104
      <th class="caption" colspan="3">[% LxERP.t8("Weight") %] </th>
105
    </tr>
106
    <tr>
107
      <th>[% LxERP.t8("Weight unit") %] </th>
108
      <td>[% L.select_tag('defaults.weightunit', SELF.all_weightunits, default=SELF.defaults.weightunit, value_key='name', title_key='name', class='wi-small') %] </td>
109
      <td></td>
110
    </tr>
111
    <tr>
112
      <th>[% LxERP.t8('Show weights') %] </th>
113
      <td colspan="2">
114
        [% L.yes_no_tag('defaults.show_weight', SELF.defaults.show_weight, class='wi-small') %]
115
        <div class="description">[% LxERP.t8('Show the weights of articles and the total weight in orders, invoices and delivery notes?') %]</div>
116
      </td>
117
    </tr>
118
    [% END %]
119
    </tbody>
120
  </table>
121

  
122
</div><!-- /.wrapper -->
123

  
124
<div class="wrapper">
125

  
126
  <table class="tbl-horizontal">
127
    <caption>[% LxERP.t8("Print templates") %] </caption>
128
    <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
129

  
130
    <tbody>
131
      <tr>
132
        <th>[% LxERP.t8("Print templates to use") %] </th>
133
        <th>[% 'Templates / Master Templates' | $T8 %] </th>
134
      </tr>
135
      <tr>
136
        <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>
137
        <td>[% L.select_tag('defaults.templates', SELF.all_templates.print_templates, default=SELF.defaults.templates, value_sub=\make_templates_value, class='wi-normal') %] </td>
138
      </tr>
139
      <tr>
140
        <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>
141
        <td>[% L.select_tag('new_master_templates', SELF.all_templates.master_templates, default=FORM.new_master_templates, class='wi-normal') %] </td>
142
      </tr>
143
      <tr>
144
        <th></th>
145
        <td>[% SET placeholder=LxERP.t8("New name") %] [% L.input_tag('new_templates', FORM.new_templates, placeholder=placeholder, class='wi-normal') %] </td>
146
      </tr>
147
    </tbody>
148
  </table>
149

  
150
</div><!-- /.wrapper -->
151

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

Auch abrufbar als: Unified diff