Filtert Steuern bei Dialogbuchungen
[kivitendo-erp.git] / templates / webpages / pe / pricegroup_form.html
index d1b022d..0b1f8e3 100644 (file)
@@ -2,11 +2,10 @@
 [%- USE T8 %]
 [%- USE HTML %]
 [% L.javascript_tag('show_history.js') %]
-<body>
 
 <form method=post action="[% script %]">
 
-<input type=hidden name=id value="[% id %]"
+<input type=hidden name=id value="[% id %]">
 <input type=hidden name=type value="[% type %]">
 
 <table width=100%>
@@ -37,8 +36,9 @@
 <input type=submit class=submit name=action value="[% 'Delete' | $T8 %]">
 [%- END %]
 
-<input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- IF ( id ) %]
+  <input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- END %]
+
 </form>
 
-</body>
-</html>