projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kosmetik
[kivitendo-erp.git]
/
bin
/
mozilla
/
oe.pl
diff --git
a/bin/mozilla/oe.pl
b/bin/mozilla/oe.pl
index
cd04c6b
..
20bb0fd
100644
(file)
--- a/
bin/mozilla/oe.pl
+++ b/
bin/mozilla/oe.pl
@@
-50,7
+50,6
@@
require "bin/mozilla/reportgenerator.pl";
use strict;
use strict;
-my $print_post;
our %TMPL_VAR;
1;
our %TMPL_VAR;
1;
@@
-1064,7
+1063,7
@@
sub save_and_close {
if(!exists $form->{addition}) {
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
$form->{addition} = "SAVED";
if(!exists $form->{addition}) {
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
$form->{addition} = "SAVED";
- $form->save_history
($form->dbconnect(\%myconfig))
;
+ $form->save_history;
}
# /saving the history
}
# /saving the history
@@
-1172,7
+1171,7
@@
sub save {
if(!exists $form->{addition}) {
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
$form->{addition} = "SAVED";
if(!exists $form->{addition}) {
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
$form->{addition} = "SAVED";
- $form->save_history
($form->dbconnect(\%myconfig))
;
+ $form->save_history;
}
# /saving the history
}
# /saving the history
@@
-1260,7
+1259,7
@@
sub delete_order_quotation {
if(!exists $form->{addition}) {
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
$form->{addition} = "DELETED";
if(!exists $form->{addition}) {
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
$form->{addition} = "DELETED";
- $form->save_history
($form->dbconnect(\%myconfig))
;
+ $form->save_history;
}
# /saving the history
$form->info($msg);
}
# /saving the history
$form->info($msg);
@@
-1858,8
+1857,6
@@
sub e_mail {
$form->{print_and_save} = 1;
$form->{print_and_save} = 1;
- $print_post = 1;
-
my $saved_form = save_form();
save();
my $saved_form = save_form();
save();
@@
-1899,9
+1896,7
@@
sub display_form {
}
$form->{"taxaccounts"} = "";
}
$form->{"taxaccounts"} = "";
- for my $i (1 .. $form->{"rowcount"}) {
- IC->retrieve_accounts(\%myconfig, $form, $form->{"id_$i"}, $i, 1) if $form->{"id_$i"};
- }
+ IC->retrieve_accounts(\%myconfig, $form, map { $_ => $form->{"id_$_"} } 1 .. $form->{rowcount});
$form->{rowcount}++;
$form->{"project_id_$form->{rowcount}"} = $form->{globalproject_id};
$form->{rowcount}++;
$form->{"project_id_$form->{rowcount}"} = $form->{globalproject_id};