Sfoglia il codice sorgente

Merge branch 'dev'

master
Guillaume 3 anni fa
parent
commit
099b7956e6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      common/models/Subscription.php

+ 1
- 1
common/models/Subscription.php Vedi File

@@ -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)) {

Loading…
Annulla
Salva