Revert "Nutzung der Tabelle currencies"
[kivitendo-erp.git] / templates / webpages / dbupgrade / orphaned_currencies.html
1 [%- USE T8 %]
2 [%- USE L %]
3 [% USE HTML %]<div class="listtop">[% 'Orphaned currencies' | $T8 %]</div>
4
5 <form name="Form" method="post" action="login.pl">
6 <input type="hidden" name="action" value="login">
7 <input type="hidden" name="defaultcurrency" value="[% HTML.escape(defaultcurrency) %]">
8
9 <p>[% 'There are undefined currencies in your system.' | $T8 %]</p>
10 <p>[% 'The following currencies have been used, but they are not defined:' | $T8 %]</p>
11 [% FOREACH row = ORPHANED_CURRENCIES %]
12 <input name="[% row.name %]" value="[% HTML.escape(row.curr) %]"><br>
13 <input type="hidden" name="old_[% row.name %]" value="[% HTML.escape(row.curr) %]">
14 [% END %]
15 <p>[% 'There are several options you can handle this problem, please select one:' | $T8 %]</p>
16
17 <table width="100%">
18
19 <tr>
20 <td>
21 [% L.radio_button_tag('continue_options',
22     value => 'insert',
23     disabled => 0,
24     checked  => 0) %]
25 &nbsp;[% '(recommended) Insert the used currencies in the system. You can simply change the name of the currencies by editing the textfields above. Do not use a name of a currency that is already in use.' | $T8 %] <br>
26 [% L.radio_button_tag('continue_options',
27     value => 'replace',
28     disabled => 0,
29     checked  => 0) %]
30 &nbsp;[% 'Replace the orphaned currencies by other not orphaned currencies. To do so, please delete the currency in the textfields above and replace it by another currency. You could loose or change unintentionally exchangerates. Go on very carefully since you could destroy transactions.' | $T8 %] <br>
31 [% L.radio_button_tag('continue_options',
32     value => 'break_up',
33     disabled => 0,
34     checked  => 0) %]
35 &nbsp;[% 'Break up the update and contact a service provider.' | $T8 %]
36 </tr>
37 </td>
38 </table>
39
40 <input type="submit" value="[% 'Continue' | $T8 %]">
41
42 </form>
43