Ver código fonte

billingAddress -> invoiceAddress

feature/export_comptable
Guillaume 4 anos atrás
pai
commit
1bf2143699
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      ShopBundle/Services/OrderUtils.php

+ 1
- 1
ShopBundle/Services/OrderUtils.php Ver arquivo

@@ -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,

Carregando…
Cancelar
Salvar