Revision ee2b1ef3
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
2736 | 2736 |
$self->{TAX} = selectall_hashref_query($self, $dbh, $query); |
2737 | 2737 |
} |
2738 | 2738 |
|
2739 |
my $extra_columns = ''; |
|
2740 |
$extra_columns .= 'a.direct_debit, ' if $module eq 'AR'; |
|
2741 |
|
|
2739 | 2742 |
if ($self->{id}) { |
2740 | 2743 |
$query = |
2741 | 2744 |
qq|SELECT |
... | ... | |
2743 | 2746 |
a.duedate, a.ordnumber, a.taxincluded, a.curr AS currency, a.notes, |
2744 | 2747 |
a.intnotes, a.department_id, a.amount AS oldinvtotal, |
2745 | 2748 |
a.paid AS oldtotalpaid, a.employee_id, a.gldate, a.type, |
2746 |
a.globalproject_id, |
|
2749 |
a.globalproject_id, ${extra_columns}
|
|
2747 | 2750 |
c.name AS $table, |
2748 | 2751 |
d.description AS department, |
2749 | 2752 |
e.name AS employee |
Auch abrufbar als: Unified diff
Debitorenbuchungen: Checkbox für "Lastschrifteinzug"; Vorbelegung aus Stammdaten