08829fccaf9288850d3d12700e10be1ec3a412ec
[kivitendo-erp.git] / templates / webpages / am / edit_accounts_de.html
1 [% USE HTML %]<script type="text/javascript" src="js/FormManager.js" >
2 /****************************************************
3 * Form Dependency Manager- By Twey- http://www.twey.co.uk
4 * Visit Dynamic Drive for this script and more: http://www.dynamicdrive.com
5 ****************************************************/
6 </script>
7
8 <script type="text/javascript">
9 window.onload = function() {
10     setupDependencies('EditAccount'); //name of form(s). Seperate each with a comma (ie: 'weboptions', 'myotherform' )
11   };
12 </script>
13
14 <body>
15 <form method="post" name="EditAccount" action="am.pl">
16
17 <input type="hidden" name="id"                 value="[% HTML.escape(id) %]">
18 <input type="hidden" name="type"               value="account">
19 <input type="hidden" name="orphaned"           value="[% HTML.escape(orphaned) %]">
20 <input type="hidden" name="new_chart_valid"    value="[% HTML.escape(new_chart_valid) %]">
21 <input type="hidden" name="inventory_accno_id" value="[% HTML.escape(inventory_accno_id) %]">
22 <input type="hidden" name="income_accno_id"    value="[% HTML.escape(income_accno_id) %]">
23 <input type="hidden" name="expense_accno_id"   value="[% HTML.escape(expense_accno_id) %]">
24 <input type="hidden" name="fxgain_accno_id"    value="[% HTML.escape(fxgain_accno_id) %]">
25 <input type="hidden" name="fxloss_accno_id"    value="[% HTML.escape(fxloss_accno_id) %]">
26
27 <table border="0" width="100%">
28   <tr>
29     <th class="listtop">[% title %]</th>
30   </tr>
31 </table>
32
33 <fieldset>
34   <legend>
35     Grundeinstellungen
36   </legend>
37   <table>
38     <tr>
39       <td>
40         <label>
41           Kontonummer
42         </label></td>
43         <td><input name="accno" size="20" value="[% HTML.escape(accno) %]"></td>
44     </tr>
45     <tr>
46       <td>
47         <label>
48           Beschreibung
49         </label>
50       </td>
51       <td><input name="description" size="40" value="[% HTML.escape(description) %]"></td>
52     </tr>
53     <tr>
54       <td>
55         <label>
56           Kontentyp
57
58         </label>
59       </td>
60       <td><select name="charttype">[% select_charttype %]</select></td>
61     </tr>
62   </table>
63 </fieldset>
64 <fieldset class="DEPENDS ON charttype BEING A">
65   <legend>Kontoart</legend>
66   <select name="category" id="AccountType" class="DEPENDS ON charttype BEING A">
67           [% select_category %]</select>
68 </fieldset>
69
70 [% IF ChartTypeIsAccount %]
71 <fieldset class="DEPENDS ON charttype BEING A">
72   <legend>Buchungskonto in</legend>
73     <input name="AR" type="checkbox" class="checkbox" value="AR" [% HTML.escape(AR) %]>
74     &nbsp;Verkauf
75     <input name="AP" type="checkbox" class="checkbox" value="AP" [% HTML.escape(AP) %]>
76     &nbsp;Einkauf
77     <input name="IC" type="checkbox" class="checkbox" value="IC" [% HTML.escape(IC) %]>
78     &nbsp;Inventar
79 </fieldset>
80
81 <fieldset class="DEPENDS ON charttype BEING A">
82   <legend>In Aufklappmenü aufnehmen</legend>
83   <table width="100%">
84     <tr>
85       <th align="left">Forderungen</th>
86       <th align="left">Verbindlichkeiten</th>
87       <th align="left">Warenliste</th>
88       <th align="left">Dienstleistungen</th>
89     </tr>
90     <tr>
91       <td>
92         <input name="AR_amount" type="checkbox" class="checkbox" value="AR_amount"
93           [% HTML.escape(AR_amount) %]>&nbsp;
94         Erlöskonto <br>
95         <input name="AR_paid" type="checkbox" class="checkbox" value="AR_paid"
96           [% HTML.escape(AR_paid) %]>&nbsp;
97         Zahlungseingang <br>
98         <input name="AR_tax" type="checkbox" class="checkbox" value="AR_tax"
99           [% HTML.escape(AR_tax) %]>&nbsp;
100         Steuer
101       </td>
102       <td>
103         <input name="AP_amount" type="checkbox" class="checkbox" value="AP_amount"
104           [% HTML.escape(AP_amount) %]>&nbsp;
105         Aufwand/Anlagen <br>
106         <input name="AP_paid" type="checkbox" class="checkbox" value="AP_paid"
107           [% HTML.escape(AP_paid) %]>&nbsp;
108         Zahlungsausgang <br>
109         <input name="AP_tax" type="checkbox" class="checkbox" value="AP_tax"
110             [% HTML.escape(AP_tax) %]>&nbsp;
111         Steuer
112       </td>
113       <td>
114         <input name="IC_sale" type="checkbox" class="checkbox" value="IC_sale"
115           [% HTML.escape(IC_sale) %]>&nbsp;
116         Erlöskonto <br>
117         <input name="IC_cogs" type="checkbox" class="checkbox" value="IC_cogs"
118           [% HTML.escape(IC_cogs) %]>&nbsp;
119         Aufwandskonto <br>
120         <input name="IC_taxpart" type="checkbox" class="checkbox" value="IC_taxpart"
121           [% HTML.escape(IC_taxpart) %]>&nbsp;
122         Steuer
123       </td>
124       <td>
125         <input name=IC_income type=checkbox class=checkbox value="IC_income"
126           [% HTML.escape(IC_income) %]>&nbsp;
127         Erlöskonto <br>
128         <input name=IC_expense type=checkbox class=checkbox value="IC_expense"
129           [% HTML.escape(IC_expense) %]>&nbsp;
130         Aufwandskonto <br>
131         <input name=IC_taxservice type=checkbox class=checkbox value="IC_taxservice"
132           [% HTML.escape(IC_taxservice) %]>&nbsp;
133         Steuer
134       </td>
135     </tr>
136   </table>
137 </fieldset>
138
139 <fieldset class="DEPENDS ON charttype BEING A">
140   <legend>
141     Steuerautomatik und UStVA
142   </legend>
143
144             <table>
145 [% IF account_exists %]
146               <tr>
147                 <th align="left">Steuerschlüssel</th>
148                 <th align="left">Gültig ab</th>
149                 <th align="left">UStVA</th>
150                 <th align="left">Löschen ? </th>
151               </tr>
152 [% FOREACH tk = ACCOUNT_TAXKEYS %]
153               <tr>
154     [% IF tk.id %]
155                 <input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="[% tk.id %]">
156                 <td><select name="taxkey_tax_[% tk.runningnumber %]">[% tk.selecttaxkey %]</select></td>
157                 <td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]"></td>
158                 <td><select name="taxkey_pos_ustva_[% tk.runningnumber %]">[% tk.select_tax %]</select></td>
159                 <td><input name="taxkey_del_[% tk.runningnumber %]" type="checkbox"
160                 class="checkbox" value="delete"></td>
161     [% ELSE %]
162                 <input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="NEW">
163                 <td><select name="taxkey_tax_[% tk.runningnumber %]">[% tk.selecttaxkey %]</select></td>
164                 <td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]"></td>
165                 <td><select name="taxkey_pos_ustva_[% tk.runningnumber %]">[% tk.select_tax %]</select></td>
166                 <td>&nbsp;</td>
167     [% END %]
168               </tr>
169
170 [% END %]
171 [% ELSE %]
172 <tr>
173   <td align="center" colspan="4"><p>Einstellungen sind nach
174   dem Speichern des Kontos verfügbar...</p>
175   </td>
176 </tr>
177 [% END %]
178             </table>
179 </fieldset>
180
181 <fieldset class="DEPENDS ON charttype BEING A">
182   <legend>Sonstige Einstellungen</legend>
183   <table>
184         <tr>
185           <th align="left">Einnahmen-/Überschussrechnung</th>
186           <td colspan="3"><select name="pos_eur">[% select_eur %]</select></td>
187         </tr>
188         <tr>
189           <th align="left">BWA</th>
190           <td colspan="3"><select name="pos_bwa">[% select_bwa %]</select></td>
191         </tr>
192         <tr>
193           <th align="left">Bilanz</th>
194           <td colspan="3"><select name="pos_bilanz">[% select_bilanz %]</select></td>
195         </tr>
196         <tr>
197           <th align="left">Datevexport</th>
198           <td colspan="3"><input name="datevautomatik" type="checkbox" class="checkbox" value="T" [% IF datevautomatik %]checked [% END %]></td>
199         </tr>
200         <tr>
201           <th align="left">Folgekonto</th>
202           <td><select name="new_chart_id">[% selectnewaccount %]</select></td>
203           <th align="left">Gültig ab</th>
204           <td><input name="valid_from" value="[% valid_from %]"></td>
205         </tr>
206   </table>
207 [% END %]
208 </fieldset>
209 <hr size="3" noshade>