Update services_list.php
This commit is contained in:
parent
9253034007
commit
66495f3a9d
@ -291,6 +291,11 @@ if ($socid > 0) {
|
|||||||
$sql .= " AND s.rowid = ".((int) $socid);
|
$sql .= " AND s.rowid = ".((int) $socid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$filter_dateouvertureprevue = '';
|
||||||
|
$filter_date1 = '';
|
||||||
|
$filter_date2 = '';
|
||||||
|
$filter_opcloture = '';
|
||||||
|
|
||||||
$filter_dateouvertureprevue_start = dol_mktime(0, 0, 0, $opouvertureprevuemonth, $opouvertureprevueday, $opouvertureprevueyear);
|
$filter_dateouvertureprevue_start = dol_mktime(0, 0, 0, $opouvertureprevuemonth, $opouvertureprevueday, $opouvertureprevueyear);
|
||||||
$filter_dateouvertureprevue_end = dol_mktime(23, 59, 59, $opouvertureprevuemonth, $opouvertureprevueday, $opouvertureprevueyear);
|
$filter_dateouvertureprevue_end = dol_mktime(23, 59, 59, $opouvertureprevuemonth, $opouvertureprevueday, $opouvertureprevueyear);
|
||||||
if ($filter_dateouvertureprevue_start != '' && $filter_opouvertureprevue == -1) {
|
if ($filter_dateouvertureprevue_start != '' && $filter_opouvertureprevue == -1) {
|
||||||
@ -422,18 +427,15 @@ $filter_date1 = isset($filter_date1) ? $filter_date1 : '';
|
|||||||
if ($filter_date1 != '') {
|
if ($filter_date1 != '') {
|
||||||
$param .= '&op1day='.$op1day.'&op1month='.$op1month.'&op1year='.$op1year;
|
$param .= '&op1day='.$op1day.'&op1month='.$op1month.'&op1year='.$op1year;
|
||||||
}
|
}
|
||||||
//removing PHP8 warnings
|
|
||||||
$filter_date2 = isset($filter_date2) ? $filter_date2 : '';
|
|
||||||
if ($filter_date2 != '') {
|
if ($filter_date2 != '') {
|
||||||
$param .= '&op2day='.$op2day.'&op2month='.$op2month.'&op2year='.$op2year;
|
$param .= '&op2day='.$op2day.'&op2month='.$op2month.'&op2year='.$op2year;
|
||||||
}
|
}
|
||||||
//removing PHP8 warnings
|
|
||||||
$filter_datecloture = isset($filter_datecloture) ? $filter_datecloture : '';
|
|
||||||
if ($filter_datecloture != '') {
|
if ($filter_datecloture != '') {
|
||||||
$param .= '&opclotureday='.$op2day.'&opcloturemonth='.$op2month.'&opclotureyear='.$op2year;
|
$param .= '&opclotureday='.$op2day.'&opcloturemonth='.$op2month.'&opclotureyear='.$op2year;
|
||||||
}
|
}
|
||||||
//removing PHP8 warnings
|
|
||||||
$optioncss = isset($optioncss) ? $optioncss : '';
|
|
||||||
if ($optioncss != '') {
|
if ($optioncss != '') {
|
||||||
$param .= '&optioncss='.$optioncss;
|
$param .= '&optioncss='.$optioncss;
|
||||||
}
|
}
|
||||||
@ -477,7 +479,6 @@ if ($mode == "5") {
|
|||||||
|
|
||||||
print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'contract', 0, '', '', $limit);
|
print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'contract', 0, '', '', $limit);
|
||||||
|
|
||||||
//adding isset to remove PHP8 warnings
|
|
||||||
if (isset($sall)) {
|
if (isset($sall)) {
|
||||||
foreach ($fieldstosearchall as $key => $val) {
|
foreach ($fieldstosearchall as $key => $val) {
|
||||||
$fieldstosearchall[$key] = $langs->trans($val);
|
$fieldstosearchall[$key] = $langs->trans($val);
|
||||||
@ -486,7 +487,6 @@ if (isset($sall)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$morefilter = '';
|
$morefilter = '';
|
||||||
//removing PHP8 warnings
|
|
||||||
$moreforfilter = '';
|
$moreforfilter = '';
|
||||||
|
|
||||||
// If the user can view categories of products
|
// If the user can view categories of products
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user