2
0
forked from Wavyzz/dolibarr
Commit Graph

297 Commits

Author SHA1 Message Date
Frédéric FRANCE
e81d5378cd clean code contract class (#35245)
* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code

* clean code

* clean code

* clean code

* clean code

* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-10 11:13:18 +02:00
Laurent Destailleur
408b42d712 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-04 22:47:41 +02:00
Alexandre SPANGARO
f1d82ddad1 FIX #34313 Accountancy - Export with sources no longer works (#34324) 2025-06-04 11:18:57 +02:00
itkuchlbauer
5464159418 add exportFile parameter to accountancyexport hook (#33583) 2025-03-24 01:22:56 +01:00
MDW
69fdccf2a4 Qual: Fix phan notices (accountancy, adherents) (#33480) 2025-03-16 15:19:54 +01:00
MDW
9dcf7fa0f5 Qual:Fix phan notices (multiple) (#33465) 2025-03-15 11:26:19 +01:00
ldestailleur
030d83145f Merge 2025-02-25 02:44:30 +01:00
Alexandre SPANGARO
5890046d8b Add hidden constants to remove some export file of the archive 2025-02-20 07:46:45 +01:00
Laurent Destailleur
37df9c3524 export 2024-11-10 18:42:57 +01:00
Laurent Destailleur
579aa77d76 Fix phpstan 2024-11-10 18:40:24 +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
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
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
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
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
MDW
87288a1a17 Fix: cast int to string for str_pad fixes PhanTypeMismatchArgumentInternal 2024-03-18 02:08:55 +01:00
MDW
717c47abd3 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:31 +01:00
Laurent Destailleur
949f5fc4f9 QUAL Start to rewrite the export of accountancy. Misconception generates
a lot of trouble.
2024-01-22 19:17:22 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
MDW
85ad4ecdf8 Qual: Spelling for htdocs/[a-b]* (#27422)
Mostly comments, one variable changed from misspelling to .
Also changed CNAT to C.N.A.T in comment to avoid fix from CNAT to CAN'T.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 20:58:09 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
7bb32a04b4 Fix warnings 2023-12-23 19:33:51 +01:00
Hystepik
5e4a4da130 Fix some php codce smell 2023-12-20 14:22:45 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
987d6c41b9 Fix with php-cs-fixer 2023-12-04 11:41:14 +01:00
IC-Nicolas
adee8ac1a8 FIX fix phpstan double copy of variable (#26739) 2023-11-19 01:01:38 +01:00
ayoubayed
1a9128e861 [#26692] Fixed : undefined var on accountacyexport.class.php && facture.class.php (#26698)
Co-authored-by: Ayoub BAYED <ayoub@code42.fr>
2023-11-18 12:11:08 +01:00
HENRY Florian
d1e6ac9acc Fix: php stan (#26713)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2023-11-18 11:54:37 +01:00
Laurent Destailleur
5b15b5c647 QUAL Move conf->global into getDolGlobal... 2023-10-24 17:00:13 +02:00
Alexandre SPANGARO
6e8fcb0b9d NEW Accountancy - FEC/FEC2 format export with attachments (#26192)
* NEW Accountancy - FEC/FEC2 format export with attachments

* Fix spaces

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-16 01:53:55 +02:00
Alexandre SPANGARO
432af47458 FIX Accountancy - Quadra format export with attachments - Recover also supplier invoice in archive (#26191)
* FIX Accountancy - Quadra format with source file - Recover also supplier invoice in archive

* Fix dir_output on expense report

* Fix spaces

* Comment
2023-10-12 11:17:49 +02:00
Dev2a
fcd4c4e429 Fix: Change access to $conf->global to function getDolGlobal (automatique) 2023-10-08 23:19:49 +02:00
Laurent Destailleur
e9f80875b7 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-09-22 01:19:49 +02:00
Laurent Destailleur
94f4521f19 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/accountancy/class/accountancyexport.class.php
	htdocs/commande/class/commandestats.class.php
2023-09-21 19:30:02 +02:00
Laurent Destailleur
cd69bd6cba Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-09-21 19:23:24 +02:00
Laurent Destailleur
a8f10304d0 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-09-21 19:22:48 +02:00
Laurent Destailleur
c1c7aedd2c Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2023-09-21 19:22:21 +02:00
Alexandre SPANGARO
4fabc22624 FIX Accountancy - Update Quadra export format 2023-09-17 07:38:03 +02:00
Laurent Destailleur
72f5fc8586 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-09-16 13:59:19 +02:00
Laurent Destailleur
5bb0f42c5a Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-09-16 13:51:36 +02:00
Laurent Destailleur
fe329cfc26 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2023-09-16 13:30:42 +02:00
Laurent Destailleur
c529ae8c61 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2023-09-16 13:28:22 +02:00
Quentin VIAL-GOUTEYRON
5001cc6de5 same fix for fec2 2023-09-06 14:23:16 +02:00
Quentin VIAL-GOUTEYRON
bbca5118b7 FIX export FEC 2023-08-29 12:12:21 +02:00
Laurent Destailleur
b06156536c Fix mb_strlen 2023-07-23 21:50:17 +02:00
Alexandre SPANGARO
0e3685a4ab FIX: Accountancy - Update Cogilog export 2023-05-02 06:15:05 +02:00
Laurent Destailleur
1d355561e9 Fix warning 2023-05-01 19:43:34 +02:00