ソースを参照

Correctif static solver

packProduct
Fabien Normand 3年前
コミット
4c449b907a
4個のファイルの変更10行の追加10行の削除
  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 ファイルの表示

$this->productSolver = $productSolver; $this->productSolver = $productSolver;
} }


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

+ 7
- 7
Solver/Product/ProductFamilySolver.php ファイルの表示

} }




public function getBehaviorCountStockChoices(): array
public static function getBehaviorCountStockChoices(): array
{ {
return [ return [
ProductFamilyModel::BEHAVIOR_COUNT_STOCK_BY_MEASURE, ProductFamilyModel::BEHAVIOR_COUNT_STOCK_BY_MEASURE,
]; ];
} }


public function getWaringMessageTypeChoices(): array
public static function getWaringMessageTypeChoices(): array
{ {
return [ return [
ProductFamilyModel::WARNING_MESSAGE_TYPE_ERROR, ProductFamilyModel::WARNING_MESSAGE_TYPE_ERROR,
]; ];
} }


public function getBehaviorAddToCartChoices(): array
public static function getBehaviorAddToCartChoices(): array
{ {
return [ return [
ProductFamilyModel::BEHAVIOR_ADD_TO_CART_MULTIPLE, ProductFamilyModel::BEHAVIOR_ADD_TO_CART_MULTIPLE,
]; ];
} }


public function getBehaviorPriceChoices(): array
public static function getBehaviorPriceChoices(): array
{ {
return [ return [
ProductFamilyModel::BEHAVIOR_PRICE_BY_PIECE, ProductFamilyModel::BEHAVIOR_PRICE_BY_PIECE,
]; ];
} }


public function getTypeExpirationDateChoices(): array
public static function getTypeExpirationDateChoices(): array
{ {
return [ return [
ProductFamilyModel::TYPE_EXPIRATION_DATE_DLC, ProductFamilyModel::TYPE_EXPIRATION_DATE_DLC,
} }




public function getBehaviorExpirationDateChoices(): array
public static function getBehaviorExpirationDateChoices(): array
{ {
return [ return [
ProductFamilyModel::BEHAVIOR_EXPIRATION_DATE_BY_PRODUCT_FAMILY, ProductFamilyModel::BEHAVIOR_EXPIRATION_DATE_BY_PRODUCT_FAMILY,
} }




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

+ 1
- 1
Solver/Reduction/ReductionCartSolver.php ファイルの表示

} }




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

+ 1
- 1
Solver/Statistic/StatisticSolver.php ファイルの表示

const INTERVAL_WEEK = 'W'; const INTERVAL_WEEK = 'W';
const INTERVAL_MONTH = 'M'; const INTERVAL_MONTH = 'M';


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

読み込み中…
キャンセル
保存