"Erfassen" sollte als GET-Request erfolgen und nicht als POST.
</table>
<br>
-<form method=post action=am.pl>
-
-<input name=callback type=hidden value="[% callback | html %]">
-
-<input type=hidden name=type value=buchungsgruppe>
-
-<input class=submit type=submit name=action value="[% 'Add' | $T8 %]">
-
- </form>
+<a href="am.pl?action=add&type=buchungsgruppe&callback=[% HTML.url(callback) %]">[%- LxERP.t8('Add') %]</a>
</table>
<br>
-<form method=post action=am.pl>
-
-<input name=callback type=hidden value="[% callback | html %]">
-<input type=hidden name=type value=lead>
-<input class=submit type=submit name=action value="[% 'Add' | $T8 %]">
-
- </form>
+ <a href="am.pl?action=add&type=lead&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
<hr height="3">
<p>
- <form method="post" action="am.pl">
- <input type="hidden" name="type" value="price_factor">
- <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
-
- <input type="submit" class="submit" name="action" value="[% 'Add' | $T8 %]">
- </form>
+ <a href="am.pl?action=add&type=price_factor&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
</p>
[% L.sortable_element('#price_factor_list tbody', url => 'controller.pl?action=PriceFactor/reorder', with => 'price_factor_id') %]
-
</table>
<p>
- <form method="post" action="am.pl">
-
- <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
- <input type="hidden" name="type" value="tax">
- <input class="submit" type="submit" name="action" value="[% 'Add' | $T8 %]">
- </form>
+ <a href="am.pl?action=add&type=tax&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
</p>
-
-
<hr height="3">
<p>
- <form method="post" action="am.pl">
- <input type="hidden" name="type" value="warehouse">
-
- <input type="submit" class="submit" name="action" value="[% 'Add' | $T8 %]">
- </form>
+ <a href="am.pl?action=add&type=warehouse&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
</p>
[% L.sortable_element('#warehouse_list tbody', url => 'controller.pl?action=Warehouse/reorder', with => 'warehouse_id') %]
-
<hr height="3">
<p>
- <input type="submit" class="submit" name="action_add_cvar_config" value="[% 'Add' | $T8 %]">
+ <a href="amcvar.pl?action=add_cvar_config&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
</p>
</form>
[% L.sortable_element('#cvarcfg_list tbody', url => 'controller.pl?action=CustomVariableConfig/reorder', with => 'cvarcfg_id') %]
-
[% USE T8 %][% USE HTML %]
- <form action="dispatcher.pl?M=bankaccounts" method="post">
- <p>
- [%- 'New bank account' | $T8 %]<br>
- <input type="submit" name="A_bank_account_add" value="[%- 'Add' | $T8 %]">
- </p>
-
- <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
- </form>
-
+ <p>
+ <a href="dispatcher.pl?M=bankaccounts&A=bank_account_add&callback=[% HTML.url(callback) %]">[%- 'New bank account' | $T8 %]</a>
+ </p>
[%- USE T8 %]
[%- USE LxERP %]
+[%- USE HTML %]
<form method=post action="[% script %]">
<br>
<input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
+|
+<a href="pe.pl?action=add&type=[% HTML.url(type) %]">[%- LxERP.t8('Add') %]</a>
</form>
-
-