mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX Filter on month of the balance of leaves.
This commit is contained in:
parent
a17d26665c
commit
c42605b0c5
|
|
@ -337,7 +337,7 @@ if (!empty($arrayfields['cpl.rowid']['checked'])) {
|
|||
// Filter: Date
|
||||
if (!empty($arrayfields['cpl.date_action']['checked'])) {
|
||||
print '<td class="liste_titre center">';
|
||||
print '<input class="flat valignmiddle maxwidth25" type="text" maxlength="2" name="search_month" value="'.dol_escape_htmltag($search_month).'">';
|
||||
print '<input class="flat valignmiddle maxwidth25" type="text" maxlength="2" name="search_month" value="'.dol_escape_htmltag($search_month ? (string) $search_month : '').'">';
|
||||
print $formother->selectyear($search_year, 'search_year', 1, 10, 5, 0, 0, '', 'valignmiddle width75', true);
|
||||
print '</td>';
|
||||
}
|
||||
|
|
@ -560,8 +560,8 @@ while ($i < min($num, $limit)) {
|
|||
}
|
||||
|
||||
if ($log_holiday == '2') {
|
||||
print '<tr class="opacitymedium">';
|
||||
print '<td colspan="10" class="opacitymedium">'.$langs->trans('NoRecordFound').'</td>';
|
||||
print '<tr>';
|
||||
print '<td colspan="10"><span class="opacitymedium">'.$langs->trans('NoRecordFound').'</span></td>';
|
||||
print '</tr>';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user