3 [% USE HTML %]<div class="listtop">[% 'Step 2 of 3: Services' | $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 <select name="inventory_accno_id_[% loop.count %]">
58 [% FOREACH acc_row = ACC_INVENTORY %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
65 <td>[% 'Income accno' | $T8 %] [% 'National' | $T8 %]:</td>
67 <input type="hidden" name="income_accno_id_0_[% loop.count %]" value="[% HTML.escape(row.income_accno_id) %]">
68 [% HTML.escape(row.income_accno) %]--[% HTML.escape(row.income_description) %]
73 <td>[% 'Expense accno' | $T8 %] [% 'National' | $T8 %]:</td>
75 <input type="hidden" name="expense_accno_id_0_[% loop.count %]" value="[% HTML.escape(row.expense_accno_id) %]">
76 [% HTML.escape(row.expense_accno) %]--[% HTML.escape(row.expense_description) %]
81 <td>[% 'Income accno' | $T8 %] [% 'EU with VAT ID' | $T8 %]:</td>
83 <select name="income_accno_id_1_[% loop.count %]">
84 [% FOREACH acc_row = ACC_INCOME %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
90 <td>[% 'Expense accno' | $T8 %] [% 'EU with VAT ID' | $T8 %]:</td>
92 <select name="expense_accno_id_1_[% loop.count %]">
93 [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
99 <td>[% 'Income accno' | $T8 %] [% 'EU without VAT ID' | $T8 %]:</td>
101 <select name="income_accno_id_2_[% loop.count %]">
102 [% FOREACH acc_row = ACC_INCOME %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
108 <td>[% 'Expense accno' | $T8 %] [% 'EU without VAT ID' | $T8 %]:</td>
110 <select name="expense_accno_id_2_[% loop.count %]">
111 [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
117 <td>[% 'Income accno' | $T8 %] [% 'International' | $T8 %]:</td>
119 <select name="income_accno_id_3_[% loop.count %]">
120 [% FOREACH acc_row = ACC_INCOME %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
126 <td>[% 'Expense accno' | $T8 %] [% 'International' | $T8 %]:</td>
128 <select name="expense_accno_id_3_[% loop.count %]">
129 [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
136 <input type="hidden" name="rowcount" value="[% loop.count %]">
142 <input type="submit" onclick="document.Form.action2.value = 'create_buchungsgruppen'; document.Form.submit();" name="dummy" value="[% 'Create Buchungsgruppen' | $T8 %]">