@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | private $divider = 3; |
29 | 29 | |
30 | 30 | /** |
31 | - *@return SQLQuery |
|
31 | + *@return DataQuery |
|
32 | 32 | **/ |
33 | 33 | public function apply(DataQuery $query) |
34 | 34 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | class OrderFilters_MemberAndAddress extends ExactMatchFilter |
74 | 74 | { |
75 | 75 | /** |
76 | - *@return SQLQuery |
|
76 | + *@return DataQuery |
|
77 | 77 | **/ |
78 | 78 | public function apply(DataQuery $query) |
79 | 79 | { |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | class OrderFilters_MultiOptionsetStatusIDFilter extends ExactMatchFilter |
147 | 147 | { |
148 | 148 | /** |
149 | - *@return SQLQuery |
|
149 | + *@return DataQuery |
|
150 | 150 | **/ |
151 | 151 | public function apply(DataQuery $query) |
152 | 152 | { |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | class OrderFilters_HasBeenCancelled extends ExactMatchFilter |
182 | 182 | { |
183 | 183 | /** |
184 | - *@return SQLQuery |
|
184 | + *@return DataQuery |
|
185 | 185 | **/ |
186 | 186 | public function apply(DataQuery $query) |
187 | 187 | { |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | class OrderFilters_MustHaveAtLeastOnePayment extends ExactMatchFilter |
217 | 217 | { |
218 | 218 | /** |
219 | - *@return SQLQuery |
|
219 | + *@return DataQuery |
|
220 | 220 | **/ |
221 | 221 | public function apply(DataQuery $query) |
222 | 222 | { |
@@ -90,6 +90,11 @@ |
||
90 | 90 | } |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param DataObject|null $lastOrderStep |
|
95 | + * @param string $orderStatusLogClassName |
|
96 | + * @param integer $offset |
|
97 | + */ |
|
93 | 98 | public function getOrdersForCreateSubmissionLogForArchivedOrders($lastOrderStep, $orderStatusLogClassName, $offset) |
94 | 99 | { |
95 | 100 | return Order::get() |
@@ -19,6 +19,9 @@ |
||
19 | 19 | |
20 | 20 | protected $deleteFirst = true; |
21 | 21 | |
22 | + /** |
|
23 | + * @param boolean $b |
|
24 | + */ |
|
22 | 25 | public function setDeleteFirst($b) |
23 | 26 | { |
24 | 27 | $this->deleteFirst = $b; |
@@ -196,8 +196,10 @@ |
||
196 | 196 | * |
197 | 197 | * @param string - $field - name of the field to be tested |
198 | 198 | * @param string - $table - name of the table to be tested |
199 | + * @param string $table |
|
200 | + * @param string $field |
|
199 | 201 | * |
200 | - * @return bool |
|
202 | + * @return boolean|null |
|
201 | 203 | */ |
202 | 204 | protected function makeFieldObsolete($table, $field, $format = '') |
203 | 205 | { |
@@ -69,6 +69,9 @@ |
||
69 | 69 | } |
70 | 70 | } |
71 | 71 | |
72 | + /** |
|
73 | + * @param DataList $orderItems |
|
74 | + */ |
|
72 | 75 | public function generateExportFileData($email, $date, $orderItems) |
73 | 76 | { |
74 | 77 | $separator = ','; |
@@ -92,6 +92,10 @@ |
||
92 | 92 | $this->doNotSendEmails = false; |
93 | 93 | } |
94 | 94 | |
95 | + /** |
|
96 | + * @param integer|null $limit |
|
97 | + * @param integer|null $startAt |
|
98 | + */ |
|
95 | 99 | protected function tryToFinaliseOrders($orders, $limit, $startAt) |
96 | 100 | { |
97 | 101 | $orders = $orders->limit($limit, $startAt); |
@@ -18,7 +18,6 @@ discard block |
||
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @param string $targetFragment The HTML fragment to write the button into |
21 | - * @param array $exportColumns The columns to include in the export |
|
22 | 21 | */ |
23 | 22 | public function __construct($targetFragment = "after") |
24 | 23 | { |
@@ -72,6 +71,7 @@ discard block |
||
72 | 71 | |
73 | 72 | /** |
74 | 73 | * Handle the print, for both the action button and the URL |
74 | + * @param GridField $gridField |
|
75 | 75 | */ |
76 | 76 | public function handlePrintAllPackingSlips($gridField, $request = null) |
77 | 77 | { |
@@ -188,7 +188,6 @@ |
||
188 | 188 | /** |
189 | 189 | * saves the form into session. |
190 | 190 | * |
191 | - * @param array $data - data from form. |
|
192 | 191 | */ |
193 | 192 | public function saveDataToSession() |
194 | 193 | { |
@@ -188,7 +188,6 @@ |
||
188 | 188 | /** |
189 | 189 | * saves the form into session. |
190 | 190 | * |
191 | - * @param array $data - data from form. |
|
192 | 191 | */ |
193 | 192 | public function saveDataToSession() |
194 | 193 | { |