|
|
@@ -15,7 +15,36 @@ use EasyCorp\Bundle\EasyAdminBundle\Exception\ForbiddenActionException; |
|
|
|
use EasyCorp\Bundle\EasyAdminBundle\Exception\InsufficientEntityPermissionException; |
|
|
|
use EasyCorp\Bundle\EasyAdminBundle\Router\AdminUrlGenerator; |
|
|
|
use EasyCorp\Bundle\EasyAdminBundle\Security\Permission; |
|
|
|
use Lc\CaracoleBundle\Container\Address\AddressContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Config\TaxRateContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Config\UnitContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Credit\CreditHistoryContainer; |
|
|
|
use Lc\CaracoleBundle\Container\File\DocumentContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Merchant\MerchantContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderPaymentContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderProductContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderProductReductionCatalogContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderProductRefundContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderReductionCartContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderReductionCreditContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderRefundContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderShopContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderStatusContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Order\OrderStatusHistoryContainer; |
|
|
|
use Lc\CaracoleBundle\Container\PointSale\PointSaleContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Product\ProductCategoryContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Product\ProductContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Product\ProductFamilyContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Reduction\ReductionCartContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Reduction\ReductionCatalogContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Reduction\ReductionCreditContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Section\OpeningContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Section\SectionContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Setting\MerchantSettingContainer; |
|
|
|
use Lc\CaracoleBundle\Container\Setting\SectionSettingContainer; |
|
|
|
use Lc\CaracoleBundle\Container\User\UserMerchantContainer; |
|
|
|
use Lc\CaracoleBundle\Container\User\UserPointSaleContainer; |
|
|
|
use Lc\CaracoleBundle\Container\User\VisitorContainer; |
|
|
|
use Lc\CaracoleBundle\Doctrine\Extension\FilterMerchantInterface; |
|
|
|
use Lc\CaracoleBundle\Doctrine\Extension\FilterMultipleMerchantsInterface; |
|
|
|
use Lc\CaracoleBundle\Doctrine\Extension\FilterSectionInterface; |
|
|
@@ -28,6 +57,17 @@ use Lc\CaracoleBundle\Resolver\SectionResolver; |
|
|
|
use EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto; |
|
|
|
use EasyCorp\Bundle\EasyAdminBundle\Dto\SearchDto; |
|
|
|
use Lc\SovBundle\Component\EntityComponent; |
|
|
|
use Lc\SovBundle\Container\File\FileContainer; |
|
|
|
use Lc\SovBundle\Container\Newsletter\NewsletterContainer; |
|
|
|
use Lc\SovBundle\Container\Reminder\ReminderContainer; |
|
|
|
use Lc\SovBundle\Container\Setting\SiteSettingContainer; |
|
|
|
use Lc\SovBundle\Container\Site\NewsContainer; |
|
|
|
use Lc\SovBundle\Container\Site\PageContainer; |
|
|
|
use Lc\SovBundle\Container\Site\SiteContainer; |
|
|
|
use Lc\SovBundle\Container\Ticket\TicketContainer; |
|
|
|
use Lc\SovBundle\Container\Ticket\TicketMessageContainer; |
|
|
|
use Lc\SovBundle\Container\User\GroupUserContainer; |
|
|
|
use Lc\SovBundle\Container\User\UserContainer; |
|
|
|
use Lc\SovBundle\Factory\User\UserFactory; |
|
|
|
use Lc\SovBundle\Translation\TranslatorAdmin; |
|
|
|
use Symfony\Component\HttpFoundation\Response; |
|
|
@@ -47,8 +87,37 @@ trait AdminControllerTrait |
|
|
|
'user_merchant_factory' => UserMerchantFactory::class, |
|
|
|
MerchantResolver::class => MerchantResolver::class, |
|
|
|
SectionResolver::class => SectionResolver::class, |
|
|
|
ReductionCatalogStore::class => ReductionCatalogStore::class, |
|
|
|
OrderShopContainer::class => OrderShopContainer::class |
|
|
|
|
|
|
|
AddressContainer::class => AddressContainer::class, |
|
|
|
TaxRateContainer::class => TaxRateContainer::class, |
|
|
|
UnitContainer::class => UnitContainer::class, |
|
|
|
CreditHistoryContainer::class => CreditHistoryContainer::class, |
|
|
|
DocumentContainer::class => DocumentContainer::class, |
|
|
|
MerchantContainer::class => MerchantContainer::class, |
|
|
|
OrderPaymentContainer::class => OrderPaymentContainer::class, |
|
|
|
OrderProductContainer::class => OrderProductContainer::class, |
|
|
|
OrderProductReductionCatalogContainer::class => OrderProductReductionCatalogContainer::class, |
|
|
|
OrderProductRefundContainer::class => OrderProductRefundContainer::class, |
|
|
|
OrderReductionCartContainer::class => OrderReductionCartContainer::class, |
|
|
|
OrderReductionCreditContainer::class => OrderReductionCreditContainer::class, |
|
|
|
OrderRefundContainer::class => OrderRefundContainer::class, |
|
|
|
OrderShopContainer::class => OrderShopContainer::class, |
|
|
|
OrderStatusContainer::class => OrderStatusContainer::class, |
|
|
|
OrderStatusHistoryContainer::class => OrderStatusHistoryContainer::class, |
|
|
|
PointSaleContainer::class => PointSaleContainer::class, |
|
|
|
ProductCategoryContainer::class => ProductCategoryContainer::class, |
|
|
|
ProductContainer::class => ProductContainer::class, |
|
|
|
ProductFamilyContainer::class => ProductFamilyContainer::class, |
|
|
|
ReductionCartContainer::class => ReductionCartContainer::class, |
|
|
|
ReductionCatalogContainer::class => ReductionCatalogContainer::class, |
|
|
|
ReductionCreditContainer::class => ReductionCreditContainer::class, |
|
|
|
OpeningContainer::class => OpeningContainer::class, |
|
|
|
SectionContainer::class => SectionContainer::class, |
|
|
|
MerchantSettingContainer::class => MerchantSettingContainer::class, |
|
|
|
SectionSettingContainer::class => SectionSettingContainer::class, |
|
|
|
UserMerchantContainer::class => UserMerchantContainer::class, |
|
|
|
UserPointSaleContainer::class => UserPointSaleContainer::class, |
|
|
|
VisitorContainer::class => VisitorContainer::class |
|
|
|
] |
|
|
|
); |
|
|
|
} |