X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fir.pl;h=0b9a4b227361cd63317071dcd6701c2e43a1872d;hb=639c7f18be07979acb6e83d2b452cb6ecd091f9a;hp=48ff6c3b085059e61ff59bbcc17fd7f882652988;hpb=31f8f9aad7fa3ee3ce7c076833db4b54a1f672b2;p=kivitendo-erp.git diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 48ff6c3b0..0b9a4b227 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -349,7 +349,7 @@ sub setup_ir_action_bar { action => [ t8('more') ], action => [ t8('History'), - call => [ 'set_history_window', $::form->{id} * 1, 'id', 'glid' ], + call => [ 'set_history_window', $::form->{id} * 1, 'glid' ], disabled => !$form->{id} ? t8('This invoice has not been posted yet.') : undef, ], action => [ @@ -935,6 +935,11 @@ sub post { $form->save_history; } # /saving the history + # I keep the old default / comment for refactorer, pls check instance_conf: + #if ($::instance_conf->get_ir_add_doc && $::instance_conf->get_doc_storage) { + # my $add_doc_url = build_std_url("script=ir.pl", 'action=edit', 'id=' . E($form->{id})); + # print $form->redirect_header($add_doc_url); + #} $form->{callback} = 'ir.pl?action=edit&id=' . $form->{id}; $form->redirect( $locale->text('Invoice') . " $form->{invnumber} "