Revision 0e60202e
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
SL/AR.pm | ||
---|---|---|
125 | 125 |
} |
126 | 126 |
} |
127 | 127 |
|
128 |
# update department |
|
129 |
($null, $form->{department_id}) = split(/--/, $form->{department}); |
|
130 |
|
|
131 | 128 |
# amount for AR account |
132 | 129 |
$form->{receivables} = $form->round_amount($form->{amount}, 2) * -1; |
133 | 130 |
|
... | ... | |
533 | 530 |
push(@values, $business_id); |
534 | 531 |
} |
535 | 532 |
if ($form->{department_id}) { |
536 |
my $department_id = $form->{department_id}; |
|
537 | 533 |
$where .= " AND a.department_id = ?"; |
538 |
push(@values, $department_id); |
|
539 |
} |
|
540 |
if ($form->{department}) { |
|
541 |
my $department = like($form->{department}); |
|
542 |
$where .= " AND d.description ILIKE ?"; |
|
543 |
push(@values, $department); |
|
534 |
push(@values, $form->{department_id}); |
|
544 | 535 |
} |
545 | 536 |
foreach my $column (qw(invnumber ordnumber cusordnumber notes transaction_description)) { |
546 | 537 |
if ($form->{$column}) { |
Auch abrufbar als: Unified diff
Debitorenbuchung - Abteilung nutzt immer L.select_tag als Dropdown