Browse Source

billingAddress -> invoiceAddress

feature/export_comptable
Guillaume 4 years ago
parent
commit
1bf2143699
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ShopBundle/Services/OrderUtils.php

+ 1
- 1
ShopBundle/Services/OrderUtils.php View File

public function createDocumentInvoice(OrderShopInterface $orderShop) public function createDocumentInvoice(OrderShopInterface $orderShop)
{ {
$merchantAddress = $orderShop->getMerchant()->getAddress() ; $merchantAddress = $orderShop->getMerchant()->getAddress() ;
$buyerAddress = $orderShop->getBillingAddress() ;
$buyerAddress = $orderShop->getInvoiceAddress() ;


$document = $this->documentUtils->createDocument([ $document = $this->documentUtils->createDocument([
'type' => Document::TYPE_INVOICE, 'type' => Document::TYPE_INVOICE,

Loading…
Cancel
Save