Update commonobject.class.php
Hide the margintable if click at the top of it (usefull when customer are just in front of you), reappear when you click again
This commit is contained in:
parent
39ce76ba1b
commit
b210d7a00f
@ -3235,8 +3235,8 @@ abstract class CommonObject
|
||||
$rounding = min($conf->global->MAIN_MAX_DECIMALS_UNIT,$conf->global->MAIN_MAX_DECIMALS_TOT);
|
||||
|
||||
$marginInfo = $this->getMarginInfos($force_price);
|
||||
|
||||
print '<table class="nobordernopadding" width="100%">';
|
||||
print "<div onclick=\"$('#margintable').toggle();\" > </div>";
|
||||
print '<table class="nobordernopadding" id="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>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user