Ver código fonte

Merge branch 'dev'

prodstable
Guillaume 2 anos atrás
pai
commit
c4b1c9d69a
2 arquivos alterados com 5 adições e 1 exclusões
  1. +3
    -1
      backend/controllers/DistributionController.php
  2. +2
    -0
      common/helpers/Tiller.php

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

@@ -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 arquivo

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

$ordersOpendistribSynchro = [];

Carregando…
Cancelar
Salvar