Sfoglia il codice sorgente

Maintenance #1063

feature/souke
Guillaume Bourgeois 1 anno fa
parent
commit
c7fabe4e6b
2 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +1
    -0
      backend/controllers/DistributionController.php
  2. +3
    -0
      producer/views/order/confirm.php

+ 1
- 0
backend/controllers/DistributionController.php Vedi File

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

+ 3
- 0
producer/views/order/confirm.php Vedi File

@@ -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…
Annulla
Salva