@@ -14,8 +14,8 @@ |
||
14 | 14 | namespace Eccube\Controller\Admin\Order; |
15 | 15 | |
16 | 16 | use Eccube\Controller\Admin\AbstractCsvImportController; |
17 | -use Eccube\Entity\Shipping; |
|
18 | 17 | use Eccube\Entity\Master\OrderStatus; |
18 | +use Eccube\Entity\Shipping; |
|
19 | 19 | use Eccube\Form\Type\Admin\CsvImportType; |
20 | 20 | use Eccube\Repository\ShippingRepository; |
21 | 21 | use Eccube\Service\CsvImportService; |
@@ -36,22 +36,20 @@ |
||
36 | 36 | use Eccube\Repository\OrderRepository; |
37 | 37 | use Eccube\Repository\PaymentRepository; |
38 | 38 | use Eccube\Service\CsvExportService; |
39 | -use Eccube\Service\PurchaseFlow\PurchaseContext; |
|
40 | -use Eccube\Service\PurchaseFlow\PurchaseException; |
|
41 | -use Eccube\Service\PurchaseFlow\PurchaseFlow; |
|
42 | 39 | use Eccube\Service\MailService; |
43 | 40 | use Eccube\Service\OrderPdfService; |
44 | 41 | use Eccube\Service\OrderStateMachine; |
42 | +use Eccube\Service\PurchaseFlow\PurchaseFlow; |
|
45 | 43 | use Eccube\Util\FormUtil; |
46 | 44 | use Knp\Component\Pager\PaginatorInterface; |
47 | 45 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
48 | 46 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
49 | 47 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
50 | 48 | use Symfony\Component\Form\FormBuilder; |
51 | -use Symfony\Component\HttpFoundation\Response; |
|
49 | +use Symfony\Component\HttpFoundation\RedirectResponse; |
|
52 | 50 | use Symfony\Component\HttpFoundation\Request; |
51 | +use Symfony\Component\HttpFoundation\Response; |
|
53 | 52 | use Symfony\Component\HttpFoundation\StreamedResponse; |
54 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
55 | 53 | use Symfony\Component\Validator\Constraints as Assert; |
56 | 54 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
57 | 55 |
@@ -24,6 +24,7 @@ discard block |
||
24 | 24 | use Eccube\Repository\DeliveryRepository; |
25 | 25 | use Eccube\Repository\OrderItemRepository; |
26 | 26 | use Eccube\Repository\ShippingRepository; |
27 | +use Eccube\Service\MailService; |
|
27 | 28 | use Eccube\Service\OrderStateMachine; |
28 | 29 | use Eccube\Service\TaxRuleService; |
29 | 30 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
@@ -37,7 +38,6 @@ discard block |
||
37 | 38 | use Symfony\Component\HttpFoundation\Request; |
38 | 39 | use Symfony\Component\HttpFoundation\Response; |
39 | 40 | use Symfony\Component\Serializer\SerializerInterface; |
40 | -use Eccube\Service\MailService; |
|
41 | 41 | |
42 | 42 | class ShippingController extends AbstractController |
43 | 43 | { |
@@ -13,6 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | namespace Eccube\Controller; |
15 | 15 | |
16 | +use Eccube\Entity\BaseInfo; |
|
16 | 17 | use Eccube\Entity\Cart; |
17 | 18 | use Eccube\Entity\ProductClass; |
18 | 19 | use Eccube\Event\EccubeEvents; |
@@ -26,7 +27,6 @@ discard block |
||
26 | 27 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
27 | 28 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
28 | 29 | use Symfony\Component\HttpFoundation\Request; |
29 | -use Eccube\Entity\BaseInfo; |
|
30 | 30 | |
31 | 31 | class CartController extends AbstractController |
32 | 32 | { |
@@ -21,10 +21,10 @@ |
||
21 | 21 | use Eccube\Service\PurchaseFlow\PurchaseFlow; |
22 | 22 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
23 | 23 | use Symfony\Component\HttpFoundation\RequestStack; |
24 | +use Symfony\Component\Security\Core\AuthenticationEvents; |
|
24 | 25 | use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent; |
25 | 26 | use Symfony\Component\Security\Http\Event\InteractiveLoginEvent; |
26 | 27 | use Symfony\Component\Security\Http\SecurityEvents; |
27 | -use Symfony\Component\Security\Core\AuthenticationEvents; |
|
28 | 28 | |
29 | 29 | class SecurityListener implements EventSubscriberInterface |
30 | 30 | { |
@@ -34,8 +34,8 @@ |
||
34 | 34 | use Symfony\Component\Form\Extension\Core\Type\EmailType; |
35 | 35 | use Symfony\Component\Form\Extension\Core\Type\HiddenType; |
36 | 36 | use Symfony\Component\Form\Extension\Core\Type\NumberType; |
37 | -use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
38 | 37 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
38 | +use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
39 | 39 | use Symfony\Component\Form\FormBuilderInterface; |
40 | 40 | use Symfony\Component\Form\FormError; |
41 | 41 | use Symfony\Component\Form\FormEvent; |
@@ -30,13 +30,13 @@ |
||
30 | 30 | use Eccube\Entity\Shipping; |
31 | 31 | use Eccube\Repository\DeliveryFeeRepository; |
32 | 32 | use Eccube\Repository\DeliveryRepository; |
33 | +use Eccube\Repository\Master\DeviceTypeRepository; |
|
33 | 34 | use Eccube\Repository\Master\OrderItemTypeRepository; |
34 | 35 | use Eccube\Repository\Master\OrderStatusRepository; |
35 | 36 | use Eccube\Repository\OrderRepository; |
36 | 37 | use Eccube\Repository\PaymentRepository; |
37 | 38 | use Eccube\Repository\TaxRuleRepository; |
38 | 39 | use Eccube\Util\StringUtil; |
39 | -use Eccube\Repository\Master\DeviceTypeRepository; |
|
40 | 40 | |
41 | 41 | /** |
42 | 42 | * OrderやOrderに関連するエンティティを構築するクラス |
@@ -19,8 +19,8 @@ |
||
19 | 19 | use Eccube\Entity\Order; |
20 | 20 | use Eccube\Entity\OrderItem; |
21 | 21 | use Eccube\Repository\BaseInfoRepository; |
22 | -use Eccube\Repository\OrderRepository; |
|
23 | 22 | use Eccube\Repository\OrderPdfRepository; |
23 | +use Eccube\Repository\OrderRepository; |
|
24 | 24 | use Eccube\Twig\Extension\EccubeExtension; |
25 | 25 | use setasign\Fpdi\TcpdfFpdi; |
26 | 26 |
@@ -19,8 +19,8 @@ |
||
19 | 19 | use Eccube\Entity\Master\SaleType; |
20 | 20 | use Eccube\Entity\Payment; |
21 | 21 | use Eccube\Repository\DeliveryRepository; |
22 | -use Eccube\Service\PurchaseFlow\PurchaseContext; |
|
23 | 22 | use Eccube\Service\PurchaseFlow\ItemHolderValidator; |
23 | +use Eccube\Service\PurchaseFlow\PurchaseContext; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * 支払い方法が一致しない明細がないかどうか. |