Revision acffa4d4
Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/am/edit_accounts.html | ||
---|---|---|
19 | 19 |
|
20 | 20 |
<form method="post" name="EditAccount" action="am.pl" id="form"> |
21 | 21 |
|
22 |
<div class="wrapper"> |
|
23 |
|
|
22 | 24 |
<input type="hidden" name="id" value="[% HTML.escape(id) %]"> |
23 | 25 |
<input type="hidden" name="type" value="account"> |
24 | 26 |
<input type="hidden" name="orphaned" value="[% HTML.escape(orphaned) %]"> |
... | ... | |
31 | 33 |
<input type="hidden" name="rndgain_accno_id" value="[% HTML.escape(rndgain_accno_id) %]"> |
32 | 34 |
<input type="hidden" name="rndloss_accno_id" value="[% HTML.escape(rndloss_accno_id) %]"> |
33 | 35 |
|
34 |
<fieldset> |
|
35 |
<legend> |
|
36 |
[% 'Main Preferences' | $T8 %] |
|
37 |
</legend> |
|
38 |
<table> |
|
36 |
<div class="col"> |
|
37 |
|
|
38 |
<table class="tbl-horizontal"> |
|
39 |
<caption>[% 'Main Preferences' | $T8 %]</caption> |
|
40 |
<colgroup><col class="wi-mediumsmall"><col class="wi-wide"></colgroup> |
|
41 |
<tbody> |
|
39 | 42 |
<tr> |
40 |
<td> |
|
41 |
<label> |
|
42 |
[% 'Account Number' | $T8 %] |
|
43 |
</label></td> |
|
44 |
<td><input id="accno" name="accno" size="20" value="[% HTML.escape(accno) %]"></td> |
|
43 |
<th> [% 'Account Number' | $T8 %] </th> |
|
44 |
<td><input id="accno" name="accno" type="text" size="10" class="wi-small" value="[% HTML.escape(accno) %]"></td> |
|
45 | 45 |
</tr> |
46 | 46 |
<tr> |
47 |
<td> |
|
48 |
<label> |
|
49 |
[% 'Description' | $T8 %] |
|
50 |
</label> |
|
51 |
</td> |
|
52 |
<td><input id="description" name="description" size="40" value="[% HTML.escape(description) %]"></td> |
|
47 |
<th> [% 'Description' | $T8 %] </th> |
|
48 |
<td><input id="description" name="description" type="text" size="40" class="wi-wide" value="[% HTML.escape(description) %]"></td> |
|
49 |
</tr> |
|
50 |
<tr> |
|
51 |
<th> [% 'Chart Type' | $T8 %] </th> |
|
52 |
<td> [% IF AccountIsPosted %] |
|
53 |
[% L.select_tag('dummy_charttype', |
|
54 |
all_charttypes, |
|
55 |
title_key => 'name', |
|
56 |
value_key => 'value', |
|
57 |
default => selected_charttype, |
|
58 |
disabled => '1', |
|
59 |
class = 'wi-wide') %] |
|
60 |
[% L.hidden_tag('charttype', selected_charttype) %] |
|
61 |
[% ELSE %] |
|
62 |
[% L.select_tag('charttype', |
|
63 |
all_charttypes, |
|
64 |
title_key => 'name', |
|
65 |
value_key => 'value', |
|
66 |
default => selected_charttype, |
|
67 |
class = 'wi-wide') %] |
|
68 |
[% END %] </td> |
|
53 | 69 |
</tr> |
54 | 70 |
<tr> |
71 |
<th>[% 'Account Type' | $T8 %]</th> |
|
72 |
<td><select name="category" id="AccountType" class="wi-wide">[% select_category %]</select></td> |
|
73 |
</tr> |
|
74 |
[% IF ChartTypeIsAccount %] |
|
75 |
<tr> |
|
76 |
<th>[% 'Is this a summary account to record' | $T8 %]</th> |
|
55 | 77 |
<td> |
56 |
<label> |
|
57 |
[% 'Chart Type' | $T8 %] |
|
78 |
[% L.radio_button_tag('summary_account', value => 'AR', disabled => AccountIsPosted, checked => AR) %] |
|
79 |
[% 'AR' | $T8 %]<br> |
|
80 |
[% L.radio_button_tag('summary_account', value => 'AP', disabled => AccountIsPosted, checked => AP) %] |
|
81 |
[% 'AP' | $T8 %]<br> |
|
82 |
[% L.radio_button_tag('summary_account', value => 'IC', disabled => AccountIsPosted, checked => IC) %] |
|
83 |
[% 'Inventory' | $T8 %]<br> |
|
84 |
[% L.radio_button_tag('summary_account', value => '', disabled => AccountIsPosted) %] |
|
85 |
[% 'No summary account' | $T8 %] |
|
58 | 86 |
|
59 |
</label> |
|
60 |
</td> |
|
61 |
<td> |
|
62 |
[% IF AccountIsPosted %] |
|
63 |
[% L.select_tag('dummy_charttype', |
|
64 |
all_charttypes, |
|
65 |
title_key => 'name', |
|
66 |
value_key => 'value', |
|
67 |
default => selected_charttype, |
|
68 |
disabled => '1') %] |
|
69 |
[% L.hidden_tag('charttype', selected_charttype) %] |
|
70 |
[% ELSE %] |
|
71 |
[% L.select_tag('charttype', |
|
72 |
all_charttypes, |
|
73 |
title_key => 'name', |
|
74 |
value_key => 'value', |
|
75 |
default => selected_charttype) %] |
|
76 |
[% END %] |
|
87 |
[% IF AccountIsPosted %] |
|
88 |
[% IF AR %] [% L.hidden_tag('AR', 'AR') %] [% END %] |
|
89 |
[% IF AP %] [% L.hidden_tag('AP', 'AP') %] [% END %] |
|
90 |
[% IF IC %] [% L.hidden_tag('IC', 'IC') %] [% END %] |
|
91 |
[% END %] |
|
92 |
|
|
93 |
[% IF AccountIsPosted %] |
|
94 |
[% IF AR_amount %] [% L.hidden_tag('AR_amount', 'AR_amount') %] [% END %] |
|
95 |
[% IF AR_paid %] [% L.hidden_tag('AR_paid', 'AR_paid') %] [% END %] |
|
96 |
[% IF AR_tax %] [% L.hidden_tag('AR_tax', 'AR_tax') %] [% END %] |
|
97 |
[% IF AP_amount %] [% L.hidden_tag('AP_amount', 'AP_amount') %] [% END %] |
|
98 |
[% IF AP_paid %] [% L.hidden_tag('AP_paid', 'AP_paid') %] [% END %] |
|
99 |
[% IF AP_tax %] [% L.hidden_tag('AP_tax', 'AP_tax') %] [% END %] |
|
100 |
[% SET DIS = ' disabled="disabled"' %] |
|
101 |
[% END %] |
|
77 | 102 |
</td> |
78 | 103 |
</tr> |
79 |
</table>
|
|
80 |
</fieldset>
|
|
104 |
</tbody>
|
|
105 |
</table>
|
|
81 | 106 |
|
82 |
<fieldset class="DEPENDS ON charttype BEING A"> |
|
83 |
<legend>[% 'Account Type' | $T8 %]</legend> |
|
84 |
<select name="category" id="AccountType" class="DEPENDS ON charttype BEING A"> |
|
85 |
[% select_category %]</select> |
|
86 |
</fieldset> |
|
107 |
<h3 class="caption">[% 'Taxkeys and Taxreport Preferences' | $T8 %]</h3> |
|
108 |
<div class="long-desc small"> |
|
109 |
<p>[% 'Note: Taxkeys must have a "valid from" date, and will not behave correctly without.' | $T8 %]</p> |
|
110 |
</div> |
|
111 |
<table class="tbl-horizontal"> |
|
112 |
<thead> |
|
113 |
<tr> |
|
114 |
<th>[% 'Taxkey' | $T8 %]</th> |
|
115 |
<th>[% 'valid from' | $T8 %]</th> |
|
116 |
[% IF feature_ustva %]<th>[% 'pos_ustva' | $T8 %]</th>[% END %] |
|
117 |
<th>[% 'delete' | $T8 %]? </th> |
|
118 |
</tr> |
|
119 |
</thead> |
|
120 |
<tbody> |
|
121 |
[% FOREACH tk = ACCOUNT_TAXKEYS %] |
|
122 |
<tr> |
|
123 |
[% IF tk.id %] |
|
124 |
<td> |
|
125 |
<input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="[% tk.id %]"> |
|
126 |
<select name="taxkey_tax_[% tk.runningnumber %]" class="wi-wider">[% tk.selecttaxkey %]</select> |
|
127 |
</td> |
|
128 |
<td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]" type="text" class="wi-date"></td> |
|
129 |
[% IF feature_ustva %] |
|
130 |
<td><select name="taxkey_pos_ustva_[% tk.runningnumber %]" class="wi-wider">[% tk.select_tax %]</select></td> |
|
131 |
[% END %] |
|
132 |
<td class="center"> |
|
133 |
<input name="taxkey_del_[% tk.runningnumber %]" type="checkbox" value="delete"> |
|
134 |
</td> |
|
135 |
[% ELSE %] |
|
136 |
<td> |
|
137 |
<input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="NEW"> |
|
138 |
<select name="taxkey_tax_[% tk.runningnumber %]" class="wi-wider">[% tk.selecttaxkey %]</select> |
|
139 |
</td> |
|
140 |
<td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]" type="text" class="wi-date"></td> |
|
141 |
[% IF feature_ustva %] |
|
142 |
<td><select name="taxkey_pos_ustva_[% tk.runningnumber %]" class="wi-wider">[% tk.select_tax %]</select></td> |
|
143 |
[% END %] |
|
144 |
<td> </td> |
|
145 |
[% END %] |
|
146 |
</tr> |
|
147 |
[% END %] |
|
148 |
</tbody> |
|
149 |
</table> |
|
87 | 150 |
|
88 |
[% IF ChartTypeIsAccount %] |
|
89 |
<fieldset class="DEPENDS ON charttype BEING A"> |
|
90 |
<legend>[% 'Is this a summary account to record' | $T8 %]</legend> |
|
91 |
[% L.radio_button_tag('summary_account', |
|
92 |
value => 'AR', |
|
93 |
disabled => AccountIsPosted, |
|
94 |
checked => AR) %] |
|
95 |
[% 'AR' | $T8 %] |
|
96 |
[% L.radio_button_tag('summary_account', |
|
97 |
value => 'AP', |
|
98 |
disabled => AccountIsPosted, |
|
99 |
checked => AP) %] |
|
100 |
[% 'AP' | $T8 %] |
|
101 |
[% L.radio_button_tag('summary_account', |
|
102 |
value => 'IC', |
|
103 |
disabled => AccountIsPosted, |
|
104 |
checked => IC) %] |
|
105 |
[% 'Inventory' | $T8 %] |
|
106 |
[% L.radio_button_tag('summary_account', |
|
107 |
value => '', |
|
108 |
disabled => AccountIsPosted) %] |
|
109 |
[% 'No summary account' | $T8 %] |
|
110 | 151 |
|
111 |
[% IF AccountIsPosted %] |
|
112 |
[% IF AR %] [% L.hidden_tag('AR', 'AR') %] [% END %] |
|
113 |
[% IF AP %] [% L.hidden_tag('AP', 'AP') %] [% END %] |
|
114 |
[% IF IC %] [% L.hidden_tag('IC', 'IC') %] [% END %] |
|
152 |
<table class="tbl-horizontal"> |
|
153 |
<caption>[% 'Report and misc. Preferences' | $T8 %]</caption> |
|
154 |
<colgroup><col class="wi-mediumsmall"><col class="wi-wide"></colgroup> |
|
155 |
<tbody> |
|
156 |
[% IF feature_erfolgsrechnung %] |
|
157 |
<tr> |
|
158 |
<th>[% 'Erfolgsrechnung' | $T8 %]</th> |
|
159 |
<td><select name="pos_er" class="wi-wider">[% select_er %]</select></td> |
|
160 |
</tr> |
|
161 |
[% END %] |
|
162 |
[% IF feature_eurechnung %] |
|
163 |
<tr> |
|
164 |
<th>[% 'EUER' | $T8 %]</th> |
|
165 |
<td><select name="pos_eur" class="wi-wider">[% select_eur %]</select></td> |
|
166 |
</tr> |
|
167 |
<tr> |
|
168 |
<th>[% 'BWA' | $T8 %]</th> |
|
169 |
<td><select name="pos_bwa" class="wi-wider">[% select_bwa %]</select></td> |
|
170 |
</tr> |
|
171 |
[% END %] |
|
172 |
[% IF feature_datev %] |
|
173 |
<tr> |
|
174 |
<th>[% 'Datevautomatik' | $T8 %]</th> |
|
175 |
<td><input name="datevautomatik" type="checkbox" value="T" [% IF datevautomatik %]checked [% END %]>[% 'If checked the taxkey will not be exported in the DATEV Export, but only IF chart taxkeys differ from general ledger taxkeys' | $T8 %] </td> |
|
176 |
</tr> |
|
177 |
[% END %] |
|
178 |
<tr> |
|
179 |
<th>[% 'Folgekonto' | $T8 %]</th> |
|
180 |
<td> |
|
181 |
<select name="new_chart_id" class="wi-wider">[% selectnewaccount %]</select> |
|
182 |
<span class="label with-element">[% 'Valid from' | $T8 %] |
|
183 |
<input name="valid_from" value="[% valid_from %]" type="text" class="wi-mediumsmall"></span> |
|
184 |
</td> |
|
185 |
</tr> |
|
186 |
[% #IF feature_balance %] |
|
187 |
<!-- PENDENT: UPDATE: Diese Steuerfunktion hat keine Auswirkung in der Bilanz und wird erstmal deaktiviert. --> |
|
188 |
<!-- |
|
189 |
<tr> |
|
190 |
<th>[% 'Bilanz' | $T8 %]</th> |
|
191 |
<td colspan="3"><select name="pos_bilanz">[% select_bilanz %]</select></td> |
|
192 |
</tr> |
|
193 |
--> |
|
194 |
[% #END %] |
|
195 |
</tbody> |
|
196 |
</table> |
|
115 | 197 |
[% END %] |
116 | 198 |
|
117 |
</fieldset>
|
|
199 |
</div><!-- /.col -->
|
|
118 | 200 |
|
119 |
[% IF AccountIsPosted %] |
|
120 |
[% IF AR_amount %] [% L.hidden_tag('AR_amount', 'AR_amount') %] [% END %] |
|
121 |
[% IF AR_paid %] [% L.hidden_tag('AR_paid', 'AR_paid') %] [% END %] |
|
122 |
[% IF AR_tax %] [% L.hidden_tag('AR_tax', 'AR_tax') %] [% END %] |
|
123 |
[% IF AP_amount %] [% L.hidden_tag('AP_amount', 'AP_amount') %] [% END %] |
|
124 |
[% IF AP_paid %] [% L.hidden_tag('AP_paid', 'AP_paid') %] [% END %] |
|
125 |
[% IF AP_tax %] [% L.hidden_tag('AP_tax', 'AP_tax') %] [% END %] |
|
126 |
[%- SET DIS = ' disabled="disabled"' %] |
|
127 |
[% END %] |
|
128 |
<fieldset class="DEPENDS ON charttype BEING A"> |
|
129 |
<legend>[% 'Include in drop-down menus' | $T8 %]</legend> |
|
130 |
<p style='font-weight:normal'>[% 'Changes in this block are only sensible if the account is NOT a summary account AND there exists one valid taxkey. To select both Receivables and Payables only make sense for Payment / Receipt (i.e. account cash).' | $T8 %]</p> |
|
131 |
<p style='font-weight:normal'>[% 'Changes to Receivables and Payables are only possible if no transactions to this account are posted yet.' | $T8 %] |
|
132 |
[% 'The changing of tax-o-matic account is NOT recommended, but if you do so please also (re)configure booking groups and reconfigure ALL charts which point to this tax-o-matic account. ' | $T8 %]</p> |
|
133 |
<table width="100%"> |
|
201 |
<div class="col" style="width:30.0em;"> |
|
202 |
|
|
203 |
|
|
204 |
<h3 class="caption">[% 'Include in drop-down menus' | $T8 %]</h3> |
|
205 |
<div class="long-description small"><p>[% 'Changes in this block are only sensible if the account is NOT a summary account AND there exists one valid taxkey. To select both Receivables and Payables only make sense for Payment / Receipt (i.e. account cash).' | $T8 %]</p> |
|
206 |
<p> |
|
207 |
[% 'Changes to Receivables and Payables are only possible if no transactions to this account are posted yet.' | $T8 %] |
|
208 |
[% 'The changing of tax-o-matic account is NOT recommended, but if you do so please also (re)configure booking groups and reconfigure ALL charts which point to this tax-o-matic account. ' | $T8 %]</p> |
|
209 |
</div><!-- /.long-description --> |
|
210 |
|
|
211 |
|
|
212 |
<table class="tbl-horizontal"> |
|
213 |
<colgroup><col class="wi-normal"><col class="wi-normal"></colgroup> |
|
214 |
<tbody> |
|
134 | 215 |
<tr> |
135 |
<th align="left">[% 'Receivables' | $T8 %]</th> |
|
136 |
<th align="left">[% 'Payables' | $T8 %]</th> |
|
137 |
<th align="left">[% 'Parts Inventory' | $T8 %]</th> |
|
138 |
<th align="left">[% 'Service Items' | $T8 %]</th> |
|
216 |
<td><b>[% 'Receivables' | $T8 %]</b><br> |
|
217 |
[% L.radio_button_tag('AR_include_in_dropdown', value => 'AR_amount', disabled => AccountIsPosted, checked => AR_amount) %] |
|
218 |
[% 'Revenue' | $T8 %] <br> |
|
219 |
[% L.radio_button_tag('AR_include_in_dropdown', value => 'AR_paid', disabled => AccountIsPosted, checked => AR_paid) %] |
|
220 |
[% 'Receipt' | $T8 %] <br> |
|
221 |
[% L.radio_button_tag('AR_include_in_dropdown', value => 'AR_tax', disabled => AccountIsPosted, checked => AR_tax) %] |
|
222 |
[% 'Tax' | $T8 %] <br> |
|
223 |
[% L.radio_button_tag('AR_include_in_dropdown', value => '', disabled => AccountIsPosted) %] |
|
224 |
[% 'do not include' | $T8 %] |
|
225 |
</td> |
|
226 |
<td><b>[% 'Payables' | $T8 %]</b><br> |
|
227 |
[% L.radio_button_tag('AP_include_in_dropdown', value => 'AP_amount', disabled => AccountIsPosted, checked => AP_amount) %] |
|
228 |
[% 'Expense/Asset' | $T8 %] <br> |
|
229 |
[% L.radio_button_tag('AP_include_in_dropdown', value => 'AP_paid', disabled => AccountIsPosted, checked => AP_paid) %] |
|
230 |
[% 'Payment' | $T8 %] <br> |
|
231 |
[% L.radio_button_tag('AP_include_in_dropdown', value => 'AP_tax', disabled => AccountIsPosted, checked => AP_tax) %] |
|
232 |
[% 'Tax' | $T8 %] <br> |
|
233 |
[% L.radio_button_tag('AP_include_in_dropdown', value => '', disabled => AccountIsPosted) %] |
|
234 |
[% 'do not include' | $T8 %] </td> |
|
139 | 235 |
</tr> |
140 | 236 |
<tr> |
141 |
<td> |
|
142 |
[% L.radio_button_tag('AR_include_in_dropdown', |
|
143 |
value => 'AR_amount', |
|
144 |
disabled => AccountIsPosted, |
|
145 |
checked => AR_amount) %] |
|
146 |
[% 'Revenue' | $T8 %] <br> |
|
147 |
[% L.radio_button_tag('AR_include_in_dropdown', |
|
148 |
value => 'AR_paid', |
|
149 |
disabled => AccountIsPosted, |
|
150 |
checked => AR_paid) %] |
|
151 |
[% 'Receipt' | $T8 %] <br> |
|
152 |
[% L.radio_button_tag('AR_include_in_dropdown', |
|
153 |
value => 'AR_tax', |
|
154 |
disabled => AccountIsPosted, |
|
155 |
checked => AR_tax) %] |
|
156 |
[% 'Tax' | $T8 %] <br> |
|
157 |
[% L.radio_button_tag('AR_include_in_dropdown', |
|
158 |
value => '', |
|
159 |
disabled => AccountIsPosted) %] |
|
160 |
[% 'do not include' | $T8 %] |
|
161 |
</td> |
|
162 |
<td> |
|
163 |
[% L.radio_button_tag('AP_include_in_dropdown', |
|
164 |
value => 'AP_amount', |
|
165 |
disabled => AccountIsPosted, |
|
166 |
checked => AP_amount) %] |
|
167 |
[% 'Expense/Asset' | $T8 %] <br> |
|
168 |
[% L.radio_button_tag('AP_include_in_dropdown', |
|
169 |
value => 'AP_paid', |
|
170 |
disabled => AccountIsPosted, |
|
171 |
checked => AP_paid) %] |
|
172 |
[% 'Payment' | $T8 %] <br> |
|
173 |
[% L.radio_button_tag('AP_include_in_dropdown', |
|
174 |
value => 'AP_tax', |
|
175 |
disabled => AccountIsPosted, |
|
176 |
checked => AP_tax) %] |
|
177 |
[% 'Tax' | $T8 %] <br> |
|
178 |
[% L.radio_button_tag('AP_include_in_dropdown', |
|
179 |
value => '', |
|
180 |
disabled => AccountIsPosted) %] |
|
181 |
[% 'do not include' | $T8 %] |
|
182 |
</td> |
|
183 |
<td> |
|
184 |
<input name="IC_sale" type="checkbox" class="checkbox" value="IC_sale" |
|
185 |
[% HTML.escape(IC_sale) %]> |
|
237 |
<td><b>[% 'Parts Inventory' | $T8 %]</b><br> |
|
238 |
<input name="IC_sale" type="checkbox" value="IC_sale"[% HTML.escape(IC_sale) %]> |
|
186 | 239 |
[% 'Revenue' | $T8 %] <br> |
187 |
<input name="IC_cogs" type="checkbox" class="checkbox" value="IC_cogs" |
|
188 |
[% HTML.escape(IC_cogs) %]> |
|
240 |
<input name="IC_cogs" type="checkbox" value="IC_cogs"[% HTML.escape(IC_cogs) %]> |
|
189 | 241 |
[% 'Expense' | $T8 %] <br> |
190 |
<input name="IC_taxpart" type="checkbox" class="checkbox" value="IC_taxpart" |
|
191 |
[% HTML.escape(IC_taxpart) %]> |
|
242 |
<input name="IC_taxpart" type="checkbox" value="IC_taxpart" [% HTML.escape(IC_taxpart) %]> |
|
192 | 243 |
[% 'Tax' | $T8 %] |
193 |
<br><br> |
|
194 | 244 |
</td> |
195 |
<td> |
|
196 |
<input name=IC_income type=checkbox class=checkbox value="IC_income" |
|
197 |
[% HTML.escape(IC_income) %]> |
|
245 |
<td><b>[% 'Service Items' | $T8 %]</b><br> |
|
246 |
<input name=IC_income type=checkbox value="IC_income"[% HTML.escape(IC_income) %]> |
|
198 | 247 |
[% 'Revenue' | $T8 %] <br> |
199 |
<input name=IC_expense type=checkbox class=checkbox value="IC_expense" |
|
200 |
[% HTML.escape(IC_expense) %]> |
|
248 |
<input name=IC_expense type=checkbox value="IC_expense"[% HTML.escape(IC_expense) %]> |
|
201 | 249 |
[% 'Expense' | $T8 %] <br> |
202 |
<input name=IC_taxservice type=checkbox class=checkbox value="IC_taxservice" |
|
203 |
[% HTML.escape(IC_taxservice) %]> |
|
250 |
<input name=IC_taxservice type=checkbox value="IC_taxservice"[% HTML.escape(IC_taxservice) %]> |
|
204 | 251 |
[% 'Tax' | $T8 %] |
205 |
<br><br> |
|
206 | 252 |
</td> |
207 | 253 |
</tr> |
208 |
</table> |
|
209 |
</fieldset> |
|
210 |
|
|
211 |
<fieldset class="DEPENDS ON charttype BEING A"> |
|
212 |
<legend> |
|
213 |
[% 'Taxkeys and Taxreport Preferences' | $T8 %] |
|
214 |
</legend> |
|
215 |
<p style='font-weight:normal'>[% 'Note: Taxkeys must have a "valid from" date, and will not behave correctly without.' | $T8 %]</p> |
|
254 |
</tbody> |
|
255 |
</table> |
|
256 |
</div><!-- /.col --> |
|
216 | 257 |
|
217 |
<table> |
|
218 |
<tr> |
|
219 |
<th align="left">[% 'Taxkey' | $T8 %]</th> |
|
220 |
<th align="left">[% 'valid from' | $T8 %]</th> |
|
221 |
[% IF feature_ustva %] |
|
222 |
<th align="left">[% 'pos_ustva' | $T8 %]</th> |
|
223 |
[% END %] |
|
224 |
<th align="left">[% 'delete' | $T8 %] ? </th> |
|
225 |
</tr> |
|
226 |
[% FOREACH tk = ACCOUNT_TAXKEYS %] |
|
258 |
</div> |
|
227 | 259 |
|
228 |
<tr> |
|
229 |
[% IF tk.id %] |
|
230 |
<input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="[% tk.id %]"> |
|
231 |
<td><select name="taxkey_tax_[% tk.runningnumber %]">[% tk.selecttaxkey %]</select></td> |
|
232 |
<td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]"></td> |
|
233 |
[% IF feature_ustva %] |
|
234 |
<td><select name="taxkey_pos_ustva_[% tk.runningnumber %]">[% tk.select_tax %]</select></td> |
|
235 |
[% END %] |
|
236 |
<td><input name="taxkey_del_[% tk.runningnumber %]" type="checkbox" |
|
237 |
class="checkbox" value="delete"></td> |
|
238 |
[% ELSE %] |
|
239 |
<input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="NEW"> |
|
240 |
<td><select name="taxkey_tax_[% tk.runningnumber %]">[% tk.selecttaxkey %]</select></td> |
|
241 |
<td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]"></td> |
|
242 |
[% IF feature_ustva %] |
|
243 |
<td><select name="taxkey_pos_ustva_[% tk.runningnumber %]">[% tk.select_tax %]</select></td> |
|
244 |
[% END %] |
|
245 |
<td> </td> |
|
246 |
[% END %] |
|
247 |
</tr> |
|
248 | 260 |
|
249 | 261 |
|
250 |
[% END %] |
|
251 |
</table> |
|
252 |
</fieldset> |
|
253 |
|
|
254 |
<fieldset class="DEPENDS ON charttype BEING A"> |
|
255 |
<legend>[% 'Report and misc. Preferences' | $T8 %]</legend> |
|
256 |
<table> |
|
257 |
[% IF feature_erfolgsrechnung %] |
|
258 |
<tr> |
|
259 |
<th align="left">[% 'Erfolgsrechnung' | $T8 %]</th> |
|
260 |
<td colspan="3"><select name="pos_er">[% select_er %]</select></td> |
|
261 |
</tr> |
|
262 |
[% END %] |
|
263 |
[% IF feature_eurechnung %] |
|
264 |
<tr> |
|
265 |
<th align="left">[% 'EUER' | $T8 %]</th> |
|
266 |
<td colspan="3"><select name="pos_eur">[% select_eur %]</select></td> |
|
267 |
</tr> |
|
268 |
<tr> |
|
269 |
<th align="left">[% 'BWA' | $T8 %]</th> |
|
270 |
<td colspan="3"><select name="pos_bwa">[% select_bwa %]</select></td> |
|
271 |
</tr> |
|
272 |
[% END %] |
|
273 |
[% IF feature_balance %] |
|
274 |
<!-- Diese Steuerfunktion hat keine Auswirkung in der Bilanz und wird erstmal deaktiviert. --> |
|
275 |
<!-- tr> |
|
276 |
<th align="left">[% 'Bilanz' | $T8 %]</th> |
|
277 |
<td colspan="3"><select name="pos_bilanz">[% select_bilanz %]</select></td> |
|
278 |
</tr --> |
|
279 |
[% END %] |
|
280 |
[% IF feature_datev %] |
|
281 |
<tr> |
|
282 |
<th align="left">[% 'Datevautomatik' | $T8 %]</th> |
|
283 |
<td colspan="3"><input name="datevautomatik" type="checkbox" class="checkbox" value="T" [% IF datevautomatik %]checked [% END %]>[% 'If checked the taxkey will not be exported in the DATEV Export, but only IF chart taxkeys differ from general ledger taxkeys' | $T8 %] </td> |
|
284 |
</tr> |
|
285 |
[% END %] |
|
286 |
<tr> |
|
287 |
<th align="left">[% 'Folgekonto' | $T8 %]</th> |
|
288 |
<td><select name="new_chart_id">[% selectnewaccount %]</select></td> |
|
289 |
<th align="left">[% 'Valid from' | $T8 %]</th> |
|
290 |
<td><input name="valid_from" value="[% valid_from %]"></td> |
|
291 |
</tr> |
|
292 |
</table> |
|
293 |
[% END %] |
|
294 |
</fieldset> |
|
295 |
<hr size="3" noshade> |
|
296 |
|
|
297 | 262 |
[% IF ( id ) %] |
298 |
<script type="text/javascript">
|
|
263 |
<script type="text/javascript"> |
|
299 | 264 |
function callback_save() { |
300 | 265 |
var prev_desc = "[% description | html %]"; |
301 | 266 |
var prev_accno = "[% accno | html %]"; |
... | ... | |
307 | 272 |
else |
308 | 273 |
return true; |
309 | 274 |
} |
310 |
</script>
|
|
275 |
</script> |
|
311 | 276 |
[% END %] |
312 | 277 |
[% L.hidden_tag('callback', callback) %] |
313 | 278 |
</form> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/am/edit_accounts.html