Ejemplo n.º 1
0
 function setDefaultValues($freeze = TRUE)
 {
     parent::setDefaultValues($freeze);
     $activityStatus = array_flip($this->activityStatus);
     $this->_defaults["status_id_value"] = array($activityStatus['Scheduled'], $activityStatus['Completed']);
     return $this->_defaults;
 }
 function setDefaultValues($freeze = TRUE)
 {
     $defaults = parent::setDefaultValues($freeze);
     /*
      * BOSW1508247 vnv.nl - exporteren data clubcollect
      * Set default frequency to Year, and
      * receive date to choose, and group to "Facturering via brief door ClubCollect" (id 376)
      */
     $defaults['group_bys_freq']['receive_date'] = 'YEAR';
     $defaults['filters']['receive_date_relative'] = '0';
     $defaults['gid_value'][0] = '376';
     return $defaults;
 }
Ejemplo n.º 3
0
 /**
  * @param bool $freeze
  *
  * @return array
  */
 public function setDefaultValues($freeze = TRUE)
 {
     return parent::setDefaultValues($freeze);
 }
Ejemplo n.º 4
0
 function setDefaultValues()
 {
     return parent::setDefaultValues();
 }
Ejemplo n.º 5
0
 function setDefaultValues($freeze = true)
 {
     return parent::setDefaultValues($freeze);
 }
Ejemplo n.º 6
0
    function setDefaultValues($freeze = TRUE)
    {
        $defaults = parent::setDefaultValues($freeze);
        $defaults['report_header'] = '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
      <style>
        body { font-size: 10px;
             }
        h1   { text-align: center;
               font-size: 14px;
               margin-bottom: 8px;
               padding-bottom: 0;
             }
        h2   { text-align: center;
               font-size: 14px;
               margin-top: 0;
               padding-top: 0;
               padding-bottom: 20px;
               margin-bottom: 20px;
             }
        .body { border-collapse: collapse;
                border-spacing: 0px;
                width: 770px;
                margin: 0;
                padding: 0;
              }
        .head { width: 770px;
              }
        thead th { padding: 0;
                   margin: 0;
                   text-align: left;
               font-size: 10px;
                   whitespace: normal;
                 }
        .head td    { padding-left: 5px;
                margin: 0 0 20px 0;
                border: 0;
            font-size: 14px;
                whitespace: normal;
              }
        .body td    { padding-left: 5px;
                margin: 0;
                border: 1px solid black;
            font-size: 10px;
                whitespace: normal;
              }
        p     { padding: 0;
                margin: 0;
              }
        .page { page-break-before: always;
              }
        @page { size: landscape;
              }
      </style>
      <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8"/>
    </head>
    <body>
';
        return $defaults;
    }