X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Freporting.inc;h=4f2e6665bf11bb1b818415de58a9357dff445b27;hb=53d942f2a0d20cce5e9c409c6485867ce0869e4d;hp=9e2ce40340666935373e561fa6f43fe9ae1ef2e1;hpb=6a4d8e6c1e92ff1b8fc5abb3fae76fb1c1968550;p=fa-stable.git diff --git a/reporting/includes/reporting.inc b/reporting/includes/reporting.inc index 9e2ce403..4f2e6665 100644 --- a/reporting/includes/reporting.inc +++ b/reporting/includes/reporting.inc @@ -22,6 +22,7 @@ function print_document_link($doc_no, $link_text, $link=true, $type_no, $url = $path_to_root.'/reporting/prn_redirect.php?'; $def_orientation = (isset($def_print_orientation) && $def_print_orientation == 1 ? 1 : 0); + switch ($type_no) { case ST_SALESQUOTE : @@ -84,12 +85,12 @@ function print_document_link($doc_no, $link_text, $link=true, $type_no, break; case ST_CUSTPAYMENT : $rep = 112; - // from, to, currency, email, comments, orientation + // from, to, currency, comments, orientation $ar = array( 'PARAM_0' => $doc_no, 'PARAM_1' => $doc_no, 'PARAM_2' => '', - 'PARAM_3' => '', + 'PARAM_3' => '', 'PARAM_4' => $def_orientation); break; case ST_SUPPAYMENT :