bugfix
This commit is contained in:
parent
5bffbe196e
commit
0fe7e47a9f
@ -60,12 +60,13 @@ Function calcul_price($products, $remise_percent)
|
|||||||
* Sommes et arrondis
|
* Sommes et arrondis
|
||||||
*/
|
*/
|
||||||
$j=0;
|
$j=0;
|
||||||
$result[4] = array();
|
$result[5] = array();
|
||||||
|
|
||||||
foreach ($tva as $key => $value)
|
foreach ($tva as $key => $value)
|
||||||
{
|
{
|
||||||
$tva[$key] = round($tva[$key], 2);
|
$tva[$key] = round($tva[$key], 2);
|
||||||
$total_tva = $total_tva + $tva[$key];
|
$total_tva = $total_tva + $tva[$key];
|
||||||
$result[5][$j] = $tva[$key];
|
$result[5][$key] = $tva[$key];
|
||||||
$j++;
|
$j++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user