@@ -72,6 +72,9 @@ discard block |
||
| 72 | 72 | return $table; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @return SQLQuery |
|
| 77 | + */ |
|
| 75 | 78 | public function getCustomQuery() |
| 76 | 79 | { |
| 77 | 80 | if ("PaymentsReport" == $this->class) { |
@@ -93,6 +96,9 @@ discard block |
||
| 93 | 96 | } |
| 94 | 97 | } |
| 95 | 98 | |
| 99 | + /** |
|
| 100 | + * @return SQLQuery |
|
| 101 | + */ |
|
| 96 | 102 | public function getExportQuery() |
| 97 | 103 | { |
| 98 | 104 | if ("PaymentsReport" == $this->class) { |
@@ -104,6 +110,9 @@ discard block |
||
| 104 | 110 | } |
| 105 | 111 | } |
| 106 | 112 | |
| 113 | + /** |
|
| 114 | + * @param string $type |
|
| 115 | + */ |
|
| 107 | 116 | protected function statistic($type) |
| 108 | 117 | { |
| 109 | 118 | if (!count(self::$payment_array)) { |
@@ -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)) { |
@@ -206,6 +206,9 @@ |
||
| 206 | 206 | ); |
| 207 | 207 | } |
| 208 | 208 | |
| 209 | + /** |
|
| 210 | + * @return SQLQuery |
|
| 211 | + */ |
|
| 209 | 212 | public function getExportQuery() |
| 210 | 213 | { |
| 211 | 214 | $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) { |
@@ -206,6 +206,9 @@ |
||
| 206 | 206 | ); |
| 207 | 207 | } |
| 208 | 208 | |
| 209 | + /** |
|
| 210 | + * @return SQLQuery |
|
| 211 | + */ |
|
| 209 | 212 | public function getExportQuery() |
| 210 | 213 | { |
| 211 | 214 | $bt = defined('DB::USE_ANSI_SQL') ? "\"" : "`"; |