Fix responsive

This commit is contained in:
Laurent Destailleur 2020-11-22 01:28:56 +01:00
parent e5e320fd90
commit a3faa12753

View File

@ -335,9 +335,7 @@ if ($action != 'edit' && $action != 'create') // If not bank account yet, $acco
// Nbre max d'elements des petites listes // Nbre max d'elements des petites listes
$MAXLIST = $conf->global->MAIN_SIZE_SHORTLIST_LIMIT; $MAXLIST = $conf->global->MAIN_SIZE_SHORTLIST_LIMIT;
/* // Latest payments of salaries
* Latest salary payments
*/
if (!empty($conf->salaries->enabled) && if (!empty($conf->salaries->enabled) &&
$user->rights->salaries->read && (in_array($object->id, $childids) || $object->id == $user->id) $user->rights->salaries->read && (in_array($object->id, $childids) || $object->id == $user->id)
) )
@ -368,14 +366,17 @@ if ($action != 'edit' && $action != 'create') // If not bank account yet, $acco
$objp = $db->fetch_object($resql); $objp = $db->fetch_object($resql);
print '<tr class="oddeven">'; print '<tr class="oddeven">';
print '<td class="nowrap">'; print '<td class="nowraponall">';
$salary->id = $objp->rowid; $salary->id = $objp->rowid;
$salary->ref = $objp->rowid; $salary->ref = $objp->rowid;
print $salary->getNomUrl(1); print $salary->getNomUrl(1);
print '</td><td class="right" width="80px">'.dol_print_date($db->jdate($objp->datesp), 'day')."</td>\n"; print '</td>';
print '<td class="right" width="80px">'.dol_print_date($db->jdate($objp->datesp), 'day')."</td>\n";
print '<td class="right" width="80px">'.dol_print_date($db->jdate($objp->dateep), 'day')."</td>\n"; print '<td class="right" width="80px">'.dol_print_date($db->jdate($objp->dateep), 'day')."</td>\n";
print '<td class="right" style="min-width: 60px">'.price($objp->amount).'</td></tr>'; print '<td class="right" style="min-width: 60px">'.price($objp->amount).'</td>';
print '</tr>';
$i++; $i++;
} }
$db->free($resql); $db->free($resql);