forked from Wavyzz/dolibarr
NEW: add duration extrafields (#31595)
* new: add duration extrafields * style: fix style * ci: fix precommit config * style: run cs fixer * ci: adapt type to fit with php-stan * ci: adapt type to fit with php-stan * ci: adapt type to fit with php-stan --------- Co-authored-by: Benoît PASCAL <contact@p-ben.com>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Lenin Rivas <lenin.rivas777@gmail.com>
|
||||
* Copyright (C) 2024 Josep Lluís Amador Teruel <joseplluis@lliuretic.cat>
|
||||
* Copyright (C) 2024 Benoît PASCAL <contact@p-ben.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -4921,6 +4922,7 @@ function getPictoForType($key, $morecss = '')
|
||||
'boolean' => 'check-square',
|
||||
'date' => 'calendar',
|
||||
'datetime' => 'calendar',
|
||||
'duration' => 'hourglass',
|
||||
'phone' => 'phone',
|
||||
'mail' => 'email',
|
||||
'url' => 'url',
|
||||
@@ -5060,7 +5062,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0, $srco
|
||||
'1downarrow', '1uparrow', '1leftarrow', '1rightarrow', '1uparrow_selected', '1downarrow_selected', '1leftarrow_selected', '1rightarrow_selected',
|
||||
'accountancy', 'accounting_account', 'account', 'accountline', 'action', 'add', 'address', 'ai', 'angle-double-down', 'angle-double-up', 'asset',
|
||||
'back', 'bank_account', 'barcode', 'bank', 'bell', 'bill', 'billa', 'billr', 'billd', 'birthday-cake', 'bom', 'bookcal', 'bookmark', 'briefcase-medical', 'bug', 'building',
|
||||
'card', 'calendarlist', 'calendar', 'calendarmonth', 'calendarweek', 'calendarday', 'calendarperuser', 'calendarpertype',
|
||||
'card', 'calendarlist', 'calendar', 'calendarmonth', 'calendarweek', 'calendarday', 'calendarperuser', 'calendarpertype', 'hourglass',
|
||||
'cash-register', 'category', 'chart', 'check', 'clock', 'clone', 'close_title', 'code', 'cog', 'collab', 'company', 'contact', 'country', 'contract', 'conversation', 'cron', 'cross', 'cubes',
|
||||
'check-circle', 'check-square', 'circle', 'stop-circle', 'currency', 'multicurrency',
|
||||
'chevron-left', 'chevron-right', 'chevron-down', 'chevron-top',
|
||||
|
||||
Reference in New Issue
Block a user