Fix Bug : repository (stock) the delta was rounded
This commit is contained in:
parent
95a79ae252
commit
e9535840c1
5 changed files with 15 additions and 6 deletions
|
|
@ -95,7 +95,7 @@ $a_repo=$cn->get_array("select distinct t.r_id,r_name,r_adress,r_city,r_country,
|
|||
|
||||
</td>
|
||||
<td class="num">
|
||||
<?php echo nbm(bcsub($a_stock[$s]['qin'],$a_stock[$s]['qout']))?>
|
||||
<?php echo nbm(bcsub($a_stock[$s]['qin'],$a_stock[$s]['qout'],4))?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endfor; ?>
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
<?php echo _("DIFF")?> :
|
||||
</td>
|
||||
<td class="num">
|
||||
<?php echo nbm((bcsub($array[0]['s_qin']??0,$array[0]['s_qout']??0)))?>
|
||||
<?php echo nbm((bcsub($array[0]['s_qin']??0,$array[0]['s_qout']??0,4)))?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue