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:
66e5ad7
)
Beim Umwandeln von Auftrag in Rechnung wurden die Zahlungsbedingungen des Kunden...
author
Philip Reetz
<p.reetz@linet-services.de>
Sat, 10 Nov 2007 14:45:51 +0000
(14:45 +0000)
committer
Philip Reetz
<p.reetz@linet-services.de>
Sat, 10 Nov 2007 14:45:51 +0000
(14:45 +0000)
des Auftrags verwendet
SL/IS.pm
patch
|
blob
|
history
diff --git
a/SL/IS.pm
b/SL/IS.pm
index
55203db
..
a244686
100644
(file)
--- a/
SL/IS.pm
+++ b/
SL/IS.pm
@@
-1525,7
+1525,7
@@
sub get_customer {
b.discount AS tradediscount, b.description AS business
FROM customer c
LEFT JOIN business b ON (b.id = c.business_id)
- LEFT JOIN payment_terms pt ON (
c.payment_id = pt.id
)
+ LEFT JOIN payment_terms pt ON (
($form->{payment_id} = pt.id) OR (c.payment_id = pt.id)
)
WHERE c.id = ?|;
push @values, $cid;
$ref = selectfirst_hashref_query($form, $dbh, $query, @values);