Topic: Quote vs Sales Order text on documents
I noticed an option in the sales order report rep109.php to $print_as_quote.
When this is set to 1, the sales order document is meant to say 'QUOTE' or whatever you've got in your language, instead of 'SALES ORDER'.
Very useful, however there's a line of code that says
$print_as_quote = 0;
but when I changed it to 1, it did nothing.
Then I found out it doesn't work because the code picks up the option from
reporting/includes/reporting.inc
as PARAM_5.
I set that to '1' and the report now correctly says 'QUOTE'.
Question: is the $print_as_quote redundant in rep109.php? Maybe it's there as a declaration, not sure, but it would seem that PARAM_5 is the place to change it in
reporting.inc.