瀏覽代碼

Merge branch 'develop'

master
Guillaume 4 年之前
父節點
當前提交
5c9ae0b007
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      ShopBundle/Services/Order/OrderUtilsPaymentTrait.php

+ 2
- 0
ShopBundle/Services/Order/OrderUtilsPaymentTrait.php 查看文件

@@ -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…
取消
儲存