Vergessener Aufruf io.pl für vorbelegte E-Mail-Texte
[kivitendo-erp.git] / bin / mozilla / am.pl
index 347084d..c23e9d2 100644 (file)
@@ -84,7 +84,6 @@ sub add_account {
   $form->{callback} = "am.pl?action=list_account" unless $form->{callback};
 
   &account_header;
-  &form_footer;
 
   $main::lxdebug->leave_sub();
 }
@@ -344,21 +343,6 @@ sub account_header {
   $main::lxdebug->leave_sub();
 }
 
-sub form_footer {
-  $::lxdebug->enter_sub;
-  $::auth->assert('config');
-
-  print $::form->parse_html_template('am/form_footer', {
-    show_save        => !$::form->{id}
-                     || ($::form->{id} && $::form->{orphaned})
-                     || ($::form->{type} eq "account" && !$::form->{new_chart_valid}),
-    show_delete      => $::form->{id} && $::form->{orphaned},
-    show_save_as_new => $::form->{id} && $::form->{type} eq "account",
-  });
-
-  $::lxdebug->leave_sub;
-}
-
 sub save_account {
   $main::lxdebug->enter_sub();
 
@@ -1397,8 +1381,6 @@ sub setup_am_edit_account_action_bar {
         action => [
           t8('Save'),
           submit    => [ '#form', { action => "save_account" } ],
-          disabled  => $::form->{id} && !$::form->{orphaned} ? t8('The object is in use and cannot be changed.')
-                     :                                         undef,
           accesskey => 'enter',
         ],