X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Fincludes%2Freporting.inc;h=75b8d76f30ebd6f389c00c072dd20d9bb6d96048;hb=74dc09864f66962353e8a1dbb7fa174cc084cbe8;hp=c3fbc5bdd712cabd769fc6746ace383ae2bdf1c3;hpb=5795bbdeec703728e37a4ff3a5b00f90afe4365f;p=fa-stable.git diff --git a/reporting/includes/reporting.inc b/reporting/includes/reporting.inc index c3fbc5bd..75b8d76f 100644 --- a/reporting/includes/reporting.inc +++ b/reporting/includes/reporting.inc @@ -1,6 +1,7 @@ 0, // from - these values are updated in print_document_link() 'PARAM_1' => 0, // to 'PARAM_2' => "", // currency - 'PARAM_3' => "", // bank account + 'PARAM_3' => get_first_bank_account(), // bank account 'PARAM_4' => 0, // email 'PARAM_5' => 0, // quote 'PARAM_6' => ""); // comments @@ -36,10 +37,11 @@ function print_hidden_script($type_no) 'PARAM_0' => 0, // from - these values are updated in print_document_link() 'PARAM_1' => 0, // to 'PARAM_2' => "", // currency - 'PARAM_3' => "", // bank account + 'PARAM_3' => get_first_bank_account(), // bank account 'PARAM_4' => 0, // email 'PARAM_5' => "", // paylink - 'PARAM_6' => ""); // comments + 'PARAM_6' => "", // comments + 'PARAM_7' => 0); // IV or CN break; case systypes::po() : $action = "$path_to_root/reporting/rep209.php"; @@ -47,7 +49,7 @@ function print_hidden_script($type_no) 'PARAM_0' => 0, // from - these values are updated in print_document_link() 'PARAM_1' => 0, // to 'PARAM_2' => "", // currency - 'PARAM_3' => "", // bank account + 'PARAM_3' => get_first_bank_account(), // bank account 'PARAM_4' => 0, // email 'PARAM_5' => ""); // comments break; @@ -60,8 +62,10 @@ function print_hidden_script($type_no) $st .= "\n"; $st .= "