X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Freporting.inc;h=6a0712998267b8fd02ce64aec1dc785ebe14b1ec;hb=3ff9ed87cb909f19c8fe3e7dfda5df79d0c01a6c;hp=12cffc11e558cba7e6841b55e94f9d91dac973a8;hpb=28e7dac267b65d8163ca41c452c42706d0ffb2dd;p=fa-stable.git diff --git a/reporting/includes/reporting.inc b/reporting/includes/reporting.inc index 12cffc11..6a071299 100644 --- a/reporting/includes/reporting.inc +++ b/reporting/includes/reporting.inc @@ -15,7 +15,7 @@ // You only need full parameter list for invoices/credit notes function print_document_link($doc_no, $link_text, $link=true, $type_no, - $icon=false, $class='printlink', $id='', $email=0) + $icon=false, $class='printlink', $id='', $email=0, $extra=0) { global $path_to_root; include_once($path_to_root . "/includes/types.inc"); @@ -51,7 +51,8 @@ function print_document_link($doc_no, $link_text, $link=true, $type_no, $ar = array( 'PARAM_0' => $doc_no, 'PARAM_1' => $doc_no, - 'PARAM_2' => $email); + 'PARAM_2' => $email, + 'PARAM_3' => $extra); break; case ST_SALESINVOICE : // Sales Invoice case ST_CUSTCREDIT : // Customer Credit Note