Bläddra i källkod

Maintenance #1063

feature/souke
Guillaume Bourgeois 1 år sedan
förälder
incheckning
c7fabe4e6b
2 ändrade filer med 4 tillägg och 0 borttagningar
  1. +1
    -0
      backend/controllers/DistributionController.php
  2. +3
    -0
      producer/views/order/confirm.php

+ 1
- 0
backend/controllers/DistributionController.php Visa fil

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

+ 3
- 0
producer/views/order/confirm.php Visa fil

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

Laddar…
Avbryt
Spara