瀏覽代碼

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

feature/rotating_product
Guillaume Bourgeois 5 月之前
父節點
當前提交
6aada77c57
共有 3 個文件被更改,包括 3 次插入1 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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

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

Loading…
取消
儲存