X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Foe.pl;h=1e105aac2e3274fed772e46e6dae5f28616afc27;hb=82ab26a0d201bf24aba85e058e1cb23928a4b44a;hp=ee8eddf17c07924b9880aad6eeca873b20eba555;hpb=2b89ec9756dc1d3525b6163fe4cf4f38af83f9d8;p=kivitendo-erp.git diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index ee8eddf17..1e105aac2 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -698,7 +698,9 @@ sub form_header { } $form->{"javascript"} .= qq||; - + # show history button js + $form->{javascript} .= qq||; + #/show history button js $form->header; print qq| @@ -891,7 +893,8 @@ sub form_footer { $tax .= qq| - $form->{"${item}_description"} + $form->{"${item}_description"} | + . $form->{"${item}_rate"} * 100 .qq|% $form->{"${item}_total"} |; @@ -930,7 +933,8 @@ sub form_footer { $tax .= qq| - Enthaltene $form->{"${item}_description"} + Enthaltene $form->{"${item}_description"} | + . $form->{"${item}_rate"} * 100 .qq|% $form->{"${item}_total"} @@ -1048,6 +1052,12 @@ sub form_footer { if (($form->{id})) { print qq| + +
| . $locale->text("Workflow $form->{type}") . qq|
@@ -1114,17 +1124,7 @@ sub form_footer { {path}> {login}> {password}> -|; -# button for saving history -print qq| - {id} - . qq|); name=history id=history value=| - . $locale->text('history') - . qq|>|; -# /button for saving history - -qq| + @@ -1341,10 +1341,6 @@ sub search { | if $form->{selectdepartment}; - $openclosed = qq| - -|; - my $delivered; if (($form->{"type"} eq "sales_order") || ($form->{"type"} eq "purchase_order")) { @@ -1440,7 +1436,12 @@ sub search { | . $locale->text('Include in Report') . qq| - $openclosed + + + + $delivered
+ +
@@ -1934,17 +1935,18 @@ sub save_and_close { } relink_accounts(); + + $form->error($err) if (!OE->save(\%myconfig, \%$form)); + # saving the history if(!exists $form->{addition}) { $form->{addition} = "SAVED"; $form->save_history($form->dbconnect(\%myconfig)); } - # /saving the history + # /saving the history - $form->redirect( - $form->{label} . " $form->{$ordnumber} " . $locale->text('saved!')) - if (OE->save(\%myconfig, \%$form)); - $form->error($err); + $form->redirect($form->{label} . " $form->{$ordnumber} " . + $locale->text('saved!')); $lxdebug->leave_sub(); } @@ -2014,6 +2016,9 @@ sub save { unless $form->{$ordnumber}; relink_accounts(); + + OE->save(\%myconfig, \%$form); + # saving the history if(!exists $form->{addition}) { $form->{addition} = "SAVED"; @@ -2021,7 +2026,6 @@ sub save { } # /saving the history - OE->save(\%myconfig, \%$form); $form->{simple_save} = 1; if(!$form->{print_and_save}) { set_headings("edit");