Alexandre SPANGARO
dfa1a5dd6e
NEW Accountancy - Option to select the label operation ( #31200 )
...
* NEW Accountancy - Option to select the label operation
* NEW Accountancy - Option to select the label operation
* NEW Accountancy - Option to select the label operation
* NEW Accountancy - Option to select the label operation
* Fix codespell
* Fix CodeSniffer
* Fix Phan
* Some fix
* User function csvClean
* User function csvClean
2024-10-06 14:06:20 +02:00
MDW
f70c945931
Qual: Fix phan/stan notices ( #31271 )
...
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall
Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
2024-10-05 18:55:36 +02:00
thomas-Ngr
88879e0708
Add triggers on Bookkeeping class ( #31204 )
2024-10-03 20:52:39 +02:00
Laurent Destailleur
7b61965042
FIX autoselect the fiscal period by default
2024-09-30 13:19:39 +02:00
Laurent Destailleur
d2a279cc7d
FIX autoselect the fiscal period by default
2024-09-30 13:13:15 +02:00
Laurent Destailleur
2d62400b22
FIX autoselect the fiscal period by default
2024-09-30 13:12:42 +02:00
MDW
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset ( #31176 )
...
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-29 21:52:31 +02:00
Laurent Destailleur
cc95331fc6
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-23 22:09:24 +02:00
Laurent Destailleur
0f5e5e1e5b
FIX Maxi debug edit/delete accounting transaction
2024-09-23 21:42:52 +02:00
Laurent Destailleur
33da02bbcd
FIX Maxi debug edit/delete accounting tnasaction
2024-09-23 20:16:39 +02:00
MDW
506454b10a
Qual: Resolve ~200 phan notices/~100 phpstan notices ( #30879 )
...
* bookkeeping\card.php, productaccount
* Fix bookkeeping/listbyaccount
* Typing for accountancycategory
* Fix typing accountancyimport
* Typing accountingaccount
* Typing api_accountancy
* bookkeeping typing
* Fix typing lettering
* Typing for accountancy/customer/list
* Typing accountancy/journal/bankjournal
* typing accountancy/journal/variousjournal
* Typing accountancy/supplier/list
* Initialisations in accountancy/journal/expensereportsjournal
* Initialisations in accountancy/journal/purchasesjournal
* Initialisations in accountancy/journal/sellsjournal
* Update baseline
2024-09-10 02:11:53 +02:00
MDW
32732d37d2
Qual: Improve typing in Export class ( #30859 )
...
* Update baseline
* Qual: Improve typing in Export class
* Add 'abstract' methods to help with typing
* Add some typing
* Improve typing in export modules
* Improve typing for AccountancyExport
* Qual: PHPDoc executeCLI (nullable arguments, range)
* PHPDoc for export function
* Fix $permissiontoClose -> $permissiontoclose
* PHPDoc - Improve AccountingJournal typing
* Improve export_journal tpl typing
* Improve html.formsetup typing
* Impove commonfieldsexport typing
* Improve extrafieldsinexport typing
* Fix typing, initialisation
* Fix typing intracommreport
* Ensure string in $error for CronJob
2024-09-09 03:15:26 +02:00
Frédéric FRANCE
80d1f47d4d
fix ignored phpstan (most of expects string, int given) ( #30649 )
...
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-05 16:05:37 +02:00
MDW
aa49419e8f
Qual: Fix/initial type cannot be inferred ( #30591 )
...
* Update baseline
* Add/update phpdoc typings
* Fix type for AssetDepreciationOptions as is
* Fix typing for Asset->depreciation_lines
* $card is used in derived classes, add it back to ActionsAdherentCardCommon
* Adjust code with typing/corrections for defined types
* Fix typos, code update to match typing, extra typing
* Add type cast for numeric operation
* Phpdoc/cast adjustments detected because of new phpdoc hints
2024-08-10 23:21:46 +02:00
MDW
45ed4caeb2
Qual: Enable Phan Simplify rule and fix notices ( #30537 )
...
* Qual: Phan - Enable Simplyfy expression
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Qual: Simplify expression (phan notice)
* Update functions2.lib.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-08-07 03:05:02 +02:00
Laurent Destailleur
b3b21d56b6
Fix doxygen
2024-08-07 02:49:38 +02:00
MDW
d6948077b2
Qual: Fix spelling/update .pre-commit configuration (versions) ( #30546 )
...
* Qual: Update pre-commit configuration
* Qual: Update spelling
* Ignore use of deprecated constant
2024-08-07 01:20:43 +02:00
Laurent Destailleur
ee0412dd27
Fix phan warning
2024-07-31 18:54:52 +02:00
Laurent Destailleur
f1cfbb68c6
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-07-22 11:23:41 +02:00
Laurent Destailleur
5890f359d0
Fix missing the compatibility layer for conferenceofbooth
2024-07-21 12:15:30 +02:00
Frédéric FRANCE
2707475a12
fix phpstan ( #30319 )
...
* fix phpstan
* fix phpstan expects int, false given ...
* fix phpstan expects int, true given ...
2024-07-08 21:45:35 +02:00
Frédéric FRANCE
4b275dc148
add phpdoc ( #30208 )
...
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* clean phpdoc
2024-06-30 19:39:01 +02:00
Alexandre SPANGARO
4cde150804
NEW Accountancy - Add partial reconcile on subledger ( #30027 )
...
* NEW Accountancy - Add partial lettering on subledger
* Fix PHPCS
* Fix codespell
2024-06-19 20:10:04 +02:00
lvessiller-opendsi
3929653365
NEW due date in accounting bookkeeping list and card ( #30061 )
...
* NEW due date in accounting bookkeeping list and card
* fix pre-commit
* fix pre-commit
2024-06-19 19:47:22 +02:00
lvessiller-opendsi
46864255ba
FIX validated date filter on accountancy bookkeeping list and export ( #30069 )
2024-06-18 18:32:27 +02:00
Frédéric FRANCE
d5de4f4f67
fix cti ( #29809 )
...
* fix cti
* Update accountingaccount.class.php
* Update accountingaccount.class.php
* Update admin.lang
* Update ignore_translation_keys.lst
* Update ignore_translation_keys.lst
* Update json.lib.php
2024-06-03 13:44:31 +02:00
Frédéric FRANCE
39fda91129
fix cti ( #29808 )
...
* fix cti
TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($rowid)
* Update accountingjournal.class.php
* fix phan
2024-06-01 12:06:41 +02:00
Laurent Destailleur
82908a30eb
Clean phan warnings
2024-05-30 13:37:17 +02:00
Laurent Destailleur
4e62323b70
Fix warnings
2024-05-23 20:20:57 +02:00
Laurent Destailleur
8244b920df
Remove phan warning
2024-05-23 15:47:25 +02:00
Laurent Destailleur
59ae417912
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-23 12:52:28 +02:00
Laurent Destailleur
481fec5291
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-05-21 20:12:45 +02:00
lvessiller-opendsi
f72232399b
NEW auto-determine piece number in FEC import ( #29672 )
...
* NEW auto-determine piece number in FEC import
* FIX float value for abs function
2024-05-15 18:10:21 +02:00
lvessiller-opendsi
cfc162a31d
FIX lettering (auto) for invoice deposit with company discount ( #29633 )
2024-05-07 21:44:05 +02:00
Frédéric FRANCE
d0830b3159
fix phpstan ( #29602 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
fix phpstan
fix phpstan
fix phpstan
fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-05 00:34:19 +02:00
Laurent Destailleur
d4b7332c76
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-04-22 14:24:14 +02:00
Laurent Destailleur
6303bceecd
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-04-22 14:19:59 +02:00
lvessiller-opendsi
370785d515
FIX accounting FEC import (Issue #28306 ) ( #29414 )
2024-04-20 22:18:10 +01:00
MDW
bec5ff4749
Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num, fix hooks typings ( #29298 )
...
* Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num
* Fix typing in hookmanager class
* Improve DolHooksCollector phpdoc
* Fix PhanTypePossiblyInvalidDimOffset by testing index's existence
* Ignore PhanTypePossiblyInvalidDimOffset that phan can not detect
* Allow to be null, initialise instead of unset
2024-04-09 23:21:28 +02:00
Laurent Destailleur
082195b249
Fix #yogosha21569
2024-04-09 18:49:48 +02:00
Laurent Destailleur
b5de782c6b
Fix use the good HTTP code
2024-04-07 14:59:25 +02:00
Laurent Destailleur
fd9475be03
Use same doc comment eveywhere.
2024-04-07 12:26:27 +02:00
Alexandre SPANGARO
d459ee6b7b
NEW - Accountancy - Show import key if exist ( #29265 )
2024-04-07 11:47:23 +02:00
Frédéric FRANCE
7cf6a0821f
fix phpdoc for ismultientitymanaged ( #29245 )
...
* fix phpdoc
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-04-06 17:38:39 +02:00
Laurent Destailleur
38fb00489d
PHPDoc
2024-04-05 13:44:59 +02:00
Laurent Destailleur
572600bfd3
NEW Use a nicer combo list to select the export accounting format
2024-04-02 17:41:53 +02:00
Laurent Destailleur
af41ec8e41
Clean code - Remove not used method fetchAll and CSS
2024-04-02 16:42:21 +02:00
Laurent Destailleur
df6c697dfc
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-03-29 11:51:07 +01:00
Laurent Destailleur
f2fde181a0
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-03-29 11:47:28 +01:00
Alexandre SPANGARO
522a012053
FIX Accountancy export with file or not
2024-03-26 16:13:54 +01:00