1c154e864b03994f422cfe8f080dc4370bd809e2
[kivitendo-erp.git] / templates / webpages / dbupgrade / cp_greeting_update_form.html
1 [%- USE T8 %]
2 [% USE HTML %]<div class="listtop">[% 'cp_greeting to cp_gender migration' | $T8 %]</div>
3
4
5 <form action="[% script %]" method="POST">
6 <br>
7 <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>
8
9 <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>
10
11 During the conversion process:<br>
12 1. All contact persons will have their gender set to "m" (male) as a default<br>
13 2. All contact persons where the greeting contains "frau,mrs,miss" are set to "f" (female)<br>
14
15 <p>The gender of the following contact persons couldn't be determined automatically from the greeting, please set the gender manually:</p>
16 [% gender_table %]
17
18
19 <p>Please enter your desired default greeting for men and women. To change the
20 default greeting or add a greeting in more languages, go to: System -> Languages -> Greetings
21 </p>
22
23 <p>
24 Greeting for men: [% default_greeting_text_male %] <br>
25 Greeting for women: [% default_greeting_text_female %] <br>
26 </p>
27
28 <br><br>
29 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:
30 <br>
31 [% title_table %]
32
33 <input type=hidden name="do_migrate" value="1">
34 <input type=submit VALUE="submit">
35
36 </form>
37