Merge pull request #4392 from aspangaro/3.9-p5

Fix: HRM index typo and presentation
This commit is contained in:
Laurent Destailleur
2016-01-12 23:00:06 +01:00

View File

@@ -142,7 +142,7 @@ $langs->load("boxes");
// Last expense report (new module)
// Last leave requests
if (! empty($conf->holiday->enabled) && $user->rights->holiday->read)
{
$sql = "SELECT u.rowid as uid, u.lastname, u.firstname, x.rowid, x.rowid as ref, x.fk_type, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.tms as dm, x.statut as status";
@@ -207,7 +207,7 @@ if (! empty($conf->holiday->enabled) && $user->rights->holiday->read)
}
else
{
print '<tr '.$bc[$var].'><td colspan="5">'.$langs->trans("None").'</td></tr>';
print '<tr '.$bc[$var].'><td colspan="7">'.$langs->trans("None").'</td></tr>';
}
print '</table><br>';
}