浏览代码

Merge branch 'dev'

master
Guillaume 3 年前
父节点
当前提交
099b7956e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      common/models/Subscription.php

+ 1
- 1
common/models/Subscription.php 查看文件

@@ -178,7 +178,7 @@ class Subscription extends ActiveRecordCommon
'distribution.date' => date('Y-m-d', strtotime($date))
]);

if ($distribution && count($this->productSubscription)) {
if ($distribution && count($this->productSubscription) && $this->id_point_sale) {
// commande
$order = new Order;
if (strlen($this->username)) {

正在加载...
取消
保存