Example #1
0
 function GetPopupFilter()
 {
     $sWrk = "";
     if ($this->DrillDown) {
         return "";
     }
     if (is_array($this->invid->SelectionList)) {
         $sFilter = ewr_FilterSQL($this->invid, "[invid]", EWR_DATATYPE_NUMBER);
         // Call Page Filtering event
         $this->Page_Filtering($this->invid, $sFilter, "popup");
         $this->invid->CurrentFilter = $sFilter;
         ewr_AddFilter($sWrk, $sFilter);
     }
     return $sWrk;
 }
Example #2
0
 function GetPopupFilter()
 {
     $sWrk = "";
     if ($this->DrillDown) {
         return "";
     }
     if (!$this->ExtendedFilterExist($this->timeta)) {
         if (is_array($this->timeta->SelectionList)) {
             $sFilter = ewr_FilterSQL($this->timeta, "messages.timeta", EWR_DATATYPE_DATE);
             // Call Page Filtering event
             $this->Page_Filtering($this->timeta, $sFilter, "popup");
             $this->timeta->CurrentFilter = $sFilter;
             ewr_AddFilter($sWrk, $sFilter);
         }
     }
     return $sWrk;
 }