projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pflichtenheftaufträge: Pauschalpos. in Ang./Auftr. erstellen können
[kivitendo-erp.git]
/
SL
/
VK.pm
diff --git
a/SL/VK.pm
b/SL/VK.pm
index
cc49cb4
..
6d7df70
100644
(file)
--- a/
SL/VK.pm
+++ b/
SL/VK.pm
@@
-110,7
+110,10
@@
sub invoice_transactions {
if ($form->{customer_id}) {
$where .= " AND ar.customer_id = ?";
push(@values, $form->{customer_id});
if ($form->{customer_id}) {
$where .= " AND ar.customer_id = ?";
push(@values, $form->{customer_id});
- };
+ } elsif ($form->{customer}) {
+ $where .= " AND ct.name ILIKE ?";
+ push(@values, $form->like($form->{customer}));
+ }
if ($form->{customernumber}) {
$where .= qq| AND ct.customernumber = ? |;
push(@values, $form->{customernumber});
if ($form->{customernumber}) {
$where .= qq| AND ct.customernumber = ? |;
push(@values, $form->{customernumber});