Browse Source

Merge branch 'develop'

master
Guillaume 4 years ago
parent
commit
5c9ae0b007
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ShopBundle/Services/Order/OrderUtilsPaymentTrait.php

+ 2
- 0
ShopBundle/Services/Order/OrderUtilsPaymentTrait.php View 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…
Cancel
Save