X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Fincludes%2Freporting.inc;h=7fa0c122ad1d9754951e5be3be79da37f35d6f5b;hb=0da4935c1fb5b588bfd7ead31f05069c9566eb8d;hp=43d03ef0a8cab7d9a1f9fe3c046bf77fbae02031;hpb=26fad657bec1efa3f5415c1bc04620b7b778242e;p=fa-stable.git diff --git a/reporting/includes/reporting.inc b/reporting/includes/reporting.inc index 43d03ef0..7fa0c122 100644 --- a/reporting/includes/reporting.inc +++ b/reporting/includes/reporting.inc @@ -24,6 +24,17 @@ function print_document_link($doc_no, $link_text, $link=true, $type_no, switch ($type_no) { + case systypes::sales_quotation() : + $rep = 111; + // from, to, currency, bank acc, email, quote, comments + $ar = array( + 'PARAM_0' => $doc_no, + 'PARAM_1' => $doc_no, + 'PARAM_2' => "", + 'PARAM_3' => get_first_bank_account(), + 'PARAM_4' => $email, + 'PARAM_5' => ""); + break; case systypes::sales_order() : $rep = 109; // from, to, currency, bank acc, email, quote, comments