Fixed Email Receipt to customer.
[fa-stable.git] / reporting / includes / reporting.inc
index 80632db211e2b2645413846bbad7ec37ef0d746d..6062ddca554ef024ca0ead27085e815041a3e31a 100644 (file)
@@ -92,8 +92,9 @@ function print_document_link($doc_no, $link_text, $link=true, $type_no,
                                'PARAM_0' => $doc_no, 
                                'PARAM_1' => $doc_no, 
                                'PARAM_2' => '', 
-                               'PARAM_3' => '',
-                               'PARAM_4' => $def_orientation);
+                               'PARAM_3' => $email,
+                               'PARAM_4' => '',
+                               'PARAM_5' => $def_orientation);
                        break;
                case ST_SUPPAYMENT :
                        $rep = 210;