Make the feature "Kanban Grouped By" on opportunities visible by default

This commit is contained in:
ldestailleur
2025-06-05 15:49:53 +02:00
parent cab064083c
commit 9e5769b8b7
5 changed files with 59 additions and 43 deletions

View File

@@ -1216,7 +1216,7 @@ function GETPOSTFLOAT($paramname, $rounding = '')
* or 'end' means '23:59:59'
* or '' means '00:00:00' (default)
* @param int|string $gm Passed to dol_mktime. In most cases, when used with 'getpost' or 'getpostend', it should be 'tzuserrel'. Use 'auto' if you need dates related to 'tzserver' (like in accountancy).
* @param string $saverestore Use a string context to save retrieved date so it will be used on next retrieve using same context if not defined.
* @param string $saverestore Use a string family context to save retrieved date so it will be used on the next retrieval for the same family context (if value not already defined in parameters).
* @return int|string Date as a timestamp, '' or false if error
*
* @see dol_mktime()
@@ -13563,6 +13563,10 @@ function dolGetButtonTitle($label, $helpText = '', $iconClass = 'fa fa-file', $u
if (getDolGlobalString('MAIN_BUTTON_HIDE_UNAUTHORIZED') && (!$user->admin) && $status <= 0) {
return '';
}
// Fix old picto fa-th-list to use fa-grid-vertical instead
if ($iconClass == 'fa fa-th-list imgforviewmode') {
$iconClass = ' fa fa-grip-horizontal imgforviewmode';
}
$class = 'btnTitle';
if (in_array($iconClass, array('fa fa-plus-circle', 'fa fa-plus-circle size15x', 'fa fa-comment-dots', 'fa fa-paper-plane'))) {