|
@@ 300-302 (lines=3) @@
|
| 297 |
|
$repeatOrderID = intval($this->request->param('ID')); |
| 298 |
|
$orderID = 0; |
| 299 |
|
if ($action == 'createorder' || isset($_REQUEST['action_doCreate'])) { |
| 300 |
|
if (isset($_REQUEST['action_doCreate']) && isset($_REQUEST['repeatOrderID'])) { |
| 301 |
|
$repeatOrderID = intval($_REQUEST['repeatOrderID']); |
| 302 |
|
} |
| 303 |
|
if ($action == 'createorder') { |
| 304 |
|
$orderID = $repeatOrderID; |
| 305 |
|
$repeatOrderID = 0; |
|
@@ 314-316 (lines=3) @@
|
| 311 |
|
$orderID |
| 312 |
|
); |
| 313 |
|
} elseif ($action == 'update' || isset($_REQUEST['action_doSave'])) { |
| 314 |
|
if (isset($_REQUEST['action_doSave']) && isset($_REQUEST['RepeatOrderID'])) { |
| 315 |
|
$repeatOrderID = intval($_REQUEST['RepeatOrderID']); |
| 316 |
|
} |
| 317 |
|
return RepeatOrderForm::create( |
| 318 |
|
$this, |
| 319 |
|
'RepeatOrderForm', |