Pārlūkot izejas kodu

Merge branch 'develop'

master
Fabien Normand pirms 3 gadiem
vecāks
revīzija
37a04f97a3
4 mainītis faili ar 10 papildinājumiem un 10 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

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


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

+ 1
- 1
Solver/Statistic/StatisticSolver.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt