projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git-jbueren@lx-office.linet-services.de/~/lx-office-erp
[kivitendo-erp.git]
/
SL
/
AR.pm
diff --git
a/SL/AR.pm
b/SL/AR.pm
index
fe3e443
..
11333ce
100644
(file)
--- a/
SL/AR.pm
+++ b/
SL/AR.pm
@@
-446,6
+446,11
@@
sub ar_transactions {
$where .= " AND c.name ILIKE ?";
push(@values, $form->like($form->{customer}));
}
$where .= " AND c.name ILIKE ?";
push(@values, $form->like($form->{customer}));
}
+ if ($form->{business_id}) {
+ my $business_id = $form->{business_id};
+ $where .= " AND c.business_id = ?";
+ push(@values, $business_id);
+ }
if ($form->{department_id}) {
my $department_id = $form->{department_id};
$where .= " AND a.department_id = ?";
if ($form->{department_id}) {
my $department_id = $form->{department_id};
$where .= " AND a.department_id = ?";