You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 line
864B

  1. <?php
  2. namespace Lc\CaracoleBundle\Controller\Reduction;
  3. use EasyCorp\Bundle\EasyAdminBundle\Field\ChoiceField;
  4. use EasyCorp\Bundle\EasyAdminBundle\Field\NumberField;
  5. use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
  6. use Lc\CaracoleBundle\Container\Reduction\ReductionCartContainer;
  7. use Lc\CaracoleBundle\Controller\AdminControllerTrait;
  8. use Lc\CaracoleBundle\Model\Config\TaxRateModel;
  9. use Lc\CaracoleBundle\Model\Config\UnitModel;
  10. use Lc\SovBundle\Controller\AbstractAdminController;
  11. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  12. use Lc\SovBundle\Translation\TranslatorAdmin;
  13. abstract class ReductionCartAdminController extends AbstractAdminController
  14. {
  15. use AdminControllerTrait;
  16. public function getRepositoryQuery() :RepositoryQueryInterface
  17. {
  18. return $this->get(ReductionCartContainer::class)->getRepositoryQuery();
  19. }
  20. }