X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/e6f429e42da71c71b6416727216302a87a254fde..7748fe8e500152ddf3b2ab12b64bd606fc2a6259:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index aa2b087bf..0e652874a 100644 --- 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|;