Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision dfaa036e

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

  • ID dfaa036e7f1f36019b6824a1ba43b77229f4f30a
  • Vorgänger eae4302d
  • Nachfolger 5af1f24c

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

Unterschiede anzeigen:

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

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

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

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

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

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

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

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

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

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

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

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

  
60
  <tr>
61
   <td align="right" valign="top">[% LxERP.t8("Print templates to use") %]</td>
62
   <td colspan="3" valign="top">
63
    <table>
64
     <tr>
65
      <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>
66
      <td>[% L.select_tag('defaults.templates', SELF.all_templates.print_templates, default=SELF.defaults.templates, value_sub=\make_templates_value, style=style) %]</td>
67
     </tr>
68

  
69
     <tr>
70
      <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>
71
      <td>[% L.select_tag('new_master_templates', SELF.all_templates.master_templates, default=FORM.new_master_templates, style=style) %]</td>
72
     </tr>
73

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

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

  
84
  <tr>
85
   <th></th>
86
   <th>[% LxERP.t8("Currency name") %]</th>
87
   <th>[% LxERP.t8("Default currency") %]</th>
88
   <th>[% LxERP.t8("Hints") %]</th>
89
  </tr>
90

  
91
[% FOREACH currency = SELF.all_currencies %]
92
  <tr>
93
   <td align="right">
94
     [% L.hidden_tag("currencies[+].id", currency.id) %]
95
     [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %]
96
   </td>
97
   <td>[% L.input_tag("currencies[].name", currency.name, style=style) %]</td>
98
   <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>
99
   <td>[% IF loop.count == 1 %][% LxERP.t8("Edit the currency names in order to rename them.") %][%- END %]</td>
100
  </tr>
101
[% END %]
102

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

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

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

  
117
  <tr>
118
   <td align="right">[% LxERP.t8('Show weights') %]</td>
119
   <td>[% L.yes_no_tag('defaults.show_weight', SELF.defaults.show_weight, style=style) %]</td>
120
   <td colspan="2">[% LxERP.t8('Show the weights of articles and the total weight in orders, invoices and delivery notes?') %]</td>
121
  </tr>
122
[% END %]
123
 </table>
124
</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