projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Auftrags-Controller: bei als neu speichern auch ein neues Objekt erzeugen
[kivitendo-erp.git]
/
SL
/
VK.pm
diff --git
a/SL/VK.pm
b/SL/VK.pm
index
cb165eb
..
3ec6e08
100644
(file)
--- a/
SL/VK.pm
+++ b/
SL/VK.pm
@@
-148,10
+148,9
@@
sub invoice_transactions {
$where .= " AND ar.transdate <= ?";
push(@values, $form->{transdateto});
}
$where .= " AND ar.transdate <= ?";
push(@values, $form->{transdateto});
}
- if ($form->{department}) {
- my ($null, $department_id) = split /--/, $form->{department};
+ if ($form->{department_id}) {
$where .= " AND ar.department_id = ?";
$where .= " AND ar.department_id = ?";
- push
(@values, $department_id
);
+ push
@values, conv_i($form->{department_id}
);
}
if ($form->{employee_id}) {
$where .= " AND ar.employee_id = ?";
}
if ($form->{employee_id}) {
$where .= " AND ar.employee_id = ?";