projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b47ed3
)
Beim Auslesen der Lieferantendaten auch den Lieferantentyp holen.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 7 Feb 2007 12:56:50 +0000
(12:56 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 7 Feb 2007 12:56:50 +0000
(12:56 +0000)
SL/IR.pm
patch
|
blob
|
history
diff --git
a/SL/IR.pm
b/SL/IR.pm
index
2077e6b
..
8fb9b77
100644
(file)
--- a/
SL/IR.pm
+++ b/
SL/IR.pm
@@
-1002,8
+1002,10
@@
sub get_vendor {
my $query = qq|SELECT v.name AS vendor, v.creditlimit, v.terms,
v.email, v.cc, v.bcc, v.language_id, v.payment_id,
v.street, v.zipcode, v.city, v.country, v.taxzone_id,
- $duedate + v.terms AS duedate
+ $duedate + v.terms AS duedate,
+ b.description AS business
FROM vendor v
+ LEFT JOIN business b ON b.id = v.business_id
WHERE v.id = $form->{vendor_id}|;
my $sth = $dbh->prepare($query);
$sth->execute || $form->dberror($query);