Browse Source

[backend] Distributions : gestion des abonnements manquants

dev
Guillaume 3 years ago
parent
commit
c87f63ffb6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/models/Subscription.php

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

'distribution.date' => date('Y-m-d', strtotime($date)) 'distribution.date' => date('Y-m-d', strtotime($date))
]); ]);


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

Loading…
Cancel
Save