Sfoglia il codice sorgente

Correctif paiement

feature/export_comptable
Guillaume 4 anni fa
parent
commit
e125247201
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      ShopBundle/Services/Order/OrderUtilsPaymentTrait.php

+ 2
- 0
ShopBundle/Services/Order/OrderUtilsPaymentTrait.php Vedi File

@@ -18,6 +18,8 @@ trait OrderUtilsPaymentTrait
$orderPayment->setReference($reference);
$orderPayment->setComment($comment);
$orderPayment->setEditable(false);
$orderPayment->setCreatedBy($orderShop->getUser()) ;
$orderPayment->setUpdatedBy($orderShop->getUser()) ;

if ($paidAt) {
$orderPayment->setPaidAt($paidAt);

Loading…
Annulla
Salva