Explorar el Código

Merge branch 'dev'

prodstable
Guillaume hace 2 años
padre
commit
c4b1c9d69a
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. +3
    -1
      backend/controllers/DistributionController.php
  2. +2
    -0
      common/helpers/Tiller.php

+ 3
- 1
backend/controllers/DistributionController.php Ver fichero

@@ -1267,7 +1267,9 @@ class DistributionController extends BackendController
$orders = Order::searchAll([
'distribution.date' => $date,
'order.tiller_synchronization' => 1
]);
], [
'conditions' => 'date_delete IS NULL'
]);

$strDate = date('Y-m-d\T12:i:s+0000', strtotime($date) + 1);


+ 2
- 0
common/helpers/Tiller.php Ver fichero

@@ -79,6 +79,8 @@ class Tiller
$ordersOpendistrib = Order::searchAll([
'distribution.date' => $date,
'order.tiller_synchronization' => 1
], [
'conditions' => 'date_delete IS NULL'
]);

$ordersOpendistribSynchro = [];

Cargando…
Cancelar
Guardar