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="type" value="parts">
6 <input type="hidden" name="action" value="login">
7 <input type="hidden" name="action2" value="">
10 <p>[% saved_message %]</p>
13 <div class="subsubheading"><translate>Existing Buchungsgruppen</translate></div>
16 <translate>The following Buchungsgruppen have already been created:</translate>
19 [% FOREACH row = BUCHUNGSGRUPPEN %]
21 [% HTML.escape(row.description) %]:
22 <translate>Inventory</translate>: [% row.inventory_accno %];
24 <translate>Income accno</translate>/<translate>Expense accno</translate>
25 <translate>National</translate>: [% row.income_accno_0 %]/[% row.expense_accno_0 %];
27 <translate>Income accno</translate>/<translate>Expense accno</translate>
28 <translate>EU with VAT ID</translate>: [% row.income_accno_1 %]/[% row.expense_accno_1 %];
30 <translate>Income accno</translate>/<translate>Expense accno</translate>
31 <translate>EU without VAT ID</translate>: [% row.income_accno_2 %]/[% row.expense_accno_2 %];
33 <translate>Income accno</translate>/<translate>Expense accno</translate>
34 <translate>International</translate>: [% row.income_accno_3 %]/[% row.expense_accno_3 %]
40 [% FOREACH row = LIST %]
41 <div class="subsubheading"><translate>New Buchungsgruppe [% loop.count %]</translate></div>
45 <td><translate>Description</translate>:</td>
46 <td><input name="description_[% loop.count %]"></td>
50 <input type="hidden" name="inventory_accno_id_[% loop.count %]" value="[% std_inventory_accno_id %]">
53 <td><translate>Inventory</translate>:</td>
55 <select name="inventory_accno_id_[% loop.count %]">
56 [% 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 %]
63 <td><translate>Income accno</translate> <translate>National</translate>:</td>
65 <input type="hidden" name="income_accno_id_0_[% loop.count %]" value="[% HTML.escape(row.income_accno_id) %]">
66 [% HTML.escape(row.income_accno) %]--[% HTML.escape(row.income_description) %]
71 <td><translate>Expense accno</translate> <translate>National</translate>:</td>
73 <input type="hidden" name="expense_accno_id_0_[% loop.count %]" value="[% HTML.escape(row.expense_accno_id) %]">
74 [% HTML.escape(row.expense_accno) %]--[% HTML.escape(row.expense_description) %]
79 <td><translate>Income accno</translate> <translate>EU with VAT ID</translate>:</td>
81 <select name="income_accno_id_1_[% loop.count %]">
82 [% FOREACH acc_row = ACC_INCOME %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
88 <td><translate>Expense accno</translate> <translate>EU with VAT ID</translate>:</td>
90 <select name="expense_accno_id_1_[% loop.count %]">
91 [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
97 <td><translate>Income accno</translate> <translate>EU without VAT ID</translate>:</td>
99 <select name="income_accno_id_2_[% loop.count %]">
100 [% FOREACH acc_row = ACC_INCOME %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
106 <td><translate>Expense accno</translate> <translate>EU without VAT ID</translate>:</td>
108 <select name="expense_accno_id_2_[% loop.count %]">
109 [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
115 <td><translate>Income accno</translate> <translate>International</translate>:</td>
117 <select name="income_accno_id_3_[% loop.count %]">
118 [% FOREACH acc_row = ACC_INCOME %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
124 <td><translate>Expense accno</translate> <translate>International</translate>:</td>
126 <select name="expense_accno_id_3_[% loop.count %]">
127 [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% id %]" [% selected %]>[% HTML.escape(accno) %]--[% HTML.escape(description) %]</option>[% END %]
134 <input type="hidden" name="rowcount" value="[% loop.count %]">
140 <input type="submit" onclick="document.Form.action2.value = 'create_buchungsgruppen'; document.Form.submit();" name="dummy" value="<translate>Create Buchungsgruppen</translate>">