1 <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 ****************************************************/
8 <script type="text/javascript">
9 window.onload = function() {
10 setupDependencies('EditAccount'); //name of form(s). Seperate each with a comma (ie: 'weboptions', 'myotherform' )
15 <form method="post" name="EditAccount" action="<TMPL_VAR script>">
17 <input type="hidden" name="id" value="<TMPL_VAR id>">
18 <input type="hidden" name="type" value="account">
19 <input type="hidden" name="orphaned" value="<TMPL_VAR orphaned>">
20 <input type="hidden" name="new_chart_valid" value="<TMPL_VAR new_chart_valid>">
21 <input type="hidden" name="inventory_accno_id" value="<TMPL_VAR inventory_accno_id>">
22 <input type="hidden" name="income_accno_id" value="<TMPL_VAR income_accno_id>">
23 <input type="hidden" name="expense_accno_id" value="<TMPL_VAR expense_accno_id>">
24 <input type="hidden" name="fxgain_accno_id" value="<TMPL_VAR fxgain_accno_id>">
25 <input type="hidden" name="fxloss_accno_id" value="<TMPL_VAR fxloss_accno_id>">
27 <table border="0" width="100%">
29 <th class="listtop"><TMPL_VAR title></th>
43 <td><input name="accno" size="20" value="<TMPL_VAR accno>"></td>
51 <td><input name="description" size="40" value="<TMPL_VAR
52 description ESCAPE=HTML>"></td>
61 <td><select name="charttype"><TMPL_VAR
62 select_charttype></select></td>
66 <fieldset class="DEPENDS ON charttype BEING A">
67 <legend>Kontoart</legend>
68 <select name="category" id="AccountType" class="DEPENDS ON charttype BEING A">
69 <TMPL_VAR select_category></select>
72 <TMPL_IF ChartTypeIsAccount>
73 <fieldset class="DEPENDS ON charttype BEING A">
74 <legend>Buchungskonto in</legend>
75 <input name="AR" type="checkbox" class="checkbox" value="AR" <TMPL_VAR AR ESCAPE=HTML>>
77 <input name="AP" type="checkbox" class="checkbox" value="AP" <TMPL_VAR AP ESCAPE=HTML>>
79 <input name="IC" type="checkbox" class="checkbox" value="IC" <TMPL_VAR IC ESCAPE=HTML>>
83 <fieldset class="DEPENDS ON charttype BEING A">
84 <legend>In Aufklappmenü aufnehmen</legend>
87 <th align="left">Forderungen</th>
88 <th align="left">Verbindlichkeiten</th>
89 <th align="left">Warenliste</th>
90 <th align="left">Dienstleistungen</th>
94 <input name="AR_amount" type="checkbox" class="checkbox" value="AR_amount"
95 <TMPL_VAR AR_amount ESCAPE=HTML>>
97 <input name="AR_paid" type="checkbox" class="checkbox" value="AR_paid"
98 <TMPL_VAR AR_paid ESCAPE=HTML>>
100 <input name="AR_tax" type="checkbox" class="checkbox" value="AR_tax"
101 <TMPL_VAR AR_tax ESCAPE=HTML>>
105 <input name="AP_amount" type="checkbox" class="checkbox" value="AP_amount"
106 <TMPL_VAR AP_amount ESCAPE=HTML>>
108 <input name="AP_paid" type="checkbox" class="checkbox" value="AP_paid"
109 <TMPL_VAR AP_paid ESCAPE=HTML>>
111 <input name="AP_tax" type="checkbox" class="checkbox" value="AP_tax"
112 <TMPL_VAR AP_tax ESCAPE=HTML>>
116 <input name="IC_sale" type="checkbox" class="checkbox" value="IC_sale"
117 <TMPL_VAR IC_sale ESCAPE=HTML>>
119 <input name="IC_cogs" type="checkbox" class="checkbox" value="IC_cogs"
120 <TMPL_VAR IC_cogs ESCAPE=HTML>>
122 <input name="IC_taxpart" type="checkbox" class="checkbox" value="IC_taxpart"
123 <TMPL_VAR IC_taxpart ESCAPE=HTML>>
127 <input name=IC_income type=checkbox class=checkbox value="IC_income"
128 <TMPL_VAR IC_income ESCAPE=HTML>>
130 <input name=IC_expense type=checkbox class=checkbox value="IC_expense"
131 <TMPL_VAR IC_expense ESCAPE=HTML>>
133 <input name=IC_taxservice type=checkbox class=checkbox value="IC_taxservice"
134 <TMPL_VAR IC_taxservice ESCAPE=HTML>>
141 <fieldset class="DEPENDS ON charttype BEING A">
143 Steuerautomatik und UStVA
147 <TMPL_IF account_exists >
149 <th align="left">Steuerschlüssel</th>
150 <th align="left">Gültig ab</th>
151 <th align="left">UStVA</th>
152 <th align="left">Löschen ? </th>
154 <TMPL_LOOP ACCOUNT_TAXKEYS >
157 <input type="hidden" name="taxkey_id_<TMPL_VAR runningnumber>" value="<TMPL_VAR id>">
158 <td><select name="taxkey_tax_<TMPL_VAR runningnumber>"><TMPL_VAR selecttaxkey></select></td>
159 <td><input name="taxkey_startdate_<TMPL_VAR runningnumber>" value="<TMPL_VAR startdate>"></td>
160 <td><select name="taxkey_pos_ustva_<TMPL_VAR runningnumber>"><TMPL_VAR select_tax></select></td>
161 <td><input name="taxkey_del_<TMPL_VAR runningnumber>" type="checkbox"
162 class="checkbox" value="delete"></td>
164 <input type="hidden" name="taxkey_id_<TMPL_VAR runningnumber>" value="NEW">
165 <td><select name="taxkey_tax_<TMPL_VAR runningnumber>"><TMPL_VAR selecttaxkey></select></td>
166 <td><input name="taxkey_startdate_<TMPL_VAR runningnumber>" value="<TMPL_VAR startdate>"></td>
167 <td><select name="taxkey_pos_ustva_<TMPL_VAR runningnumber>"><TMPL_VAR select_tax></select></td>
175 <td align="center" colspan="4"><p>Einstellungen sind nach
176 dem Speichern des Kontos verfügbar...</p>
183 <fieldset class="DEPENDS ON charttype BEING A">
184 <legend>Sonstige Einstellungen</legend>
187 <th align="left">Einnahmen-/Überschussrechnung</th>
188 <td colspan="3"><select name="pos_eur"><TMPL_VAR select_eur></select></td>
191 <th align="left">BWA</th>
192 <td colspan="3"><select name="pos_bwa"><TMPL_VAR select_bwa></select></td>
195 <th align="left">Bilanz</th>
196 <td colspan="3"><select name="pos_bilanz"><TMPL_VAR select_bilanz></select></td>
199 <th align="left">Datevexport</th>
200 <td colspan="3"><input name="datevautomatik" type="checkbox"
201 class="checkbox" value="T" <TMPL_IF
202 datevautomatik>checked="checked" </TMPL_IF>></td>
205 <th align="left">Folgekonto</th>
206 <td><select name="new_chart_id"><TMPL_VAR selectnewaccount></select></td>
207 <th align="left">Valid from</th>
208 <td><input name="valid_from" value="<TMPL_VAR valid_from>"></td>
213 <hr size="3" noshade>