Explorar el Código

[backend] Distributions : gestion des abonnements manquants

dev
Guillaume hace 3 años
padre
commit
c87f63ffb6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      common/models/Subscription.php

+ 1
- 1
common/models/Subscription.php Ver fichero

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

Cargando…
Cancelar
Guardar