|
|
|
|
|
|
|
|
$cpt ++ ; |
|
|
$cpt ++ ; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$strProducts = substr($strProducts, 0, strlen($strProducts) - 6) ; |
|
|
|
|
|
|
|
|
//$strProducts = substr($strProducts, 0, strlen($strProducts) - 6) ; |
|
|
|
|
|
|
|
|
$html .= '<td>'.$strProducts.'</td><td></td>' ; |
|
|
$html .= '<td>'.$strProducts.'</td><td></td>' ; |
|
|
if($pointSale->credit) { |
|
|
if($pointSale->credit) { |
|
|
|
|
|
|
|
|
$cpt ++ ; |
|
|
$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>' ; |
|
|
$html .= '</td><td>'.Price::format($pointSale->revenues_with_tax, 2).'</td></tr>' ; |
|
|
$revenues += $pointSale->revenues_with_tax ; |
|
|
$revenues += $pointSale->revenues_with_tax ; |
|
|
|
|
|
|
|
|
$cpt ++ ; |
|
|
$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>' ; |
|
|
$html .= '</td><td><strong>'.number_format($revenues, 2).' €</strong></td></tr>' ; |
|
|
|
|
|
|