projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SL::DB::Order: bei Wandlung in Lieferschein delivered auf 1 setzen
[kivitendo-erp.git]
/
SL
/
PE.pm
diff --git
a/SL/PE.pm
b/SL/PE.pm
index
9906a72
..
28f3ba5
100644
(file)
--- a/
SL/PE.pm
+++ b/
SL/PE.pm
@@
-172,7
+172,7
@@
sub pricegroups {
my $first = 1;
$where .= qq| AND id NOT IN (|;
my $first = 1;
$where .= qq| AND id NOT IN (|;
- foreach my $table (qw(invoice orderitems prices
rmaitems
)) {
+ foreach my $table (qw(invoice orderitems prices)) {
$where .= "UNION " unless ($first);
$first = 0;
$where .=
$where .= "UNION " unless ($first);
$first = 0;
$where .=
@@
-253,7
+253,7
@@
sub get_pricegroup {
my @values = ();
$query = qq|SELECT |;
my @values = ();
$query = qq|SELECT |;
- foreach my $table (qw(invoice orderitems prices
rmaitems
)) {
+ foreach my $table (qw(invoice orderitems prices)) {
$query .= " + " unless ($first);
$first = 0;
$query .= qq|(SELECT COUNT(*) FROM $table WHERE pricegroup_id = ?) |;
$query .= " + " unless ($first);
$first = 0;
$query .= qq|(SELECT COUNT(*) FROM $table WHERE pricegroup_id = ?) |;