";
}
/** Function to get the StdfilterHTML strings for the given primary module
* @ param $module : Type String
* @ param $selected : Type String(optional)
* This Generates the HTML Combo strings for the standard filter for the given reports module
* This Returns a HTML sring
*/
function getPrimaryStdFilterHTML($module,$selected="")
{
global $app_list_strings;
global $ogReport;
global $current_language;
$ogReport->oCustomView=new CustomView();
$result = $ogReport->oCustomView->getStdCriteriaByModule($module);
$mod_strings = return_module_language($current_language,$module);
if(isset($result))
{
foreach($result as $key=>$value)
{
if(isset($mod_strings[$value]))
{
if($key == $selected)
{
$shtml .= "";
}else
{
$shtml .= "";
}
}else
{
if($key == $selected)
{
$shtml .= "";
}else
{
$shtml .= "";
}
}
}
}
return $shtml;
}
/** Function to get the StdfilterHTML strings for the given secondary module
* @ param $module : Type String
* @ param $selected : Type String(optional)
* This Generates the HTML Combo strings for the standard filter for the given reports module
* This Returns a HTML sring
*/
function getSecondaryStdFilterHTML($module,$selected="")
{
global $app_list_strings;
global $ogReport;
global $current_language;
$ogReport->oCustomView=new CustomView();
if($module != "")
{
$secmodule = explode(":",$module);
for($i=0;$i < count($secmodule) ;$i++)
{
$result = $ogReport->oCustomView->getStdCriteriaByModule($secmodule[$i]);
$mod_strings = return_module_language($current_language,$secmodule[$i]);
if(isset($result))
{
foreach($result as $key=>$value)
{
if(isset($mod_strings[$value]))
{
if($key == $selected)
{
$shtml .= "";
}else
{
$shtml .= "";
}
}else
{
if($key == $selected)
{
$shtml .= "";
}else
{
$shtml .= "";
}
}
}
}
}
}
return $shtml;
}
function getPrimaryColumns_AdvFilter_HTML($module, $ogReport, $selected='') {
global $app_list_strings, $current_language;
$mod_strings = return_module_language($current_language,$module);
$block_listed = array();
foreach($ogReport->module_list[$module] as $key=>$value)
{
if(isset($ogReport->pri_module_columnslist[$module][$value]) && !$block_listed[$value])
{
$block_listed[$value] = true;
$shtml .= "