projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Weitere Grundeinstellungen fuer leeren Kontenrahmen.
[kivitendo-erp.git]
/
SL
/
IC.pm
diff --git
a/SL/IC.pm
b/SL/IC.pm
index
2bbf89a
..
d05d85d
100644
(file)
--- a/
SL/IC.pm
+++ b/
SL/IC.pm
@@
-502,6
+502,7
@@
sub save {
shop = '$form->{shop}',
ve = '$form->{ve}',
gv = '$form->{gv}',
shop = '$form->{shop}',
ve = '$form->{ve}',
gv = '$form->{gv}',
+ ean = '$form->{ean}',
not_discountable = '$form->{not_discountable}',
microfiche = '$form->{microfiche}',
partsgroup_id = $partsgroup_id
not_discountable = '$form->{not_discountable}',
microfiche = '$form->{microfiche}',
partsgroup_id = $partsgroup_id
@@
-933,6
+934,11
@@
sub all_parts {
}
}
}
}
+ if ($form->{ean}) {
+ $var = $form->like(lc $form->{ean});
+ $where .= " AND lower(ean) LIKE '$var'";
+ }
+
if ($form->{searchitems} eq 'part') {
$where .= " AND p.inventory_accno_id > 0";
}
if ($form->{searchitems} eq 'part') {
$where .= " AND p.inventory_accno_id > 0";
}