Browse Source

[backend] Bug point de vente invisible dans report si horaire non défini pour ce jour

dev
Guillaume Bourgeois 5 years ago
parent
commit
429fcbf686
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      backend/views/distribution/report.php

+ 2
- 2
backend/views/distribution/report.php View File



// par point de vente // par point de vente
foreach ($pointsSaleArray as $pointSale) { foreach ($pointsSaleArray as $pointSale) {
if (count($pointSale->orders) && strlen($pointSale->$fieldInfosPointSale)) {
if (count($pointSale->orders)) {
$html .= '<h3>'.$pointSale->name.'</h3>' ; $html .= '<h3>'.$pointSale->name.'</h3>' ;
$colCredit = ($pointSale->credit) ? '<th>Rappel crédit</th>' : '' ; $colCredit = ($pointSale->credit) ? '<th>Rappel crédit</th>' : '' ;
$revenues = 0 ; $revenues = 0 ;
foreach ($pointsSaleArray as $pointSale) foreach ($pointsSaleArray as $pointSale)
{ {
if (count($pointSale->orders) && strlen($pointSale->$fieldInfosPointSale))
if (count($pointSale->orders))
{ {
$html .= '<tr><td>'.$pointSale->name.'</td><td>' ; $html .= '<tr><td>'.$pointSale->name.'</td><td>' ;
foreach ($productsArray as $product) { foreach ($productsArray as $product) {

Loading…
Cancel
Save