Fixed [ bug #1691 ] Don't think the ID should be displayed in holiday module
This commit is contained in:
parent
491aef72e0
commit
0a0e0e068c
@ -144,17 +144,14 @@ if($cp_events == 1)
|
|||||||
print '</form><br>';
|
print '</form><br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
dol_fiche_head();
|
|
||||||
|
|
||||||
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">'."\n";
|
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">'."\n";
|
||||||
print '<input type="hidden" name="action" value="update" />';
|
print '<input type="hidden" name="action" value="update" />';
|
||||||
print '<table class="noborder" width="100%;">';
|
print '<table class="noborder" width="100%;">';
|
||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
print '<td width="5%">'.$langs->trans('ID').'</td>';
|
print '<td width="55%">'.$langs->trans('Employee').'</td>';
|
||||||
print '<td width="50%">'.$langs->trans('Employee').'</td>';
|
|
||||||
print '<td width="20%" style="text-align:center">'.$langs->trans('Available').'</td>';
|
print '<td width="20%" style="text-align:center">'.$langs->trans('Available').'</td>';
|
||||||
print '<td width="20%" style="text-align:center">'.$langs->trans('Note').'</td>';
|
print '<td width="20%" style="text-align:center">'.$langs->trans('Note').'</td>';
|
||||||
print '<td style="text-align:center">'.$langs->trans('UpdateButtonCP').'</td>';
|
print '<td></td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
foreach($listUsers as $users)
|
foreach($listUsers as $users)
|
||||||
@ -163,7 +160,6 @@ foreach($listUsers as $users)
|
|||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|
||||||
print '<tr '.$bc[$var].' style="height: 20px;">';
|
print '<tr '.$bc[$var].' style="height: 20px;">';
|
||||||
print '<td>'.$users['rowid'].'</td>';
|
|
||||||
print '<td>';
|
print '<td>';
|
||||||
$userstatic->id=$users['rowid'];
|
$userstatic->id=$users['rowid'];
|
||||||
$userstatic->lastname=$users['name'];
|
$userstatic->lastname=$users['name'];
|
||||||
@ -183,9 +179,6 @@ foreach($listUsers as $users)
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
dol_fiche_end();
|
|
||||||
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|||||||
@ -48,7 +48,6 @@ ConfirmDeleteCP=Confirm the deletion of this leave request?
|
|||||||
ErrorCantDeleteCP=Error you don't have the right to delete this leave request.
|
ErrorCantDeleteCP=Error you don't have the right to delete this leave request.
|
||||||
CantCreateCP=You don't have the right to make leave requests.
|
CantCreateCP=You don't have the right to make leave requests.
|
||||||
InvalidValidatorCP=You must choose an approbator to your leave request.
|
InvalidValidatorCP=You must choose an approbator to your leave request.
|
||||||
UpdateButtonCP=Update
|
|
||||||
CantUpdate=You cannot update this leave request.
|
CantUpdate=You cannot update this leave request.
|
||||||
NoDateDebut=You must select a start date.
|
NoDateDebut=You must select a start date.
|
||||||
NoDateFin=You must select an end date.
|
NoDateFin=You must select an end date.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user