瀏覽代碼

Maintenance #1063

feature/souke
Guillaume Bourgeois 1 年之前
父節點
當前提交
c7fabe4e6b
共有 2 個檔案被更改,包括 4 行新增0 行删除
  1. +1
    -0
      backend/controllers/DistributionController.php
  2. +3
    -0
      producer/views/order/confirm.php

+ 1
- 0
backend/controllers/DistributionController.php 查看文件

@@ -344,6 +344,7 @@ class DistributionController extends BackendController
])
->where([
'id_producer' => $producer->id,
'status' => 1
])
->asArray()
->all();

+ 3
- 0
producer/views/order/confirm.php 查看文件

@@ -98,7 +98,10 @@ $this->setTitle('Confirmation de commande') ;
<?php endif; ?>
</li>
<?php
$strInfos = '';
if($order->pointSale) {
$strInfos = $pointSaleManager->getStrInfos($order->pointSale, strtolower(date('l',strtotime($order->distribution->date))));
}
?>
<?php if(strlen($strInfos) > 0): ?>
<li><span class="glyphicon glyphicon-info-sign"></span>

Loading…
取消
儲存