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

@@ -403,7 +403,7 @@ class OrderUtils
public function createDocumentInvoice(OrderShopInterface $orderShop)
{
$merchantAddress = $orderShop->getMerchant()->getAddress() ;
$buyerAddress = $orderShop->getBillingAddress() ;
$buyerAddress = $orderShop->getInvoiceAddress() ;

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

Loading…
Cancel
Save