@@ 285-287 (lines=3) @@ | ||
282 | $repeatOrderID = intval($this->request->param('ID')); |
|
283 | $orderID = 0; |
|
284 | if ($action == 'createorder' || isset($_REQUEST['action_doCreate'])) { |
|
285 | if (isset($_REQUEST['action_doCreate']) && isset($_REQUEST['repeatOrderID'])) { |
|
286 | $repeatOrderID = intval($_REQUEST['repeatOrderID']); |
|
287 | } |
|
288 | if ($action == 'createorder') { |
|
289 | $orderID = $repeatOrderID; |
|
290 | $repeatOrderID = 0; |
|
@@ 299-301 (lines=3) @@ | ||
296 | $orderID |
|
297 | ); |
|
298 | } elseif ($action == 'update' || isset($_REQUEST['action_doSave'])) { |
|
299 | if (isset($_REQUEST['action_doSave']) && isset($_REQUEST['RepeatOrderID'])) { |
|
300 | $repeatOrderID = intval($_REQUEST['RepeatOrderID']); |
|
301 | } |
|
302 | return RepeatOrderForm::create( |
|
303 | $this, |
|
304 | 'RepeatOrderForm', |