Anpassung locales.pl an neue Situation ohne explizit übersetzte Templates
[kivitendo-erp.git] / templates / webpages / dbupgrade / buchungsgruppen_parts.html
1 [%- USE T8 %]
2 [%- USE LxERP %]
3 [% USE HTML %]<div class="listtop">[% 'Step 1 of 3: Parts' | $T8 %]</div>
4
5 <form name="Form" method="post" action="login.pl">
6
7  <input type="hidden" name="type" value="parts">
8  <input type="hidden" name="action" value="login">
9  <input type="hidden" name="action2" value="">
10
11  [% IF saved_message %]
12   <p>[% saved_message %]</p>
13  [% END %]
14
15  <div class="subsubheading">[% 'Existing Buchungsgruppen' | $T8 %]</div>
16
17  <p>
18   [% 'The following Buchungsgruppen have already been created:' | $T8 %]
19   <br>
20   <ul>
21    [% FOREACH row = BUCHUNGSGRUPPEN %]
22     <li>
23      [% HTML.escape(row.description) %]:
24      [% 'Inventory' | $T8 %]: [% row.inventory_accno %];
25
26      [% 'Income accno' | $T8 %]/[% 'Expense accno' | $T8 %]
27      [% 'National' | $T8 %]: [% row.income_accno_0 %]/[% row.expense_accno_0 %];
28
29      [% 'Income accno' | $T8 %]/[% 'Expense accno' | $T8 %]
30      [% 'EU with VAT ID' | $T8 %]: [% row.income_accno_1 %]/[% row.expense_accno_1 %];
31
32      [% 'Income accno' | $T8 %]/[% 'Expense accno' | $T8 %]
33      [% 'EU without VAT ID' | $T8 %]: [% row.income_accno_2 %]/[% row.expense_accno_2 %];
34
35      [% 'Income accno' | $T8 %]/[% 'Expense accno' | $T8 %]
36      [% 'International' | $T8 %]: [% row.income_accno_3 %]/[% row.expense_accno_3 %]
37     </li>
38    [% END %]
39   </ul>
40  </p>
41
42  [% FOREACH row = LIST %]
43   <div class="subsubheading">[% LxERP.t8('New Buchungsgruppe #1', loop.count) | html %]</div>
44
45   <table>
46    <tr>
47     <td>[% 'Description' | $T8 %]:</td>
48     <td><input name="description_[% loop.count %]"></td>
49    </tr>
50
51    [% IF row.eur %]
52     <input type="hidden" name="inventory_accno_id_[% loop.count %]" value="[% std_inventory_accno_id %]">
53     [% ELSE %]
54     <tr>
55      <td>[% 'Inventory' | $T8 %]:</td>
56      <td>
57       <input type="hidden" name="inventory_accno_id_[% loop.count %]" value="[% HTML.escape(row.inventory_accno_id) %]">
58       [% HTML.escape(row.inventory_accno) %]--[% HTML.escape(row.inventory_description) %]
59      </td>
60     </tr>
61    [% END %]
62
63    <tr>
64     <td>[% 'Income accno' | $T8 %] [% 'National' | $T8 %]:</td>
65     <td>
66      <input type="hidden" name="income_accno_id_0_[% loop.count %]" value="[% HTML.escape(row.income_accno_id) %]">
67      [% HTML.escape(row.income_accno) %]--[% HTML.escape(row.income_description) %]
68     </td>
69    </tr>
70
71    <tr>
72     <td>[% 'Expense accno' | $T8 %] [% 'National' | $T8 %]:</td>
73     <td>
74      <input type="hidden" name="expense_accno_id_0_[% loop.count %]" value="[% HTML.escape(row.expense_accno_id) %]">
75      [% HTML.escape(row.expense_accno) %]--[% HTML.escape(row.expense_description) %]
76     </td>
77    </tr>
78
79    <tr>
80     <td>[% 'Income accno' | $T8 %] [% 'EU with VAT ID' | $T8 %]:</td>
81     <td>
82      <select name="income_accno_id_1_[% loop.count %]">
83       [% FOREACH acc_row = ACC_INCOME %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
84      </select>
85     </td>
86    </tr>
87
88    <tr>
89     <td>[% 'Expense accno' | $T8 %] [% 'EU with VAT ID' | $T8 %]:</td>
90     <td>
91      <select name="expense_accno_id_1_[% loop.count %]">
92       [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
93      </select>
94     </td>
95    </tr>
96
97    <tr>
98     <td>[% 'Income accno' | $T8 %] [% 'EU without VAT ID' | $T8 %]:</td>
99     <td>
100      <select name="income_accno_id_2_[% loop.count %]">
101       [% FOREACH acc_row = ACC_INCOME %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
102      </select>
103     </td>
104    </tr>
105
106    <tr>
107     <td>[% 'Expense accno' | $T8 %] [% 'EU without VAT ID' | $T8 %]:</td>
108     <td>
109      <select name="expense_accno_id_2_[% loop.count %]">
110       [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
111      </select>
112     </td>
113    </tr>
114
115    <tr>
116     <td>[% 'Income accno' | $T8 %] [% 'International' | $T8 %]:</td>
117     <td>
118      <select name="income_accno_id_3_[% loop.count %]">
119       [% FOREACH acc_row = ACC_INCOME %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
120      </select>
121     </td>
122    </tr>
123
124    <tr>
125     <td>[% 'Expense accno' | $T8 %] [% 'International' | $T8 %]:</td>
126     <td>
127      <select name="expense_accno_id_3_[% loop.count %]">
128       [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
129      </select>
130     </td>
131    </tr>
132   </table>
133
134   [% IF loop.last %]
135    <input type="hidden" name="rowcount" value="[% loop.count %]">
136   [% END %]
137
138   <hr>
139  [% END %]
140
141  <input type="submit" onclick="document.Form.action2.value = 'create_buchungsgruppen'; document.Form.submit();" name="dummy" value="[% 'Create Buchungsgruppen' | $T8 %]">
142
143 </form>
144