projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Locales für -r4298
[kivitendo-erp.git]
/
SL
/
OE.pm
diff --git
a/SL/OE.pm
b/SL/OE.pm
index
d3b1313
..
9adbee2
100644
(file)
--- a/
SL/OE.pm
+++ b/
SL/OE.pm
@@
-83,7
+83,8
@@
sub transactions {
qq|WHERE (o.quotation = ?) |;
push(@values, $quotation);
qq|WHERE (o.quotation = ?) |;
push(@values, $quotation);
- my ($null, $department_id) = split /--/, $form->{department};
+ my ($null, $split_department_id) = split /--/, $form->{department};
+ my $department_id = $form->{department_id} || $split_department_id;
if ($department_id) {
$query .= qq| AND o.department_id = ?|;
push(@values, $department_id);
if ($department_id) {
$query .= qq| AND o.department_id = ?|;
push(@values, $department_id);