Przeglądaj źródła

Merge branch 'develop'

master
Fabien Normand 3 lat temu
rodzic
commit
37a04f97a3
4 zmienionych plików z 10 dodań i 10 usunięć
  1. +1
    -1
      Solver/Order/OrderShopSolver.php
  2. +7
    -7
      Solver/Product/ProductFamilySolver.php
  3. +1
    -1
      Solver/Reduction/ReductionCartSolver.php
  4. +1
    -1
      Solver/Statistic/StatisticSolver.php

+ 1
- 1
Solver/Order/OrderShopSolver.php Wyświetl plik

@@ -33,7 +33,7 @@ class OrderShopSolver
$this->productSolver = $productSolver;
}

public function getTypeDeliveryChoices()
public static function getTypeDeliveryChoices()
{
return [
OrderShopModel::DELIVERY_TYPE_HOME,

+ 7
- 7
Solver/Product/ProductFamilySolver.php Wyświetl plik

@@ -27,7 +27,7 @@ class ProductFamilySolver
}


public function getBehaviorCountStockChoices(): array
public static function getBehaviorCountStockChoices(): array
{
return [
ProductFamilyModel::BEHAVIOR_COUNT_STOCK_BY_MEASURE,
@@ -36,7 +36,7 @@ class ProductFamilySolver
];
}

public function getWaringMessageTypeChoices(): array
public static function getWaringMessageTypeChoices(): array
{
return [
ProductFamilyModel::WARNING_MESSAGE_TYPE_ERROR,
@@ -46,7 +46,7 @@ class ProductFamilySolver
];
}

public function getBehaviorAddToCartChoices(): array
public static function getBehaviorAddToCartChoices(): array
{
return [
ProductFamilyModel::BEHAVIOR_ADD_TO_CART_MULTIPLE,
@@ -54,7 +54,7 @@ class ProductFamilySolver
];
}

public function getBehaviorPriceChoices(): array
public static function getBehaviorPriceChoices(): array
{
return [
ProductFamilyModel::BEHAVIOR_PRICE_BY_PIECE,
@@ -62,7 +62,7 @@ class ProductFamilySolver
];
}

public function getTypeExpirationDateChoices(): array
public static function getTypeExpirationDateChoices(): array
{
return [
ProductFamilyModel::TYPE_EXPIRATION_DATE_DLC,
@@ -72,7 +72,7 @@ class ProductFamilySolver
}


public function getBehaviorExpirationDateChoices(): array
public static function getBehaviorExpirationDateChoices(): array
{
return [
ProductFamilyModel::BEHAVIOR_EXPIRATION_DATE_BY_PRODUCT_FAMILY,
@@ -81,7 +81,7 @@ class ProductFamilySolver
}


public function getBehaviorDisplaySaleChoices(): array
public static function getBehaviorDisplaySaleChoices(): array
{
return [
ProductFamilyModel::BEHAVIOR_DISPLAY_SALE_BY_MEASURE,

+ 1
- 1
Solver/Reduction/ReductionCartSolver.php Wyświetl plik

@@ -46,7 +46,7 @@ class ReductionCartSolver
}


public function getAppliedToChoices()
public static function getAppliedToChoices()
{
return [
// ReductionCartModel::APPLIED_TO_DELIVERY,

+ 1
- 1
Solver/Statistic/StatisticSolver.php Wyświetl plik

@@ -8,7 +8,7 @@ class StatisticSolver
const INTERVAL_WEEK = 'W';
const INTERVAL_MONTH = 'M';

public function getIntervalChoices()
public static function getIntervalChoices()
{
return [
self::INTERVAL_DAY,

Ładowanie…
Anuluj
Zapisz