Fix responsive

This commit is contained in:
Laurent Destailleur 2018-01-12 00:16:55 +01:00
parent f93f9e1a73
commit 5e7b814966
2 changed files with 5 additions and 5 deletions

View File

@ -686,7 +686,7 @@ if (empty($reshook))
if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED) && method_exists($lines[$i], 'fetch_optionals')) { if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED) && method_exists($lines[$i], 'fetch_optionals')) {
$lines[$i]->fetch_optionals($lines[$i]->rowid); $lines[$i]->fetch_optionals($lines[$i]->rowid);
} }
// Dates // Dates
// TODO mutualiser // TODO mutualiser
$date_start=$lines[$i]->date_debut_prevue; $date_start=$lines[$i]->date_debut_prevue;
@ -2439,6 +2439,8 @@ else
{ {
$num = $db->num_rows($result); $num = $db->num_rows($result);
$i = 0; $i = 0;
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder paymenttable" width="100%">'; print '<table class="noborder paymenttable" width="100%">';
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
print '<td class="liste_titre">' . ($object->type == FactureFournisseur::TYPE_CREDIT_NOTE ? $langs->trans("PaymentsBack") : $langs->trans('Payments')) . '</td>'; print '<td class="liste_titre">' . ($object->type == FactureFournisseur::TYPE_CREDIT_NOTE ? $langs->trans("PaymentsBack") : $langs->trans('Payments')) . '</td>';
@ -2449,7 +2451,6 @@ else
print '<td width="18">&nbsp;</td>'; print '<td width="18">&nbsp;</td>';
print '</tr>'; print '</tr>';
$var=false;
if ($num > 0) if ($num > 0)
{ {
while ($i < $num) while ($i < $num)
@ -2658,6 +2659,7 @@ else
} }
print '</table>'; print '</table>';
print '</div>';
print '</div>'; print '</div>';
print '</div>'; print '</div>';
@ -2712,8 +2714,6 @@ else
{ {
if ($action != 'editline') if ($action != 'editline')
{ {
$var = true;
// Add free products/services // Add free products/services
$object->formAddObjectLine(1, $societe, $mysoc); $object->formAddObjectLine(1, $societe, $mysoc);

View File

@ -1489,7 +1489,7 @@ div.tmenuleft
margin-top: 0px; margin-top: 0px;
<?php if (empty($conf->dol_optimize_smallscreen)) { ?> <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
width: 5px; width: 5px;
background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menutab-r.png',1); ?>) 0 -6px no-repeat; /* background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menutab-r.png',1); ?>) 0 -6px no-repeat; */
<?php } ?> <?php } ?>
<?php if ($disableimages) { ?> <?php if ($disableimages) { ?>
height: 26px; height: 26px;