src/Eccube/Controller/Admin/Order/EditController.php 1 location
|
@@ 558-565 (lines=8) @@
|
| 555 |
|
} |
| 556 |
|
|
| 557 |
|
$forms = array(); |
| 558 |
|
foreach ($Products as $Product) { |
| 559 |
|
/* @var $builder \Symfony\Component\Form\FormBuilderInterface */ |
| 560 |
|
$builder = $app['form.factory']->createNamedBuilder('', AddCartType::class, null, array( |
| 561 |
|
'product' => $Product, |
| 562 |
|
)); |
| 563 |
|
$addCartForm = $builder->getForm(); |
| 564 |
|
$forms[$Product->getId()] = $addCartForm->createView(); |
| 565 |
|
} |
| 566 |
|
|
| 567 |
|
$event = new EventArgs( |
| 568 |
|
array( |
src/Eccube/Controller/Admin/Shipping/EditController.php 1 location
|
@@ 320-325 (lines=6) @@
|
| 317 |
|
} |
| 318 |
|
|
| 319 |
|
$forms = array(); |
| 320 |
|
foreach ($ShipmentItems as $ShipmentItem) { |
| 321 |
|
/* @var $builder \Symfony\Component\Form\FormBuilderInterface */ |
| 322 |
|
$builder = $app['form.factory']->createNamedBuilder('', ShipmentItemType::class, $ShipmentItem); |
| 323 |
|
$addCartForm = $builder->getForm(); |
| 324 |
|
$forms[$ShipmentItem->getId()] = $addCartForm->createView(); |
| 325 |
|
} |
| 326 |
|
|
| 327 |
|
$event = new EventArgs( |
| 328 |
|
array( |