@@ -146,6 +146,9 @@ discard block |
||
| 146 | 146 | return $table; |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | + /** |
|
| 150 | + * @return SQLQuery |
|
| 151 | + */ |
|
| 149 | 152 | public function getCustomQuery() |
| 150 | 153 | { |
| 151 | 154 | if ("SalesReport" == $this->class) { |
@@ -166,6 +169,9 @@ discard block |
||
| 166 | 169 | } |
| 167 | 170 | } |
| 168 | 171 | |
| 172 | + /** |
|
| 173 | + * @return SQLQuery |
|
| 174 | + */ |
|
| 169 | 175 | public function getExportQuery() |
| 170 | 176 | { |
| 171 | 177 | if ("SalesReport" == $this->class) { |
@@ -177,6 +183,9 @@ discard block |
||
| 177 | 183 | } |
| 178 | 184 | } |
| 179 | 185 | |
| 186 | + /** |
|
| 187 | + * @param string $type |
|
| 188 | + */ |
|
| 180 | 189 | protected function statistic($type) |
| 181 | 190 | { |
| 182 | 191 | if (!count(self::$sales_array)) { |
@@ -177,6 +177,9 @@ |
||
| 177 | 177 | ); |
| 178 | 178 | } |
| 179 | 179 | |
| 180 | + /** |
|
| 181 | + * @return SQLQuery |
|
| 182 | + */ |
|
| 180 | 183 | public function getExportQuery() |
| 181 | 184 | { |
| 182 | 185 | $bt = defined('DB::USE_ANSI_SQL') ? "\"" : "`"; |
@@ -18,6 +18,9 @@ discard block |
||
| 18 | 18 | return $fields; |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @return SQLQuery |
|
| 23 | + */ |
|
| 21 | 24 | public function getCustomQuery() |
| 22 | 25 | { |
| 23 | 26 | $bt = defined('DB::USE_ANSI_SQL') ? "\"" : "`"; |
@@ -112,6 +115,9 @@ discard block |
||
| 112 | 115 | return $fields; |
| 113 | 116 | } |
| 114 | 117 | |
| 118 | + /** |
|
| 119 | + * @return SQLQuery |
|
| 120 | + */ |
|
| 115 | 121 | public function getExportQuery() |
| 116 | 122 | { |
| 117 | 123 | if ("SalesReport" == $this->class) { |
@@ -146,6 +146,9 @@ discard block |
||
| 146 | 146 | return $table; |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | + /** |
|
| 150 | + * @return SQLQuery |
|
| 151 | + */ |
|
| 149 | 152 | public function getCustomQuery() |
| 150 | 153 | { |
| 151 | 154 | if ("SalesReport" == $this->class) { |
@@ -166,6 +169,9 @@ discard block |
||
| 166 | 169 | } |
| 167 | 170 | } |
| 168 | 171 | |
| 172 | + /** |
|
| 173 | + * @return SQLQuery |
|
| 174 | + */ |
|
| 169 | 175 | public function getExportQuery() |
| 170 | 176 | { |
| 171 | 177 | if ("SalesReport" == $this->class) { |
@@ -177,6 +183,9 @@ discard block |
||
| 177 | 183 | } |
| 178 | 184 | } |
| 179 | 185 | |
| 186 | + /** |
|
| 187 | + * @param string $type |
|
| 188 | + */ |
|
| 180 | 189 | protected function statistic($type) |
| 181 | 190 | { |
| 182 | 191 | if (!count(self::$sales_array)) { |
@@ -177,6 +177,9 @@ |
||
| 177 | 177 | ); |
| 178 | 178 | } |
| 179 | 179 | |
| 180 | + /** |
|
| 181 | + * @return SQLQuery |
|
| 182 | + */ |
|
| 180 | 183 | public function getExportQuery() |
| 181 | 184 | { |
| 182 | 185 | $bt = defined('DB::USE_ANSI_SQL') ? "\"" : "`"; |