1 [% USE HTML %]<div class="listtop"><translate>Step 2 of 3: Services</translate></div>
3 <form name="Form" method="post" action="login.pl">
5 <input type="hidden" name="login" value="[% HTML.escape(login) %]">
6 <input type="hidden" name="hashed_password" value="[% HTML.escape(password) %]">
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"><translate>Existing Buchungsgruppen</translate></div>
18 <translate>The following Buchungsgruppen have already been created:</translate>
21 [% FOREACH row = BUCHUNGSGRUPPEN %]
23 [% HTML.escape(row.description) %]:
24 <translate>Inventory</translate>: [% row.inventory_accno %];
26 <translate>Income accno</translate>/<translate>Expense accno</translate>
27 <translate>National</translate>: [% row.income_accno_0 %]/[% row.expense_accno_0 %];
29 <translate>Income accno</translate>/<translate>Expense accno</translate>
30 <translate>EU with VAT ID</translate>: [% row.income_accno_1 %]/[% row.expense_accno_1 %];
32 <translate>Income accno</translate>/<translate>Expense accno</translate>
33 <translate>EU without VAT ID</translate>: [% row.income_accno_2 %]/[% row.expense_accno_2 %];
35 <translate>Income accno</translate>/<translate>Expense accno</translate>
36 <translate>International</translate>: [% row.income_accno_3 %]/[% row.expense_accno_3 %]
42 [% FOREACH row = LIST %]
43 <div class="subsubheading"><translate>New Buchungsgruppe [% loop.count %]</translate></div>
47 <td><translate>Description</translate>:</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><translate>Inventory</translate>:</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><translate>Income accno</translate> <translate>National</translate>:</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><translate>Expense accno</translate> <translate>National</translate>:</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><translate>Income accno</translate> <translate>EU with VAT ID</translate>:</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><translate>Expense accno</translate> <translate>EU with VAT ID</translate>:</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><translate>Income accno</translate> <translate>EU without VAT ID</translate>:</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><translate>Expense accno</translate> <translate>EU without VAT ID</translate>:</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><translate>Income accno</translate> <translate>International</translate>:</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><translate>Expense accno</translate> <translate>International</translate>:</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="<translate>Create Buchungsgruppen</translate>">