You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is similar bug to 13453 related to contracts where notice begins in less 7 and 30 days. Both of them are the same.
I think the problem is in src/Contracts.php starting in row 1019
Code:
$options['criteria'][0]['field'] = 13;
$options['criteria'][0]['value'] = '>0';
$options['criteria'][1]['field'] = 13;
$options['criteria'][1]['value'] = '<7';
$twig_params['items'][] = [
'link' => $CFG_GLPI["root_doc"] . "/front/contract.php?" . Toolbox::append_params($options),
'text' => __('Contracts where notice begins in less than 7 days'),
'count' => $contractpre7
];
$options['criteria'][0]['value'] = '>6';
$options['criteria'][1]['value'] = '<30';
$twig_params['items'][] = [
'link' => $CFG_GLPI["root_doc"] . "/front/contract.php?" . Toolbox::append_params($options),
'text' => __('Contracts where notice begins in less than 30 days'),
'count' => $contractpre30
];
Code of Conduct
Is there an existing issue for this?
Version
10.0.16
Bug description
There is similar bug to 13453 related to contracts where notice begins in less 7 and 30 days. Both of them are the same.
I think the problem is in src/Contracts.php starting in row 1019
Code:
should be replaced by
Relevant log output
No response
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: