Revision c17d679a
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
SL/VK.pm | ||
---|---|---|
148 | 148 |
$where .= " AND ar.transdate <= ?"; |
149 | 149 |
push(@values, $form->{transdateto}); |
150 | 150 |
} |
151 |
if ($form->{department}) { |
|
152 |
my ($null, $department_id) = split /--/, $form->{department}; |
|
151 |
if ($form->{department_id}) { |
|
153 | 152 |
$where .= " AND ar.department_id = ?"; |
154 |
push(@values, $department_id);
|
|
153 |
push @values, conv_i($form->{department_id});
|
|
155 | 154 |
} |
156 | 155 |
if ($form->{employee_id}) { |
157 | 156 |
$where .= " AND ar.employee_id = ?"; |
Auch abrufbar als: Unified diff
Verkaufsbericht - Abteilung korrekt behandeln
und Umstellung auf select_tag