Browse Source

[Site] Fonctionnalités, services & tarifs : ajouter synchronisation Tiller/Sumup en module payant

feature/rotating_product
Guillaume Bourgeois 6 months ago
parent
commit
6aada77c57
3 changed files with 3 additions and 1 deletions
  1. +1
    -0
      domain/Feature/Feature/Feature.php
  2. +1
    -0
      domain/Feature/Feature/FeatureDefinition.php
  3. +1
    -1
      domain/Feature/Feature/FeatureRepository.php

+ 1
- 0
domain/Feature/Feature/Feature.php View File

@@ -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

+ 1
- 0
domain/Feature/Feature/FeatureDefinition.php View File

@@ -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"
];
}
}

+ 1
- 1
domain/Feature/Feature/FeatureRepository.php View File

@@ -39,7 +39,7 @@ class FeatureRepository extends AbstractRepository

public function findPaidFeatures(): array
{
return $this->createQuery()
return $this->createDefaultQuery()
->filterIsPaidFeature()
->find();
}

Loading…
Cancel
Save