3 [% USE HTML %]<div class="listtop">[% 'Step 1 of 3: Parts' | $T8 %]</div>
5 <form name="Form" method="post" action="login.pl">
7 <input type="hidden" name="type" value="parts">
8 <input type="hidden" name="action" value="login">
9 <input type="hidden" name="action2" value="">
11 [% IF saved_message %]
12 <p>[% saved_message %]</p>
15 <div class="subsubheading">[% 'Existing Buchungsgruppen' | $T8 %]</div>
18 [% 'The following Buchungsgruppen have already been created:' | $T8 %]
21 [% FOREACH row = BUCHUNGSGRUPPEN %]
23 [% HTML.escape(row.description) %]:
24 [% 'Inventory' | $T8 %]: [% row.inventory_accno %];
26 [% 'Income accno' | $T8 %]/[% 'Expense accno' | $T8 %]
27 [% 'National' | $T8 %]: [% row.income_accno_0 %]/[% row.expense_accno_0 %];
29 [% 'Income accno' | $T8 %]/[% 'Expense accno' | $T8 %]
30 [% 'EU with VAT ID' | $T8 %]: [% row.income_accno_1 %]/[% row.expense_accno_1 %];
32 [% 'Income accno' | $T8 %]/[% 'Expense accno' | $T8 %]
33 [% 'EU without VAT ID' | $T8 %]: [% row.income_accno_2 %]/[% row.expense_accno_2 %];
35 [% 'Income accno' | $T8 %]/[% 'Expense accno' | $T8 %]
36 [% 'International' | $T8 %]: [% row.income_accno_3 %]/[% row.expense_accno_3 %]
42 [% FOREACH row = LIST %]
43 <div class="subsubheading">[% LxERP.t8('New Buchungsgruppe #1', loop.count) | html %]</div>
47 <td>[% 'Description' | $T8 %]:</td>
48 <td><input name="description_[% loop.count %]"></td>
52 <input type="hidden" name="inventory_accno_id_[% loop.count %]" value="[% std_inventory_accno_id %]">
55 <td>[% 'Inventory' | $T8 %]:</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) %]
64 <td>[% 'Income accno' | $T8 %] [% 'National' | $T8 %]:</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) %]
72 <td>[% 'Expense accno' | $T8 %] [% 'National' | $T8 %]:</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) %]
80 <td>[% 'Income accno' | $T8 %] [% 'EU with VAT ID' | $T8 %]:</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 %]
89 <td>[% 'Expense accno' | $T8 %] [% 'EU with VAT ID' | $T8 %]:</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 %]
98 <td>[% 'Income accno' | $T8 %] [% 'EU without VAT ID' | $T8 %]:</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 %]
107 <td>[% 'Expense accno' | $T8 %] [% 'EU without VAT ID' | $T8 %]:</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 %]
116 <td>[% 'Income accno' | $T8 %] [% 'International' | $T8 %]:</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 %]
125 <td>[% 'Expense accno' | $T8 %] [% 'International' | $T8 %]:</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 %]
135 <input type="hidden" name="rowcount" value="[% loop.count %]">
141 <input type="submit" onclick="document.Form.action2.value = 'create_buchungsgruppen'; document.Form.submit();" name="dummy" value="[% 'Create Buchungsgruppen' | $T8 %]">