@@ -143,6 +143,7 @@ class CronController extends BackendController | |||
->findOneDistribution($date, true); | |||
if ($distribution) { | |||
// @TODO : attention, il faut prendre en compte les délais de commande spécifiques (lundi, mardi, mercredi etc.) | |||
if ($hour == $producer->order_deadline || strlen($forceDate)) { | |||
/* | |||
* Paiement des commandes (paiement automatique) |
@@ -11,7 +11,7 @@ class ActiveDistributionsInAdvanceController extends Controller | |||
public function actionIndex() | |||
{ | |||
$producerModule = ProducerModule::getInstance(); | |||
$distributionModule =DistributionModule::getInstance(); | |||
$distributionModule = DistributionModule::getInstance(); | |||
$producersArray = $producerModule->findProducersActive(); | |||
foreach($producersArray as $producer) { |