Update sql image file for 7.0 stable
This commit is contained in:
parent
fe94562a56
commit
96ff5b1b23
File diff suppressed because one or more lines are too long
@ -96,7 +96,7 @@ class FormMargin
|
|||||||
$pv = $line->qty * $line->subprice * (1 - $line->remise_percent / 100);
|
$pv = $line->qty * $line->subprice * (1 - $line->remise_percent / 100);
|
||||||
$pa_ht = ($pv < 0 ? - $line->pa_ht : $line->pa_ht); // We choosed to have line->pa_ht always positive in database, so we guess the correct sign
|
$pa_ht = ($pv < 0 ? - $line->pa_ht : $line->pa_ht); // We choosed to have line->pa_ht always positive in database, so we guess the correct sign
|
||||||
$pa = $line->qty * $pa_ht;
|
$pa = $line->qty * $pa_ht;
|
||||||
|
|
||||||
// calcul des marges
|
// calcul des marges
|
||||||
if (isset($line->fk_remise_except) && isset($conf->global->MARGIN_METHODE_FOR_DISCOUNT)) { // remise
|
if (isset($line->fk_remise_except) && isset($conf->global->MARGIN_METHODE_FOR_DISCOUNT)) { // remise
|
||||||
if ($conf->global->MARGIN_METHODE_FOR_DISCOUNT == '1') { // remise globale considérée comme produit
|
if ($conf->global->MARGIN_METHODE_FOR_DISCOUNT == '1') { // remise globale considérée comme produit
|
||||||
@ -214,7 +214,9 @@ class FormMargin
|
|||||||
if (!empty($hidemargininfos)) print '<script>$(document).ready(function() {$(".margininfos").hide();});</script>';
|
if (!empty($hidemargininfos)) print '<script>$(document).ready(function() {$(".margininfos").hide();});</script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '<div class="div-table-responsive-no-min">';
|
||||||
print '<!-- Margin table -->'."\n";
|
print '<!-- Margin table -->'."\n";
|
||||||
|
|
||||||
print '<table class="noborder margintable centpercent">';
|
print '<table class="noborder margintable centpercent">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td class="liste_titre">'.$langs->trans('Margins').'</td>';
|
print '<td class="liste_titre">'.$langs->trans('Margins').'</td>';
|
||||||
@ -273,6 +275,7 @@ class FormMargin
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
print '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user