瀏覽代碼

ProducerRepository::isDocumentDisplayOrders() : problème valeur de retour #1348

feature/souke
Guillaume Bourgeois 1 年之前
父節點
當前提交
05acdf1b04
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      common/logic/Producer/Producer/Repository/ProducerRepository.php

+ 1
- 1
common/logic/Producer/Producer/Repository/ProducerRepository.php 查看文件

@@ -303,7 +303,7 @@ class ProducerRepository extends AbstractRepository
return $producer->name;
}

public function isDocumentDisplayOrders(DocumentInterface $document): bool
public function isDocumentDisplayOrders(DocumentInterface $document)
{
return ($this->documentSolver->getClass($document) == 'Invoice') ?
$this->producerSolver->getConfig('document_display_orders_invoice') :

Loading…
取消
儲存