Kaynağa Gözat

[Backend] Distributions : correctif export PDF

dev
Guillaume 3 yıl önce
ebeveyn
işleme
9abe772de5
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +3
    -3
      backend/views/distribution/report.php

+ 3
- 3
backend/views/distribution/report.php Dosyayı Görüntüle

@@ -168,7 +168,7 @@ foreach ($pointsSaleArray as $pointSale) {
$cpt ++ ;
}
$strProducts = substr($strProducts, 0, strlen($strProducts) - 6) ;
//$strProducts = substr($strProducts, 0, strlen($strProducts) - 6) ;
$html .= '<td>'.$strProducts.'</td><td></td>' ;
if($pointSale->credit) {
@@ -217,7 +217,7 @@ foreach ($pointsSaleArray as $pointSale)
$cpt ++ ;
}
$html = substr($html, 0, strlen($html) - 6) ;
//$html = substr($html, 0, strlen($html) - 6) ;
$html .= '</td><td>'.Price::format($pointSale->revenues_with_tax, 2).'</td></tr>' ;
$revenues += $pointSale->revenues_with_tax ;
@@ -243,7 +243,7 @@ foreach ($productsArray as $product) {
$cpt ++ ;
}

$html = substr($html, 0, strlen($html) - 6) ;
//$html = substr($html, 0, strlen($html) - 6) ;

$html .= '</td><td><strong>'.number_format($revenues, 2).' €</strong></td></tr>' ;


Yükleniyor…
İptal
Kaydet