Kaynağa Gözat

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

feature/souke
Guillaume Bourgeois 1 yıl önce
ebeveyn
işleme
05acdf1b04
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      common/logic/Producer/Producer/Repository/ProducerRepository.php

+ 1
- 1
common/logic/Producer/Producer/Repository/ProducerRepository.php Dosyayı Görüntüle

@@ -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') :

Yükleniyor…
İptal
Kaydet