* Qual: Fix phan notice with copy of attribute
* Qual: Fix phan notices with cast and updated param definition
* Qual: Fix phan notice with cast
* Qual: Update parameter type hint in utf8_check function
The parameter type hint for the $str parameter in the utf8_check function has been updated to include nullable types (string or int).
* Qual: Update User parameter type to nullable in call_trigger methods
The User parameter in call_trigger methods has been updated to be nullable to accommodate cases where the user object might not be available. This change ensures better flexibility and robustness in the codebase.
* Qual: Update phan baseline
* Qual: phpstan compatible type
* Qual: Add missing type hints for phan
- Add missing type hints for phan
- Fix indentation issues
- Improved consistency in code structure
* Qual: Update field configuration for backward compatibility
Enhanced the field configuration for backward compatibility by adding expected properties to the 'ref' field array.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* clean code
* add hook on printColDescContent
Allow to add more informations on pdf description with hook management.
sample hook use :
public function printColDescContent($parameters, &$object, &$action)
{
$pdf = $parameters['pdf'];
if ($object->name == 'sponge mydiscount') {
//var_dump($parameters, $object, $action); exit;
$pdf->MultiCell(0, 3, "xxxxx", 0, 'L', 0, 1, '', '', true);
return 1;
}
}
* Add hook support to printColDescContent method
This patch fixes task events so that they are correctly displayed in the
task event list and that in the event the Linked Object referes back to
the task.
The issue was that the elementtype value in the database was being
referenced as both 'project_task' and 'task' by different parts of code
Co-authored-by: brad <brad@endurotags.com.au>
* NEW API for getting, adding, deleting and/or modifying email templates
* removing duplicate class formmail which has been moved to a separate file
* hurl file for testing the emailtemplates api
* more comprehensive tests of posting a new email template, all required fields and making sure that ID is rejected
* first GUI test of email templates
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* ADD: Option to optimize BOM combo list performance with search-based loading
* FIX: Remove debug backtrace and exit statement in security.lib.php
* FIX: Use dynamic database prefix in BOM combo list query
* FIX: Correct spacing issue in 'elseif' condition in bom.php
* NEW Accountancy - Add data-centralized in select_account()
* NEW Accountancy - Add script to greyed out subledger_account if general ledger is not centralized
* Fix phan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>