projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Abteilung bei Lohnbuchhaltung zuordnen, get_first mit richtigen Parameteraufruf
[kivitendo-erp.git]
/
SL
/
Controller
/
PayPostingImport.pm
diff --git
a/SL/Controller/PayPostingImport.pm
b/SL/Controller/PayPostingImport.pm
index
a2d103f
..
c8d3909
100644
(file)
--- a/
SL/Controller/PayPostingImport.pm
+++ b/
SL/Controller/PayPostingImport.pm
@@
-82,7
+82,7
@@
sub parse_and_import {
# optional KOST1 - KOST2 ?
$department_name = $row->[36];
if ($department_name) {
# optional KOST1 - KOST2 ?
$department_name = $row->[36];
if ($department_name) {
- $department = SL::DB::Manager::Department->get_first(
description => { like => $department_name . '%' }
);
+ $department = SL::DB::Manager::Department->get_first(
where => [ description => { ilike => $department_name . '%' } ]
);
}
my $amount = $::form->parse_amount({ numberformat => '1000,00' }, $row->[0]);
}
my $amount = $::form->parse_amount({ numberformat => '1000,00' }, $row->[0]);