Browse Source

Merge branch 'develop'

master
Fabien Normand 3 weeks ago
parent
commit
731614b9f2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Builder/Order/OrderShopBuilder.php

+ 1
- 1
Builder/Order/OrderShopBuilder.php View File

$documentFactory = new DocumentFactory(); $documentFactory = new DocumentFactory();


$document = $documentFactory->create($orderShop->getSection()->getMerchant(), DocumentModel::TYPE_INVOICE); $document = $documentFactory->create($orderShop->getSection()->getMerchant(), DocumentModel::TYPE_INVOICE);
$document->setTitle($orderShop->__toString());
$this->documentBuilder->initFromOrderShop($document, $orderShop); $this->documentBuilder->initFromOrderShop($document, $orderShop);
return $document; return $document;
} }

Loading…
Cancel
Save