瀏覽代碼

Points de vente partagés : ajout module

feature/rotating_product
Guillaume Bourgeois 5 月之前
父節點
當前提交
af8510e727
共有 2 個檔案被更改,包括 7 行新增0 行删除
  1. +1
    -0
      common/components/BusinessLogic.php
  2. +6
    -0
      common/components/BusinessLogicTrait.php

+ 1
- 0
common/components/BusinessLogic.php 查看文件

@@ -36,6 +36,7 @@ class BusinessLogic
$this->getTicketMessageModule(),
$this->getTicketModule(),
$this->getPointSaleModule(),
$this->getSharedPointSaleModule(),
$this->getProductModule(),
$this->getProductOrderModule(),
$this->getOrderStatusModule(),

+ 6
- 0
common/components/BusinessLogicTrait.php 查看文件

@@ -20,6 +20,7 @@ use domain\Order\OrderStatusHistory\OrderStatusHistoryModule;
use domain\Order\ProductOrder\ProductOrderModule;
use domain\Payment\PaymentModule;
use domain\PointSale\PointSale\PointSaleModule;
use domain\PointSale\SharedPointSale\SharedPointSaleModule;
use domain\PointSale\UserPointSale\UserPointSaleModule;
use domain\Producer\Producer\ProducerModule;
use domain\Producer\ProducerPriceRange\ProducerPriceRangeModule;
@@ -120,6 +121,11 @@ trait BusinessLogicTrait
return PointSaleModule::getInstance();
}

public function getSharedPointSaleModule(): SharedPointSaleModule
{
return SharedPointSaleModule::getInstance();
}

public function getUserPointSaleModule(): UserPointSaleModule
{
return UserPointSaleModule::getInstance();

Loading…
取消
儲存