Browse Source

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

refactoring
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

@@ -46,7 +46,7 @@ $html = '' ;

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

Loading…
Cancel
Save