onlyOnIndex()->setSortable(true), TextField::new('title')->setSortable(true), MoneyField::new('orderAmountMin')->setCurrency('EUR')->setSortable(true), NumberField::new('deliveryPrice') ->setCustomOption('appendHtml', '€') ->hideOnIndex(), StatusField::new('status')->setSortable(true), ToggleField::new('isPublic')->setSortable(true), ToggleField::new('isDepository')->setSortable(true), FormField::addPanel('address'), AddressField::new('address') ->setRequired(true) ], $this->getSeoPanel(), $this->getConfPanel(), ); } public function createEntity(string $entityFqcn) { return $this->get(PointSaleContainer::class) ->getFactory() ->create($this->get(MerchantResolver::class)->getCurrent()); } }