|
@@ 219-221 (lines=3) @@
|
| 216 |
|
$repeatOrderID = intval($this->request->param('ID')); |
| 217 |
|
$orderID = 0; |
| 218 |
|
if ($action == 'createorder' || isset($_REQUEST['action_doCreate'])) { |
| 219 |
|
if (isset($_REQUEST['action_doCreate']) && isset($_REQUEST['repeatOrderID'])) { |
| 220 |
|
$repeatOrderID = intval($_REQUEST['repeatOrderID']); |
| 221 |
|
} |
| 222 |
|
if ($action == 'createorder') { |
| 223 |
|
$orderID = $repeatOrderID; |
| 224 |
|
$repeatOrderID = 0; |
|
@@ 233-235 (lines=3) @@
|
| 230 |
|
$orderID |
| 231 |
|
); |
| 232 |
|
} elseif ($action == 'update' || isset($_REQUEST['action_doSave'])) { |
| 233 |
|
if (isset($_REQUEST['action_doSave']) && isset($_REQUEST['RepeatOrderID'])) { |
| 234 |
|
$repeatOrderID = intval($_REQUEST['RepeatOrderID']); |
| 235 |
|
} |
| 236 |
|
return RepeatOrderForm::create( |
| 237 |
|
$this, |
| 238 |
|
'RepeatOrderForm', |