@@ 45-64 (lines=20) @@ | ||
42 | { |
|
43 | } |
|
44 | ||
45 | public function index(Application $app, Request $request) |
|
46 | { |
|
47 | $Deliveries = $app['eccube.repository.delivery'] |
|
48 | ->findBy( |
|
49 | array('del_flg' => 0), |
|
50 | array('rank' => 'DESC') |
|
51 | ); |
|
52 | ||
53 | $event = new EventArgs( |
|
54 | array( |
|
55 | 'Deliveries' => $Deliveries, |
|
56 | ), |
|
57 | $request |
|
58 | ); |
|
59 | $app['eccube.event.dispatcher']->dispatch(EccubeEvents::ADMIN_SETTING_SHOP_DELIVERY_INDEX_COMPLETE, $event); |
|
60 | ||
61 | return $app->render('Setting/Shop/delivery.twig', array( |
|
62 | 'Deliveries' => $Deliveries, |
|
63 | )); |
|
64 | } |
|
65 | ||
66 | public function edit(Application $app, Request $request, $id = 0) |
|
67 | { |
@@ 39-58 (lines=20) @@ | ||
36 | ||
37 | class PaymentController extends AbstractController |
|
38 | { |
|
39 | public function index(Application $app, Request $request) |
|
40 | { |
|
41 | $Payments = $app['eccube.repository.payment'] |
|
42 | ->findBy( |
|
43 | array('del_flg' => 0), |
|
44 | array('rank' => 'DESC') |
|
45 | ); |
|
46 | ||
47 | $event = new EventArgs( |
|
48 | array( |
|
49 | 'Payments' => $Payments, |
|
50 | ), |
|
51 | $request |
|
52 | ); |
|
53 | $app['eccube.event.dispatcher']->dispatch(EccubeEvents::ADMIN_SETTING_SHOP_PAYMENT_INDEX_COMPLETE, $event); |
|
54 | ||
55 | return $app->render('Setting/Shop/payment.twig', array( |
|
56 | 'Payments' => $Payments, |
|
57 | )); |
|
58 | } |
|
59 | ||
60 | public function edit(Application $app, Request $request, $id = null) |
|
61 | { |