@@ 263-265 (lines=3) @@ | ||
260 | $repeatOrderID = intval($this->request->param('ID')); |
|
261 | $orderID = 0; |
|
262 | if ($action == 'createorder' || isset($_REQUEST['action_doCreate'])) { |
|
263 | if (isset($_REQUEST['action_doCreate']) && isset($_REQUEST['repeatOrderID'])) { |
|
264 | $repeatOrderID = intval($_REQUEST['repeatOrderID']); |
|
265 | } |
|
266 | if ($action == 'createorder') { |
|
267 | $orderID = $repeatOrderID; |
|
268 | $repeatOrderID = 0; |
|
@@ 277-279 (lines=3) @@ | ||
274 | $orderID |
|
275 | ); |
|
276 | } elseif ($action == 'update' || isset($_REQUEST['action_doSave'])) { |
|
277 | if (isset($_REQUEST['action_doSave']) && isset($_REQUEST['RepeatOrderID'])) { |
|
278 | $repeatOrderID = intval($_REQUEST['RepeatOrderID']); |
|
279 | } |
|
280 | return RepeatOrderForm::create( |
|
281 | $this, |
|
282 | 'RepeatOrderForm', |