]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/IS.pm
Die Variablen aus %myconfig beim Drucken nicht einfach so nach $form kopieren --...
[kivitendo-erp.git] / SL / IS.pm
index aa2b087bfa876134a264240184f271bd992737d7..0e652874a270b77f98bd7cb936563ea382540e24 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -445,7 +445,7 @@ sub customer_details {
   }
 
   # get rest for the customer
-  my $query = qq|SELECT ct.*, cp.*, ct.notes as customernotes
+  my $query = qq|SELECT ct.*, cp.*, ct.notes as customernotes, ct.phone AS customerphone, ct.fax AS customerfax, ct.email AS customeremail
                  FROM customer ct
                  LEFT JOIN contacts cp on ct.id = cp.cp_cv_id
                 WHERE ct.id = $form->{customer_id} $contact order by cp.cp_id limit 1|;