소스 검색

[Backend] Tiller : correctif synchronisation

refactoring
Guillaume 2 년 전
부모
커밋
1ccdeb64c0
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      backend/controllers/DistributionController.php
  2. +2
    -0
      common/helpers/Tiller.php

+ 3
- 1
backend/controllers/DistributionController.php 파일 보기

@@ -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 파일 보기

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

$ordersOpendistribSynchro = [];

Loading…
취소
저장