$url = $path_to_root.'/reporting/prn_redirect.php?';
$def_orientation = (isset($def_print_orientation) && $def_print_orientation == 1 ? 1 : 0);
+
switch ($type_no)
{
case ST_SALESQUOTE :
break;
case ST_CUSTPAYMENT :
$rep = 112;
- // from, to, currency, email, comments, orientation
+ // from, to, currency, comments, orientation
$ar = array(
'PARAM_0' => $doc_no,
'PARAM_1' => $doc_no,
'PARAM_2' => '',
- 'PARAM_3' => '',
+ 'PARAM_3' => '',
'PARAM_4' => $def_orientation);
break;
case ST_SUPPAYMENT :