|
|
@@ -58,7 +58,7 @@ class ClosingOrdersController extends Controller |
|
|
|
|
|
|
|
if($distribution) { |
|
|
|
// @TODO : gérer les horaires spécifiques |
|
|
|
if($producer->order_deadline || !$hour) { |
|
|
|
if($hour == $producer->order_deadline || !$hour) { |
|
|
|
$ordersArray = $orderModule->getRepository()->findOrdersByDistribution($distribution); |
|
|
|
|
|
|
|
foreach($ordersArray as $order) { |
|
|
@@ -74,7 +74,6 @@ class ClosingOrdersController extends Controller |
|
|
|
|
|
|
|
public function notifyProducer(Distribution $distribution) |
|
|
|
{ |
|
|
|
|
|
|
|
$producerModule = ProducerModule::getInstance(); |
|
|
|
|
|
|
|
if ($this->notification |