Merged changes from main trunk up to 2.2.5
[fa-stable.git] / reporting / includes / reporting.inc
index 4ce4d148d3a37f31b309795a31d2999f9d772c1e..2bfa425748808030cf87e4797b27f40260124be3 100644 (file)
@@ -77,6 +77,15 @@ function print_document_link($doc_no, $link_text, $link=true, $type_no,
                                'PARAM_3' => $email, 
                                'PARAM_4' => '');
                        break;
+               case ST_CUSTPAYMENT :
+                       $rep = 112;
+                       // from, to, currency, bank acc, email, comments
+                       $ar = array(
+                               'PARAM_0' => $doc_no, 
+                               'PARAM_1' => $doc_no, 
+                               'PARAM_2' => '', 
+                               'PARAM_4' => '');
+                       break;
                case ST_SUPPAYMENT :
                        $rep = 210;
                        // from, to, currency, bank acc, email, comments