Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b26018d8

Von Cem Aydin vor mehr als 1 Jahr hinzugefügt

  • ID b26018d85e5d23951d75e0f930d3fa9e7279291b
  • Vorgänger 9ab0f27f
  • Nachfolger 955f0913

design40: Fehlende dbupgrade Templates kopiert

- Formatierung vereinheitlicht
- wrapper Klasse hinzugefügt

Unterschiede anzeigen:

templates/design40_webpages/dbupgrade/SKR04_3804_already_exists.html
1
[% USE T8 %]
2
[% USE HTML %]
3

  
4
<h1>[% 'Update SKR04: new tax account 3804 (19%)' | $T8 %]</h1>
5

  
6
<div class="wrapper">
7

  
8
<form name="Form" method="post" action="login.pl">
9
<input type="hidden" name="action" value="login">
10

  
11
<p>[% 'The account 3804 already exists, the update will be skipped.' | $T8 %]</p>
12
<p>[% 'Please read the file' | $T8 %]doc/html/ch02s12.html.
13

  
14
<input type="hidden" name="account_exists" value="1">
15
<input type="submit" value="[% 'Continue' | $T8 %]">
16

  
17
</form>
18

  
19
</div><!-- /.wrapper -->
templates/design40_webpages/dbupgrade/SKR04_3804_update.html
1
[% USE T8 %]
2
[% USE HTML %]
3

  
4
<h1>[% 'Update SKR04: new tax account 3804 (19%)' | $T8 %]</h1>
5

  
6
<div class="wrapper">
7

  
8
<form name="Form" method="post" action="login.pl">
9
<input type="hidden" name="action" value="login">
10

  
11
<p>[% 'There are bookings to the account 3803 after 01.01.2007. If you didn\'t change this account manually to 19% the bookings are probably incorrect.' | $T8 %]</p>
12
<p>[% 'The account 3804 will not be added automatically.' | $T8 %]</p>
13
<p>[% 'Please read the file' | $T8 %]doc/html/ch02s12.html</p>
14

  
15
<input type="hidden" name="bookings_exist" value="1">
16
<input type="submit" value="[% 'Continue' | $T8 %]">
17

  
18
</form>
19

  
20
</div><!-- /.wrapper -->
templates/design40_webpages/dbupgrade/auth/clients.html
1
[% USE LxERP %]
2
[% USE L %]
3

  
4
[% INCLUDE 'common/flash.html' %]
5

  
6
<h1>[% LxERP.t8("Introduction of clients") %]</h1>
7

  
8
<div class="wrapper">
9

  
10
[% L.javascript_tag('jquery.selectboxes', 'jquery.multiselect2side') %]
11

  
12
<p>
13
 [% LxERP.t8("kivitendo has been extended to handle multiple clients within a single installation.") %]
14
 [% LxERP.t8("Therefore several settings that had to be made for each user in the past have been consolidated into the client configuration.") %]
15
 [% LxERP.t8("You have to grant users access to one or more clients.") %]
16
 [% LxERP.t8("The user can chose which client to connect to during login.") %]
17
</p>
18

  
19
<p>
20
 [% LxERP.t8("The access rights a user has within a client instance is still governed by his group membership.") %]
21
 [% LxERP.t8("Only groups that have been configured for the client the user logs in to will be considered.") %]
22
</p>
23

  
24
<p>
25
 [% LxERP.t8("The following list has been generated automatically from existing users collapsing users with identical settings into a single entry.") %]
26
 [% LxERP.t8("Please select which client configurations you want to create.") %]
27
 [% LxERP.t8("The 'name' is the field shown to the user during login.") %]
28
 [% LxERP.t8("It can be changed later but must be unique within the installation.") %]
29
</p>
30

  
31
<form method="post" action="controller.pl">
32
  [% FOREACH client = SELF.clients %]
33
  [% L.hidden_tag("clients[+].dummy", 1) %]
34

  
35
  <h2>[% L.checkbox_tag("clients[].enabled", label=LxERP.t8("Create new client #1", loop.count), checked=client.enabled) %]</h2>
36

  
37
  <table>
38
    <tr>
39
    <th colspan="6">[% LxERP.t8("General settings") %]</th>
40
    </tr>
41

  
42
    <tr>
43
    <td class="right">[% LxERP.t8("Client name") %]:</td>
44
    <td>[% L.input_tag("clients[].name", client.name) %]</td>
45

  
46
    <td class="right">[% LxERP.t8("Company name") %]:</td>
47
    <td>[% L.input_tag("clients[].company", client.company) %]</td>
48

  
49
    <td class="right">[% LxERP.t8("Address") %]:</td>
50
    <td>[% L.textarea_tag("clients[].address", client.address, rows=4, cols=40) %]</td>
51
    </tr>
52

  
53
    <tr>
54
    <td class="right">[% LxERP.t8("Tax number") %]:</td>
55
    <td>[% L.input_tag("clients[].taxnumber", client.taxnumber) %]</td>
56

  
57
    <td class="right">[% LxERP.t8("VAT ID") %]:</td>
58
    <td>[% L.input_tag("clients[].co_ustid", client.co_ustid) %]</td>
59

  
60
    <td class="right">[% LxERP.t8("DUNS-Nr") %]:</td>
61
    <td>[% L.input_tag("clients[].duns", client.duns) %]</td>
62
    </tr>
63

  
64
    <tr>
65
    <td class="right">[% LxERP.t8("SEPA creditor ID") %]:</td>
66
    <td colspan="5">[% L.input_tag("clients[].sepa_creditor_id", client.sepa_creditor_id) %]</td>
67
    </tr>
68

  
69
    <tr>
70
    <td class="right">[% LxERP.t8("Print templates") %]:</td>
71
    <td colspan="5">[% L.select_tag("clients[].templates", SELF.templates, default=client.templates) %]</td>
72
    </tr>
73

  
74
    <tr>
75
    <th colspan="6">[% LxERP.t8("User access") %]</th>
76
    </tr>
77

  
78
    <tr>
79
    <td>[% LxERP.t8("Users with access to this client") %]:</td>
80

  
81
    <td colspan="6" class="clearfix">
82
      [% L.select_tag('clients[].users[]', SELF.users, id='users_multi_' _ loop.count, value_key='id', title_key='login', default=client.users, multiple=1) %]
83
    </td>
84
    </tr>
85

  
86
    <tr>
87
    <td>[% LxERP.t8("Groups that are valid for this client for access rights") %]:</td>
88

  
89
    <td colspan="6" class="clearfix">
90
      [% L.select_tag('clients[].groups[]', SELF.groups, id='groups_multi_' _ loop.count, value_key='id', title_key='name', default=client.groups, multiple=1) %]
91
    </td>
92
    </tr>
93

  
94
    <tr>
95
    <th colspan="6">[% LxERP.t8("Database settings") %]</th>
96
    </tr>
97

  
98
    <tr>
99
    <td class="right">[% LxERP.t8("Database Host") %]:</td>
100
    <td>[% L.input_tag("clients[].dbhost", client.dbhost) %]</td>
101

  
102
    <td class="right">[% LxERP.t8("Port") %]:</td>
103
    <td>[% L.input_tag("clients[].dbport", (client.dbport || 5432)) %]</td>
104

  
105
    <td class="right">[% LxERP.t8("Database name") %]:</td>
106
    <td>[% L.input_tag("clients[].dbname", client.dbname) %]</td>
107
    </tr>
108

  
109
    <tr>
110
    <td class="right">[% LxERP.t8("User") %]:</td>
111
    <td>[% L.input_tag("clients[].dbuser", client.dbuser) %]</td>
112

  
113
    <td class="right">[% LxERP.t8("Password") %]:</td>
114
    <td>[% L.input_tag("clients[].dbpasswd", client.dbpasswd) %]</td>
115
    </tr>
116

  
117
  </table>
118

  
119
  [% L.multiselect2side('users_multi_'  _ loop.count, labelsx => LxERP.t8('All users'),  labeldx => LxERP.t8('Users with access')) %]
120
  [% L.multiselect2side('groups_multi_' _ loop.count, labelsx => LxERP.t8('All groups'), labeldx => LxERP.t8('Groups valid for this client')) %]
121
  [% END %]
122

  
123
  <p>
124
    [% L.hidden_tag('action', 'Admin/apply_dbupgrade_scripts') %]
125
    [% L.submit_tag('dummy', LxERP.t8('Continue')) %]
126
  </p>
127
</form>
128

  
129
</div><!-- /.wrapper -->
templates/design40_webpages/dbupgrade/auth/clients_webdav.html
1
[% USE LxERP %]
2
[% USE L %]
3

  
4
[% INCLUDE 'common/flash.html' %]
5

  
6
<h1>[% LxERP.t8("Introduction of clients") %] -- [% LxERP.t8("Handling of WebDAV") %]</h1>
7

  
8
<div class="wrapper">
9

  
10
<p>
11
  [% LxERP.t8("The WebDAV feature has been used.") %]
12
  [% LxERP.t8("With the introduction of clients each client gets its own WebDAV folder.") %]
13
  [% LxERP.t8("In order to migrate the old folder structure into the new structure you have to chose which client the old structure will be assigned to.") %]
14
  [% LxERP.t8("All the other clients will start with an empty set of WebDAV folders.") %]
15
</p>
16

  
17
<form method="post" action="controller.pl">
18
  <p>
19
    [% LxERP.t8("Client to assign the existing WebDAV folders to") %]:
20
    [% L.select_tag('client_id', SELF.clients, default=default_client.id, title_key='name') %]
21
  </p>
22
  <p>
23
    [% L.hidden_tag('action', 'Admin/apply_dbupgrade_scripts') %]
24
    [% L.submit_tag('dummy', LxERP.t8('Continue')) %]
25
  </p>
26
</form>
27

  
28
</div><!-- /.wrapper -->
templates/design40_webpages/dbupgrade/contacts_convert_cp_birthday_to_date_form.html
1
[% USE HTML %]
2
[% USE L %]
3
[% USE LxERP %]
4

  
5
<h1>[% LxERP.t8('Conversion of "birthday" contact person attribute') %]</h1>
6

  
7
<div class="wrapper">
8

  
9
<p>
10
  [% LxERP.t8('The contact person attribute "birthday" is converted from a free-form text field into a date field.') %]
11
  [% LxERP.t8('This requires you to manually correct entries for which an automatic conversion failed and to check those for which it succeeded.') %]
12
</p>
13

  
14
[% BLOCK birthday_table %]
15
  <table>
16

  
17
    <tr>
18
      <th>[% LxERP.t8('Database ID') %]</th>
19
      <th>[% LxERP.t8('Name') %]</th>
20
      <th>[% LxERP.t8('Given Name') %]</th>
21
      <th>[% LxERP.t8('Birthday (before conversion)') %]</th>
22
      <th>[% LxERP.t8('Birthday (after conversion)') %]</th>
23
    </tr>
24

  
25
    [% FOREACH row IN data %]
26
      <tr class="listrow[% loop.count % 2 %]">
27
        <input type="hidden" name="cp_id_[% row.row_index %]" value="[% row.cp_id %]">
28

  
29
        <td>[% row.cp_id %]</td>
30
        <td>[% row.cp_givenname | html %]</td>
31
        <td>[% row.cp_name | html %]</td>
32
        <td>[% row.cp_birthday_old | html %]</td>
33
        <td>[% L.date_tag('cp_birthday_'_ row.row_index, row.cp_birthday) %]</td>
34
      </tr>
35
    [% END %]
36

  
37
  </table>
38
[% END %]
39

  
40
<form action="[% script %]" method="POST">
41
  <h2>[% LxERP.t8('Entries for which automatic conversion failed:') %]</h2>
42
  [% PROCESS birthday_table data = data %]
43

  
44
  <h2>[% LxERP.t8('Entries for which automatic conversion succeeded:') %]</h2>
45
  [% PROCESS birthday_table data = auto_data %]
46

  
47
  <input type="hidden" name="row_length" value="[% row_length %]">
48
  <input type="hidden" name="action" value="LoginScreen/login">
49
  <input type="submit" name="form_submitted" value="save">
50
</form>
51

  
52
</div><!-- /.wrapper -->
templates/design40_webpages/dbupgrade/cp_greeting_update_form.html
1
[% USE T8 %]
2
[% USE HTML %]
3

  
4
<h1>[% 'cp_greeting to cp_gender migration' | $T8 %]</h1>
5

  
6
<div class="wrapper">
7

  
8
<form name="Form" method="post" action="login.pl">
9
<input type="hidden" name="action" value="login">
10

  
11
<br>
12
<p>The method for generating greetings ("Dear Mr. Smith") is being changed so the greeting is controlled by the gender. For this a new database field cp_gender is introduced, while the old database field cp_greeting will be removed. The various translations (Mr./Herr/Monsieur) will be stored in the database, under generic_translations. The print variable cp_greeting still exists, however, so print templates don't have to be changed, and the variable is assigned according to the gender of the contact person and the desired language.</p>
13

  
14
<p>During the conversion process all contact persons need to be assigned a gender. The gender is detected automatically where possible, but in some cases will have to be set manually.</p>
15

  
16
During the conversion process:<br>
17
1. All contact persons will have their gender set to "m" (male) as a default<br>
18
2. All contact persons where the greeting contains "frau,mrs,miss" are set to "f" (female)<br>
19

  
20
<p>The gender of the following contact persons couldn't be determined automatically from the greeting, please set the gender manually:</p>
21
[% gender_table %]
22

  
23

  
24
<p>Please enter your desired default greeting for men and women. To change the
25
default greeting or add a greeting in more languages, go to: System -> Languages -> Greetings
26
</p>
27

  
28
<p>
29
Greeting for men: [% default_greeting_text_male %] <br>
30
Greeting for women: [% default_greeting_text_female %] <br>
31
</p>
32

  
33
<br><br>
34
The data from the cp_greeting field will now be dropped. To prevent any data loss if you used the cp_greeting field for anything else, we suggest you transfer this information to the cp_title field:
35
<br>
36
[% title_table %]
37

  
38
<input type=hidden name="do_migrate" value="1">
39
<input type=submit VALUE="submit">
40

  
41
</form>
42

  
43
</div><!-- /.wrapper -->
templates/design40_webpages/dbupgrade/error.html
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE LxERP %]
4

  
5
<div class="wrapper">
6

  
7
<p>
8
  [% LxERP.t8('The database update/creation did not succeed. The file #1 contained the following error:', file) | html %]
9
  <br>
10
  [% error %]
11
  <br>
12
  [% 'All changes in that file have been reverted.' | $T8 %]
13
</p>
14

  
15
</div><!-- /.wrapper -->
templates/design40_webpages/dbupgrade/header.html
1
[% USE T8 %]
2
[% USE HTML %]
3

  
4
<h1>[% 'Dataset upgrade' | $T8 %] ([% HTML.escape(dbname) %])</h1>
templates/design40_webpages/dbupgrade/taxkey_update.html
1
[% USE T8 %]
2
[% USE HTML %]
3

  
4
<h1>[% 'taxkey 0 is already allocated.' | $T8 %]</h1>
5

  
6
<div class="wrapper">
7

  
8
<form name="Form" method="post" action="login.pl">
9
<input type="hidden" name="action" value="login">
10

  
11
<p>[% 'There is already a taxkey 0 with tax rate not 0.' | $T8 %]</p>
12
<p>[% 'From this version on the taxkey 0 must have a tax rate of 0 (for DATEV compatibility).' | $T8 %]</p>
13
<p>[% 'To continue please change the taxkey 0 to another value.' | $T8 %]</p>
14
<p>[% 'Do not change the tax rate of taxkey 0.' | $T8 %]</p>
15
<p>[% 'During the next update a taxkey 0 with tax rate of 0 will automatically created.' | $T8 %]</p>
16
<p>[% 'Please contact your administrator.' | $T8 %]</p>
17

  
18
</form>
19

  
20
</div><!-- /.wrapper -->
templates/design40_webpages/dbupgrade/upgrade_message2.html
1
[% USE T8 %]
2
[% USE LxERP %]
3
[% USE HTML %]
4

  
5
<ul>
6
 <li>[% LxERP.t8('Applying #1:', file) | html %] [% description %]</li>
7
</ul>

Auch abrufbar als: Unified diff