Revision be0a9653
Von G. Richardson vor fast 13 Jahren hinzugefügt
SL/DN.pm | ||
---|---|---|
747 | 747 |
c.country, c.department_1, c.department_2, c.email, c.customernumber, |
748 | 748 |
c.greeting, c.contact, c.phone, c.fax, c.homepage, |
749 | 749 |
c.email, c.taxincluded, c.business_id, c.taxnumber, c.iban, |
750 |
c,ustid, e.name as salesman_name, |
|
750 | 751 |
co.* |
751 | 752 |
FROM dunning d |
752 | 753 |
LEFT JOIN ar ON (d.trans_id = ar.id) |
753 | 754 |
LEFT JOIN customer c ON (ar.customer_id = c.id) |
754 | 755 |
LEFT JOIN contacts co ON (ar.cp_id = co.cp_id) |
756 |
LEFT JOIN employee e ON (ar.salesman_id = e.id) |
|
755 | 757 |
WHERE (d.dunning_id = ?) |
756 | 758 |
LIMIT 1|; |
757 | 759 |
my $ref = selectfirst_hashref_query($form, $dbh, $query, $dunning_id); |
Auch abrufbar als: Unified diff
Bugfix 1566: Variablen für Verkäufer und USTID in Mahnungsdruck hinzugefügt