Sfoglia il codice sorgente

Merge branch 'develop'

master
Guillaume 4 anni fa
parent
commit
5c9ae0b007
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