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

$orderPayment->setReference($reference); $orderPayment->setReference($reference);
$orderPayment->setComment($comment); $orderPayment->setComment($comment);
$orderPayment->setEditable(false); $orderPayment->setEditable(false);
$orderPayment->setCreatedBy($orderShop->getUser()) ;
$orderPayment->setUpdatedBy($orderShop->getUser()) ;


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

Loading…
Cancel
Save