Esempio n. 1
0
function patch_reporting_header($group_id)
{
    reports_header($group_id, array('aging', 'tech', 'category'), array('Aging Report', 'Patches by Technician', 'Patches by Category'));
}
Esempio n. 2
0
function pm_reporting_header($group_id)
{
    reports_header($group_id, array('aging', 'tech', 'subproject'), array('Aging Report', 'Tasks by Technician', 'Tasks by Subproject'));
}
Esempio n. 3
0
    $x->DefaultSortField = '';
}
// hook: reports_init
$render = TRUE;
if (function_exists('reports_init')) {
    $args = array();
    $render = reports_init($x, getMemberInfo(), $args);
}
if ($render) {
    $x->Render();
}
// hook: reports_header
$headerCode = '';
if (function_exists('reports_header')) {
    $args = array();
    $headerCode = reports_header($x->ContentType, getMemberInfo(), $args);
}
if (!$headerCode) {
    include_once "{$currDir}/header.php";
} else {
    ob_start();
    include_once "{$currDir}/header.php";
    $dHeader = ob_get_contents();
    ob_end_clean();
    echo str_replace('<%%HEADER%%>', $dHeader, $headerCode);
}
echo $x->HTML;
// hook: reports_footer
$footerCode = '';
if (function_exists('reports_footer')) {
    $args = array();
Esempio n. 4
0
function feature_reporting_header($group_id)
{
    reports_header($group_id, array('aging', 'tech', 'category'), array('Aging Report', 'Feature Requests by Technician', 'Feature Requests by Category'));
}
Esempio n. 5
0
function bug_reporting_header($group_id)
{
    reports_header($group_id, array('aging', 'tech', 'category', 'bug_group', 'resolution'), array('Aging Report', 'Bugs by Technician', 'Bugs by Category', 'Bugs by Bug Group', 'Bugs by Resolution'));
}
Esempio n. 6
0
function pm_reporting_header($group_id)
{
    reports_header($group_id, array('aging', 'tech', 'subproject'), array(_('Aging Report'), _('Report by Assignee'), _('Report by Subproject')));
}