X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Freporting.inc;h=9491c0c04b799b85bf6aa95f22e2a43e0f74ac3d;hb=6c2eb8504065becb97a0bbe66f87ed18d067293f;hp=6a0712998267b8fd02ce64aec1dc785ebe14b1ec;hpb=332bb2b00f809bf108fd504ce10273c9c7529143;p=fa-stable.git diff --git a/reporting/includes/reporting.inc b/reporting/includes/reporting.inc index 6a071299..9491c0c0 100644 --- a/reporting/includes/reporting.inc +++ b/reporting/includes/reporting.inc @@ -77,6 +77,35 @@ 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 + $ar = array( + 'PARAM_0' => $doc_no, + 'PARAM_1' => $doc_no, + 'PARAM_2' => '', + 'PARAM_3' => $email, + 'PARAM_4' => ''); + break; + case ST_WORKORDER : + $rep = 409; + // from, to, currency, bank acc, email, comments + $ar = array( + 'PARAM_0' => $doc_no, + 'PARAM_1' => $doc_no, + 'PARAM_2' => $email, + 'PARAM_3' => '', + 'PARAM_4' => ''); + break; // default: $ar = array(); }