projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into unstable
[fa-stable.git]
/
reporting
/
includes
/
reporting.inc
diff --git
a/reporting/includes/reporting.inc
b/reporting/includes/reporting.inc
index 68c443ea45ba24b9cfe88d7fec3abf5842030aa7..0267687d115a6d1efd81c24ea488655f02969ac1 100644
(file)
--- a/
reporting/includes/reporting.inc
+++ b/
reporting/includes/reporting.inc
@@
-92,8
+92,9
@@
function print_document_link($doc_no, $link_text, $link=true, $type_no,
'PARAM_0' => $doc_no,
'PARAM_1' => $doc_no,
'PARAM_2' => '',
'PARAM_0' => $doc_no,
'PARAM_1' => $doc_no,
'PARAM_2' => '',
- 'PARAM_3' => '',
- 'PARAM_4' => $def_orientation);
+ 'PARAM_3' => $email,
+ 'PARAM_4' => '',
+ 'PARAM_5' => $def_orientation);
break;
case ST_SUPPAYMENT :
$rep = 210;
break;
case ST_SUPPAYMENT :
$rep = 210;
@@
-116,9
+117,18
@@
function print_document_link($doc_no, $link_text, $link=true, $type_no,
'PARAM_3' => '',
'PARAM_4' => $def_orientation);
break;
'PARAM_3' => '',
'PARAM_4' => $def_orientation);
break;
+ case ST_DIMENSION :
+ $rep = 501;
+ // from, to, email, comments, orientation
+ $ar = array(
+ 'PARAM_0' => $doc_no,
+ 'PARAM_1' => $doc_no,
+ 'PARAM_2' => 1,
+ 'PARAM_3' => '',
+ 'PARAM_4' => $def_orientation);
+ break;
default:
return null;
default:
return null;
-// default: $ar = array();
}
return print_link($link_text, $rep, $ar, "", $icon, $class, $id);
}
return print_link($link_text, $rep, $ar, "", $icon, $class, $id);