Merge pull request #2938 from FHenry/3.6
FIX : If supplier invoice block linked element is display after other block total HT amount is not reset to 0 and sum other block (like customer orders values)
This commit is contained in:
commit
3c8d54d55f
@ -41,6 +41,7 @@ print_titre($langs->trans('RelatedShippings'));
|
|||||||
<td align="right"><?php echo $langs->trans("Status"); ?></td>
|
<td align="right"><?php echo $langs->trans("Status"); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
$total=0;
|
||||||
$var=true;
|
$var=true;
|
||||||
foreach($linkedObjectBlock as $object)
|
foreach($linkedObjectBlock as $object)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -39,6 +39,7 @@ print_titre($langs->trans('RelatedOrders'));
|
|||||||
<td align="right"><?php echo $langs->trans("Status"); ?></td>
|
<td align="right"><?php echo $langs->trans("Status"); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
$total=0;
|
||||||
$var=true;
|
$var=true;
|
||||||
foreach($linkedObjectBlock as $object)
|
foreach($linkedObjectBlock as $object)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -40,6 +40,7 @@ else print_titre($langs->trans("RelatedBill"));
|
|||||||
<td align="right"><?php echo $langs->trans("Status"); ?></td>
|
<td align="right"><?php echo $langs->trans("Status"); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
$total=0;
|
||||||
$var=true;
|
$var=true;
|
||||||
foreach($linkedObjectBlock as $object)
|
foreach($linkedObjectBlock as $object)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user