@@ -51,6 +51,7 @@ class Feature extends ActiveRecordCommon | |||
const ALIAS_SETTINGS = 'settings'; | |||
const ALIAS_SHOP_SUPPORT = 'shop_support'; | |||
const ALIAS_SHARED_POINT_SALE = 'shared_point_sale'; | |||
const ALIAS_SUMUP_SYNCHRONIZATION = 'sumup_synchronization'; | |||
/** | |||
* @inheritdoc |
@@ -21,6 +21,7 @@ class FeatureDefinition extends AbstractDefinition | |||
Feature::ALIAS_SETTINGS => 'Système de paramètres', | |||
Feature::ALIAS_SHOP_SUPPORT => 'Support boutique', | |||
Feature::ALIAS_SHARED_POINT_SALE => 'Points de vente partagés', | |||
Feature::ALIAS_SUMUP_SYNCHRONIZATION => "Synchronisation de commandes avec Sumup / Tiller" | |||
]; | |||
} | |||
} |
@@ -39,7 +39,7 @@ class FeatureRepository extends AbstractRepository | |||
public function findPaidFeatures(): array | |||
{ | |||
return $this->createQuery() | |||
return $this->createDefaultQuery() | |||
->filterIsPaidFeature() | |||
->find(); | |||
} |