projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Und der eigentliche Loeschmechanismus.
[kivitendo-erp.git]
/
templates
/
webpages
/
dbupgrade
/
buchungsgruppen_parts_de.html
diff --git
a/templates/webpages/dbupgrade/buchungsgruppen_parts_de.html
b/templates/webpages/dbupgrade/buchungsgruppen_parts_de.html
index
452047e
..
9401f61
100644
(file)
--- a/
templates/webpages/dbupgrade/buchungsgruppen_parts_de.html
+++ b/
templates/webpages/dbupgrade/buchungsgruppen_parts_de.html
@@
-1,17
+1,14
@@
-<div class="listtop">Schritt 1 von 3: Waren</div>
+
[% USE HTML %]
<div class="listtop">Schritt 1 von 3: Waren</div>
<form name="Form" method="post" action="login.pl">
<form name="Form" method="post" action="login.pl">
- <input type="hidden" name="path" value="<TMPL_VAR path ESCAPE=HTML>">
- <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
- <input type="hidden" name="hashed_password" value="<TMPL_VAR password ESCAPE=HTML>">
<input type="hidden" name="type" value="parts">
<input type="hidden" name="action" value="login">
<input type="hidden" name="action2" value="">
<input type="hidden" name="type" value="parts">
<input type="hidden" name="action" value="login">
<input type="hidden" name="action2" value="">
- <TMPL_IF saved_message>
- <p>
<TMPL_VAR saved_message>
</p>
- </TMPL_IF>
+ [% IF saved_message %]
+ <p>
[% saved_message %]
</p>
+ [% END %]
<div class="subsubheading">Existierende Buchungsgruppen</div>
<div class="subsubheading">Existierende Buchungsgruppen</div>
@@
-19,69
+16,69
@@
Die folgenden Buchungsgruppen wurden bereits angelegt:
<br>
<ul>
Die folgenden Buchungsgruppen wurden bereits angelegt:
<br>
<ul>
- <TMPL_LOOP BUCHUNGSGRUPPEN>
+ [% FOREACH row = BUCHUNGSGRUPPEN %]
<li>
<li>
-
<TMPL_VAR description ESCAPE=HTML>
:
- Inventar:
<TMPL_VAR inventory_accno>
;
+
[% HTML.escape(row.description) %]
:
+ Inventar:
[% row.inventory_accno %]
;
Erlöskonto/Aufwandskonto
Erlöskonto/Aufwandskonto
- Inand:
<TMPL_VAR income_accno_0>/<TMPL_VAR expense_accno_0>
;
+ Inand:
[% row.income_accno_0 %]/[% row.expense_accno_0 %]
;
Erlöskonto/Aufwandskonto
Erlöskonto/Aufwandskonto
- EU mit UstId-Nummer:
<TMPL_VAR income_accno_1>/<TMPL_VAR expense_accno_1>
;
+ EU mit UstId-Nummer:
[% row.income_accno_1 %]/[% row.expense_accno_1 %]
;
Erlöskonto/Aufwandskonto
Erlöskonto/Aufwandskonto
- EU ohne UstId-Nummer:
<TMPL_VAR income_accno_2>/<TMPL_VAR expense_accno_2>
;
+ EU ohne UstId-Nummer:
[% row.income_accno_2 %]/[% row.expense_accno_2 %]
;
Erlöskonto/Aufwandskonto
Erlöskonto/Aufwandskonto
- Ausland:
<TMPL_VAR income_accno_3>/<TMPL_VAR expense_accno_3>
+ Ausland:
[% row.income_accno_3 %]/[% row.expense_accno_3 %]
</li>
</li>
- </TMPL_LOOP>
+ [% END %]
</ul>
</p>
</ul>
</p>
- <TMPL_LOOP LIST>
- <div class="subsubheading">Neue Buchungsgruppe
<TMPL_VAR __counter__>
</div>
+ [% FOREACH row = LIST %]
+ <div class="subsubheading">Neue Buchungsgruppe
[% loop.count %]
</div>
<table>
<tr>
<td>Beschreibung:</td>
<table>
<tr>
<td>Beschreibung:</td>
- <td><input name="description_
<TMPL_VAR __counter__>
"></td>
+ <td><input name="description_
[% loop.count %]
"></td>
</tr>
</tr>
- <TMPL_IF eur>
- <input type="hidden" name="inventory_accno_id_
<TMPL_VAR __counter__>" value="<TMPL_VAR std_inventory_accno_id>
">
- <TMPL_ELSE>
+ [% IF row.eur %]
+ <input type="hidden" name="inventory_accno_id_
[% loop.count %]" value="[% std_inventory_accno_id %]
">
+ [% ELSE %]
<tr>
<td>Inventar:</td>
<td>
<tr>
<td>Inventar:</td>
<td>
- <input type="hidden" name="inventory_accno_id_
<TMPL_VAR __counter__>" value="<TMPL_VAR inventory_accno_id ESCAPE=HTML>
">
- <TMPL_VAR inventory_accno ESCAPE=HTML>--<TMPL_VAR inventory_description ESCAPE=HTML>
+ <input type="hidden" name="inventory_accno_id_
[% loop.count %]" value="[% HTML.escape(row.inventory_accno_id) %]
">
+ [% HTML.escape(row.inventory_accno) %]--[% HTML.escape(row.inventory_description) %]
</td>
</tr>
</td>
</tr>
- </TMPL_IF>
+ [% END %]
<tr>
<td>Erlöskonto Inand:</td>
<td>
<tr>
<td>Erlöskonto Inand:</td>
<td>
- <input type="hidden" name="income_accno_id_0_
<TMPL_VAR __counter__>" value="<TMPL_VAR income_accno_id ESCAPE=HTML>
">
- <TMPL_VAR income_accno ESCAPE=HTML>--<TMPL_VAR income_description ESCAPE=HTML>
+ <input type="hidden" name="income_accno_id_0_
[% loop.count %]" value="[% HTML.escape(row.income_accno_id) %]
">
+ [% HTML.escape(row.income_accno) %]--[% HTML.escape(row.income_description) %]
</td>
</tr>
<tr>
<td>Aufwandskonto Inand:</td>
<td>
</td>
</tr>
<tr>
<td>Aufwandskonto Inand:</td>
<td>
- <input type="hidden" name="expense_accno_id_0_
<TMPL_VAR __counter__>" value="<TMPL_VAR expense_accno_id ESCAPE=HTML>
">
- <TMPL_VAR expense_accno ESCAPE=HTML>--<TMPL_VAR expense_description ESCAPE=HTML>
+ <input type="hidden" name="expense_accno_id_0_
[% loop.count %]" value="[% HTML.escape(row.expense_accno_id) %]
">
+ [% HTML.escape(row.expense_accno) %]--[% HTML.escape(row.expense_description) %]
</td>
</tr>
<tr>
<td>Erlöskonto EU mit UstId-Nummer:</td>
<td>
</td>
</tr>
<tr>
<td>Erlöskonto EU mit UstId-Nummer:</td>
<td>
- <select name="income_accno_id_1_
<TMPL_VAR __counter__>
">
- <TMPL_LOOP ACC_INCOME><option value="<TMPL_VAR id>" <TMPL_VAR selected>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option></TMPL_LOOP>
+ <select name="income_accno_id_1_
[% loop.count %]
">
+ [% FOREACH acc_row = ACC_INCOME %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
</select>
</td>
</tr>
</select>
</td>
</tr>
@@
-89,8
+86,8
@@
<tr>
<td>Aufwandskonto EU mit UstId-Nummer:</td>
<td>
<tr>
<td>Aufwandskonto EU mit UstId-Nummer:</td>
<td>
- <select name="expense_accno_id_1_
<TMPL_VAR __counter__>
">
- <TMPL_LOOP ACC_EXPENSE><option value="<TMPL_VAR id>" <TMPL_VAR selected>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option></TMPL_LOOP>
+ <select name="expense_accno_id_1_
[% loop.count %]
">
+ [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
</select>
</td>
</tr>
</select>
</td>
</tr>
@@
-98,8
+95,8
@@
<tr>
<td>Erlöskonto EU ohne UstId-Nummer:</td>
<td>
<tr>
<td>Erlöskonto EU ohne UstId-Nummer:</td>
<td>
- <select name="income_accno_id_2_
<TMPL_VAR __counter__>
">
- <TMPL_LOOP ACC_INCOME><option value="<TMPL_VAR id>" <TMPL_VAR selected>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option></TMPL_LOOP>
+ <select name="income_accno_id_2_
[% loop.count %]
">
+ [% FOREACH acc_row = ACC_INCOME %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
</select>
</td>
</tr>
</select>
</td>
</tr>
@@
-107,8
+104,8
@@
<tr>
<td>Aufwandskonto EU ohne UstId-Nummer:</td>
<td>
<tr>
<td>Aufwandskonto EU ohne UstId-Nummer:</td>
<td>
- <select name="expense_accno_id_2_
<TMPL_VAR __counter__>
">
- <TMPL_LOOP ACC_EXPENSE><option value="<TMPL_VAR id>" <TMPL_VAR selected>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option></TMPL_LOOP>
+ <select name="expense_accno_id_2_
[% loop.count %]
">
+ [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
</select>
</td>
</tr>
</select>
</td>
</tr>
@@
-116,8
+113,8
@@
<tr>
<td>Erlöskonto Ausland:</td>
<td>
<tr>
<td>Erlöskonto Ausland:</td>
<td>
- <select name="income_accno_id_3_
<TMPL_VAR __counter__>
">
- <TMPL_LOOP ACC_INCOME><option value="<TMPL_VAR id>" <TMPL_VAR selected>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option></TMPL_LOOP>
+ <select name="income_accno_id_3_
[% loop.count %]
">
+ [% FOREACH acc_row = ACC_INCOME %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
</select>
</td>
</tr>
</select>
</td>
</tr>
@@
-125,19
+122,19
@@
<tr>
<td>Aufwandskonto Ausland:</td>
<td>
<tr>
<td>Aufwandskonto Ausland:</td>
<td>
- <select name="expense_accno_id_3_
<TMPL_VAR __counter__>
">
- <TMPL_LOOP ACC_EXPENSE><option value="<TMPL_VAR id>" <TMPL_VAR selected>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option></TMPL_LOOP>
+ <select name="expense_accno_id_3_
[% loop.count %]
">
+ [% FOREACH acc_row = ACC_EXPENSE %]<option value="[% acc_row.id %]" [% acc_row.selected %]>[% HTML.escape(acc_row.accno) %]--[% HTML.escape(acc_row.description) %]</option>[% END %]
</select>
</td>
</tr>
</table>
</select>
</td>
</tr>
</table>
- <TMPL_IF __last__>
- <input type="hidden" name="rowcount" value="
<TMPL_VAR __counter__>
">
- </TMPL_IF>
+ [% IF loop.last %]
+ <input type="hidden" name="rowcount" value="
[% loop.count %]
">
+ [% END %]
<hr>
<hr>
- </TMPL_LOOP>
+ [% END %]
<input type="submit" onclick="document.Form.action2.value = 'create_buchungsgruppen'; document.Form.submit();" name="dummy" value="Buchungsgruppe erfassen">
<input type="submit" onclick="document.Form.action2.value = 'create_buchungsgruppen'; document.Form.submit();" name="dummy" value="Buchungsgruppe erfassen">