Frédéric FRANCE
869d7af747
comment test not needed ( #33504 )
2025-03-19 13:48:56 +01:00
MDW
0cc1aa6d80
Qual: Fix phan notices (asset..compta/paiement) ( #33484 )
...
* Qual: Fix phan notices (accountancy, adherents)
* Qual: Fix phan notices (admin)
* Qual: Fix phan notices (asset..compta/paiement)
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-03-16 20:45:04 +01:00
MDW
2c95fba2ee
Qual: Fix phan notices (admin) ( #33483 )
...
* Qual: Fix phan notices (accountancy, adherents)
* Qual: Fix phan notices (admin)
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-03-16 20:21:22 +01:00
MDW
9dcf7fa0f5
Qual:Fix phan notices (multiple) ( #33465 )
2025-03-15 11:26:19 +01:00
MDW
2cd6459d10
Qual: Fix phan notices (*card) ( #33450 )
2025-03-14 17:25:11 +01:00
Laurent Destailleur (aka Eldy)
f02554d328
Fix warnings
2025-02-13 15:36:39 +01:00
MDW
4168a16151
Qual: Fix ifsql argument type
2025-02-09 20:14:22 +01:00
MDW
fd7fee2e8f
Qual: Fix textwithpicto $type argument (0->info,1->help)
2025-02-08 01:49:54 +01:00
Laurent Destailleur (aka Eldy)
11719102b3
Fix phan
2025-02-06 16:42:24 +01:00
Laurent Destailleur (aka Eldy)
fac786d7d0
Merge
2025-02-06 16:39:40 +01:00
Laurent Destailleur (aka Eldy)
d5b4656518
Fix phan
2025-02-06 16:38:12 +01:00
Laurent Destailleur (aka Eldy)
57a3daa358
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-02-06 15:03:44 +01:00
Laurent Destailleur (aka Eldy)
a97c2447a1
Debug v21
2025-02-06 15:02:55 +01:00
Laurent Destailleur (aka Eldy)
732f97d73c
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2025-02-05 00:40:06 +01:00
Laurent Destailleur (aka Eldy)
b024b95948
Fix typo
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
6250439309
Debug v21
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7
FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
...
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
de321e8f01
Fix typo
2025-01-09 02:01:49 +01:00
Laurent Destailleur (aka Eldy)
7f8295a30c
Debug v21
2025-01-08 17:45:28 +01:00
Laurent Destailleur (aka Eldy)
c0250e4c91
FIX CVE-2024-55227 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
...
on (hidden option not on by default)
2025-01-08 17:41:45 +01:00
Frédéric France
2d6389873a
fix phpstan
2024-12-14 13:32:42 +01:00
Pichi1966
855b609e43
Update assetdepreciationoptions.class.php
2024-12-10 00:52:04 +01:00
Pichi1966
0b0ea7dd7c
Update card.php with gmt
2024-12-10 00:36:29 +01:00
MDW
ec2a1928ba
Qual: Update fields phpdoc to include fields that are defined/used in some cases
...
# Qual: Update fields phpdoc to include fields that are defined/used in some cases
comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
Frédéric FRANCE
13b8f5feff
keep only commonobject property oldcopy ( #32123 )
...
* clean properties
* clean properties
* clean properties
* clean properties
* clean phpcs
* clean phan
* clean code
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-27 21:59:41 +01:00
Frédéric FRANCE
c51011b8d1
fix CI phpstan ( #32001 )
...
* Update project.class.php
* Update assetmodel.class.php
* Update assetmodel.class.php
* test
* Update assetmodel.class.php
* Update assetmodel.class.php
* Update assetmodel.class.php
* Update assetmodel.class.php
* Update project.class.php
* Update project.class.php
2024-11-19 15:40:37 +01:00
Laurent Destailleur
1386d8c388
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-11-19 04:21:29 +01:00
Marc de Lima Lucio
da70b46647
FIX: asset: missing ref_ext field used in CommonObject::isExistingObject() ( #31870 )
2024-11-17 01:43:43 +01:00
Marc de Lima Lucio
b6dfc496a2
FIX: assets: division by zero when trying to calculate depreciation on assets that don't have it ( #31858 )
...
* FIX: assets: division by zero when trying to calculate depreciation on assets that don't have it
* FIX: assets: division by zero when trying to calculate depreciation on assets that don't have it, part 2
2024-11-16 10:51:24 +01:00
Laurent Destailleur
e8c79df0e4
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-11-13 13:45:06 +01:00
Laurent Destailleur
16fcb19072
Fix phpstan
2024-11-13 13:42:03 +01:00
Laurent Destailleur
6065b605d4
Fix phpstan
2024-11-13 13:41:03 +01:00
MDW
56dc321665
Qual: Fix phan notices (in order of appearance) ( #31768 )
...
* Qual: Fix phan notices (in order of appearance)
* Qual: Fix phan notices (in order of appearance)/2
2024-11-12 00:35:14 +01:00
MDW
9ec4618199
Qual: Fix FunctionArray phan notices ( #31754 )
...
* Qual: Fix FunctionArray phan notices
* Fix class name in typing of htdocs/modulebuilder/index.php
* Fix customreports phpdoc
* Adjust file type after completeFileArrayWithDatabaseInfo
* Further phpdoc typing improvements
* More phpdoc
* Improve typing with cast on position field
* Force phpstan version
* Add phpstan exception
* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Frédéric FRANCE
92ef950e6d
fix phpstan ( #31761 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* hide new error with phpstan 1.12.9
2024-11-10 23:47:14 +01:00
Frédéric FRANCE
41a4f42b31
add phpdoc and clean phpstan baseline ( #31717 )
...
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc
* add phpdoc
* add phpdoc
2024-11-07 17:31:40 +01:00
Frédéric FRANCE
1adc883b56
add baseline exclude for phpstan ( #31632 )
...
* add baseline exclude for phpstan
* update
* update
* update
* update
* update
* merge
* restore one filter
* delete old errors
* fix
* fix
* fix
* $moreforfilter can t be empty
* fix
* enable check
* refresh baseline
* add phpdoc
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-04 23:53:20 +01:00
Pichi1966
e98402ab64
NEW FY Changed Period handle in Module Asset ( #31618 )
...
* NEW FY Changed Period handle in Module Asset
NEW This is the code modification to take in consideration any changed in fiscal year period adjustments to shortened or extended periods (e.g., fiscal years of 9 or 15 months)
* Clean asset.class.php
2024-10-29 17:44:47 +01:00
Pichi1966
d2316eb6e1
NEW Const ASSET_ROUND_INTEGER_NUMBER_UPWARDS for ASSET Module. Compatibily to migrate from other accounting solutions. ( #31615 )
...
* NEW CONST ASSET_ROUND_INTEGER_NUMBER_UPWARDS
New CONST ASSET_ROUND_INTEGER_NUMBER_UPWARDS
During several months, we worked with 3 accounting experts in migrating from Quadratus to Dolibarr several assets.(more than 200). We compared all of them ot get same result in Dolibarr. During this test we discoverd that Quadratus has an option to round upwards all the calculated asset values (less the last one). With this const and the code attach we get same result. This is really helpful to migration and also clarity in the lines.
Update asset.class.php Round upwards AssetCalculationThis new CONSTUpdate asset.class.php Round upwards AssetCalculation
* Update asset.class.php
2024-10-29 17:31:38 +01:00
Pichi1966
a0b6e9522e
FIX Update asset.class.php PHP Error and $depreciation_date_end ( #31611 )
...
This fix corrects 2 issues:
- PHP Error required (float)
- $depreciation_date_end was incorrect with an extra day. This was impacting last calculation period.
e.g; 5 years period starting the 30/09/2019 means $depreciation_date_end = 29/09/2024. It was returning 30/09/2024
2024-10-28 19:57:21 +01:00
Frédéric FRANCE
7dfa9b7d33
remove unused code ( #31610 )
...
* remove unused code
* remove unused code
* fix typo
* fix
* fix
* fix
2024-10-28 19:49:01 +01:00
Pichi1966
0fa6eb329e
FIX Asset Module Update assetdepreciationoptions.class.php ( #31589 )
...
Issue avoidind displaying Asset Depreciation Fields and avoiding CalculationDepreciation
2024-10-28 00:42:22 +01:00
Pichi1966
9317a9e314
FIX Asset Module Update depreciation_options_edit.tpl.php ( #31590 )
...
The AssetDepreciationOptionAmountBaseDepreciationHT (Base Amortissable) and 2 others fields AssetDepreciationOptionAmountBaseDeductibleHT, AssetDepreciationOptionTotalAmountLastDepreciationHT did not get their default value executed when using the following TPL:
asset/tpl/depreciation_options_edit.tpl.php
2024-10-28 00:35:06 +01:00
Laurent Destailleur
c41274dbd1
Debug v21
2024-10-26 21:09:09 +02:00
Laurent Destailleur
38fa5d28db
Debug v21
2024-10-26 20:03:22 +02:00
Laurent Destailleur
f5e4ab0220
Rewrite code to prepare refactoring
2024-10-26 15:24:54 +02:00
MDW
0ac595364b
Qual: Fix phan/phpstan notices in class files (part 1) ( #31501 )
...
* Ignore phpstan configuration for spelling
* Qual: Fix phan notices in class files
2024-10-25 21:00:02 +02:00
Laurent Destailleur
10c58950bb
Look and feel v21
2024-10-15 10:16:48 +02:00
Laurent Destailleur
d24069d5e2
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-10-03 20:35:33 +02:00
John BOTELLA
a333af2ceb
fix missing token for links ( #31225 )
2024-10-03 16:19:04 +02:00