Skip to content

Commit

Permalink
Update commonobject.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
defrance committed May 19, 2014
1 parent b210d7a commit c806793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/class/commonobject.class.php
Expand Up @@ -3235,8 +3235,8 @@ function displayMarginInfos($force_price=false)
$rounding = min($conf->global->MAIN_MAX_DECIMALS_UNIT,$conf->global->MAIN_MAX_DECIMALS_TOT);

$marginInfo = $this->getMarginInfos($force_price);
print "<div onclick=\"$('#margintable').toggle();\" >&nbsp;</div>";
print '<table class="nobordernopadding" id="margintable" width="100%">';
print "<div onclick=\"$('.margintable').toggle();\" >&nbsp;</div>";
print '<table class="nobordernopadding margintable" width="100%">';
print '<tr class="liste_titre">';
print '<td width="30%">'.$langs->trans('Margins').'</td>';
print '<td width="20%" align="right">'.$langs->trans('SellingPrice').'</td>';
Expand Down

0 comments on commit c806793

Please sign in to comment.