Bladeren bron

Points de vente partagés : ajout module

feature/rotating_product
Guillaume Bourgeois 5 maanden geleden
bovenliggende
commit
af8510e727
2 gewijzigde bestanden met toevoegingen van 7 en 0 verwijderingen
  1. +1
    -0
      common/components/BusinessLogic.php
  2. +6
    -0
      common/components/BusinessLogicTrait.php

+ 1
- 0
common/components/BusinessLogic.php Bestand weergeven

@@ -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 Bestand weergeven

@@ -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();

Laden…
Annuleren
Opslaan