@@ -27,9 +27,9 @@ |
||
| 27 | 27 | use Eccube\Repository\OrderRepository; |
| 28 | 28 | use Eccube\Repository\TaxRuleRepository; |
| 29 | 29 | use Eccube\Service\CartService; |
| 30 | +use Eccube\Service\OrderHelper; |
|
| 30 | 31 | use Eccube\Service\PurchaseFlow\PurchaseContext; |
| 31 | 32 | use Eccube\Service\PurchaseFlow\PurchaseFlow; |
| 32 | -use Eccube\Service\OrderHelper; |
|
| 33 | 33 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 34 | 34 | use Symfony\Component\Form\Extension\Core\Type\CollectionType; |
| 35 | 35 | use Symfony\Component\HttpFoundation\Request; |
@@ -13,19 +13,19 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Eccube\Service\PurchaseFlow\Processor; |
| 15 | 15 | |
| 16 | -use Eccube\Repository\TaxRuleRepository; |
|
| 17 | -use Eccube\Service\PurchaseFlow\ItemHolderPreprocessor; |
|
| 18 | 16 | use Eccube\Entity\ItemHolderInterface; |
| 19 | -use Eccube\Service\PurchaseFlow\PurchaseContext; |
|
| 20 | -use Eccube\Entity\OrderItem; |
|
| 21 | -use Eccube\Repository\Master\OrderItemTypeRepository; |
|
| 22 | -use Eccube\Repository\Master\TaxDisplayTypeRepository; |
|
| 23 | 17 | use Eccube\Entity\Master\OrderItemType; |
| 24 | 18 | use Eccube\Entity\Master\TaxDisplayType; |
| 19 | +use Eccube\Entity\Master\TaxType; |
|
| 25 | 20 | use Eccube\Entity\Order; |
| 21 | +use Eccube\Entity\OrderItem; |
|
| 26 | 22 | use Eccube\Entity\Payment; |
| 23 | +use Eccube\Repository\Master\OrderItemTypeRepository; |
|
| 24 | +use Eccube\Repository\Master\TaxDisplayTypeRepository; |
|
| 27 | 25 | use Eccube\Repository\Master\TaxTypeRepository; |
| 28 | -use Eccube\Entity\Master\TaxType; |
|
| 26 | +use Eccube\Repository\TaxRuleRepository; |
|
| 27 | +use Eccube\Service\PurchaseFlow\ItemHolderPreprocessor; |
|
| 28 | +use Eccube\Service\PurchaseFlow\PurchaseContext; |
|
| 29 | 29 | |
| 30 | 30 | class PaymentChargePreprocessor implements ItemHolderPreprocessor |
| 31 | 31 | { |
@@ -36,8 +36,8 @@ |
||
| 36 | 36 | use Symfony\Component\Form\FormEvents; |
| 37 | 37 | use Symfony\Component\Form\FormInterface; |
| 38 | 38 | use Symfony\Component\OptionsResolver\OptionsResolver; |
| 39 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 40 | 39 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
| 40 | +use Symfony\Component\Validator\Constraints as Assert; |
|
| 41 | 41 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
| 42 | 42 | |
| 43 | 43 | class OrderItemType extends AbstractType |