From 47f63172e3fe410732c08953b9fbccb27c701380 Mon Sep 17 00:00:00 2001
From: aspangaro <alexandre.spangaro@gmail.com>
Date: Sun, 10 Jan 2016 14:58:54 +0100
Subject: [PATCH] Fix: HRM index typo and presentation

---
 htdocs/compta/hrm.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/htdocs/compta/hrm.php b/htdocs/compta/hrm.php
index 2f176bc0c32..08ca07b04c5 100644
--- a/htdocs/compta/hrm.php
+++ b/htdocs/compta/hrm.php
@@ -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>';
     }
-- 
GitLab