Browse Source

Points de vente partagés : ajout module

feature/rotating_product
Guillaume Bourgeois 5 months ago
parent
commit
af8510e727
2 changed files with 7 additions and 0 deletions
  1. +1
    -0
      common/components/BusinessLogic.php
  2. +6
    -0
      common/components/BusinessLogicTrait.php

+ 1
- 0
common/components/BusinessLogic.php View File

@@ -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 View File

@@ -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…
Cancel
Save