Fixed GET continuation after timeot and logout page access without authorization.
[fa-stable.git] / reporting / includes / reporting.inc
index 9df4942975e2d1850605f5193d7aa05a5136b546..e38ed6a225119a276ea76359fa7bc65f1a4505b9 100644 (file)
@@ -56,8 +56,8 @@ function print_document_link($doc_no, $link_text, $link=true, $type_no,
                                'PARAM_2' => $email, 
                                'PARAM_3' => "");
                        break;
-               case 10 : // Sales Invoice
-               case 11 : // Customer Credit Note
+               case ST_SALESINVOICE : // Sales Invoice
+               case ST_CUSTCREDIT : // Customer Credit Note
                        $rep = 107;
                        // from, to, currency, bank acc, email, paylink, comments, type
                        $ar = array(