Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/don/class/don.class.php htdocs/product/stock/card.php htdocs/theme/eldy/style.css.php
This commit is contained in:
commit
27402f432a
@ -687,7 +687,6 @@ class Don extends CommonObject
|
|||||||
$this->societe = $obj->societe;
|
$this->societe = $obj->societe;
|
||||||
$this->statut = $obj->fk_statut;
|
$this->statut = $obj->fk_statut;
|
||||||
$this->address = $obj->address;
|
$this->address = $obj->address;
|
||||||
$this->town = $obj->town;
|
|
||||||
$this->zip = $obj->zip;
|
$this->zip = $obj->zip;
|
||||||
$this->town = $obj->town;
|
$this->town = $obj->town;
|
||||||
$this->country_id = $obj->fk_country;
|
$this->country_id = $obj->fk_country;
|
||||||
|
|||||||
@ -515,7 +515,7 @@ else
|
|||||||
print '<td>'.$objp->produit.'</td>';
|
print '<td>'.$objp->produit.'</td>';
|
||||||
|
|
||||||
print '<td class="right">';
|
print '<td class="right">';
|
||||||
$valtoshow=price2num($objp->value, 'MS');
|
$valtoshow=price(price2num($objp->value, 'MS'), 0, '', 0, 0); // TODO replace with a qty() function
|
||||||
print empty($valtoshow)?'0':$valtoshow;
|
print empty($valtoshow)?'0':$valtoshow;
|
||||||
print '</td>';
|
print '</td>';
|
||||||
$totalunit+=$objp->value;
|
$totalunit+=$objp->value;
|
||||||
|
|||||||
@ -1839,6 +1839,12 @@ a.tmenuimage {
|
|||||||
$found=1;
|
$found=1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if (file_exists($dirroot."/".$val."/img/".$val.".png")) // Retro compatibilité
|
||||||
|
{
|
||||||
|
$url=dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
|
||||||
|
$found=1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Img file not found
|
// Img file not found
|
||||||
if (! $found)
|
if (! $found)
|
||||||
|
|||||||
@ -1819,6 +1819,12 @@ foreach($mainmenuusedarray as $val)
|
|||||||
$found=1;
|
$found=1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if (file_exists($dirroot."/".$val."/img/".$val.".png")) // Retro compatibilité
|
||||||
|
{
|
||||||
|
$url=dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
|
||||||
|
$found=1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Img file not found
|
// Img file not found
|
||||||
if (! $found)
|
if (! $found)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user