|
|
@@ -146,7 +146,7 @@ foreach ($pointsSaleArray as $pointSale) { |
|
|
|
if($pointSale->credit) { |
|
|
|
$html .= '<td></td>' ; |
|
|
|
} |
|
|
|
$html .= '<td><strong>'.number_format($pointSale->revenues, 2) . ' €</strong></td>'; |
|
|
|
$html .= '<td><strong>'.Price::format($pointSale->revenues_with_tax) . '</strong></td>'; |
|
|
|
|
|
|
|
$html .= '</tbody></table><pagebreak>' ; |
|
|
|
} |
|
|
@@ -182,8 +182,8 @@ foreach ($pointsSaleArray as $pointSale) |
|
|
|
|
|
|
|
$html = substr($html, 0, strlen($html) - 6) ; |
|
|
|
|
|
|
|
$html .= '</td><td>'.number_format($pointSale->revenues, 2).' €</td></tr>' ; |
|
|
|
$revenues += $pointSale->revenues ; |
|
|
|
$html .= '</td><td>'.Price::format($pointSale->revenues_with_tax, 2).'</td></tr>' ; |
|
|
|
$revenues += $pointSale->revenues_with_tax ; |
|
|
|
} |
|
|
|
} |
|
|
|
|