소스 검색

Merge branch 'dev'

prodstable
Guillaume 4 년 전
부모
커밋
249a23c471
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      backend/controllers/DistributionController.php

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

@@ -933,6 +933,8 @@ class DistributionController extends BackendController
*/
public function actionAjaxProcessSynchroTiller($date)
{
\Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
$return = [] ;
$producerTiller = Producer::getConfig('tiller');

if ($producerTiller) {
@@ -978,7 +980,7 @@ class DistributionController extends BackendController
$typePaymentTiller = 'CASH';
}

$tiller->postOrder([
$return[] = $tiller->postOrder([
'externalId' => $order->id,
'type' => 1,
'status' => "CLOSED",
@@ -996,6 +998,8 @@ class DistributionController extends BackendController
}
}
}

return $return ;
}

public function actionAjaxGenerateDeliveryNote($idOrders)

Loading…
취소
저장