Browse Source

Correctif paiement

feature/export_comptable
Guillaume 4 years ago
parent
commit
e125247201
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