Part Controller - Artikelnummern immer änderbar
[kivitendo-erp.git] / templates / webpages / part / form.html
index 0d7ab08..b33d5b0 100644 (file)
@@ -12,6 +12,7 @@
   [% L.hidden_tag('part.part_type'   , SELF.part.part_type) %]
   [% L.hidden_tag('part.id'          , SELF.part.id) %]
   [% L.hidden_tag('last_modification', SELF.part.last_modification) %]
+  [% L.hidden_tag('callback'         , FORM.callback) %]
 
   <div id="ic_tabs" class="tabwidget">
    <ul>
    [%- END %]
 
 </div>
-
-  <p>
-  [% IF show_edit_buttons %]
-    [% L.button_tag('kivi.Part.save()', LxERP.t8('Save')) %]
-    [% IF SELF.part.id %]
-    [% L.button_tag('kivi.Part.use_as_new()', LxERP.t8('Use as new')) %]
-      [% IF SELF.part.orphaned %]
-        [% L.button_tag('kivi.Part.delete()', LxERP.t8('Delete')) %]
-      [% END %]
-    [% L.button_tag('kivi.Part.open_history_popup()', LxERP.t8('History')) %]
-    [% END %]
-  [% END %]
-  </p>
-
 </form>