2
0
forked from Wavyzz/dolibarr
Commit Graph

1191 Commits

Author SHA1 Message Date
Laurent Destailleur
b0e03ce70f Merge pull request #27728 from Daoud-mohamed/Technical-debt-6
Fix some warnings -Technical debts-
2024-01-23 17:09:03 +01:00
Laurent Destailleur
c7c4459278 Update bookkeeping.class.php 2024-01-23 17:08:50 +01:00
Laurent Destailleur
f22cd0fd6b Update bookkeeping.class.php 2024-01-23 17:06:11 +01:00
Florian HENRY
f00f99a8dd fix: phpstan for accountancy/class/bookkeeping.class.php 2024-01-23 08:58:13 +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
mohamed daoud
86e3c1e84c fix-warnings-1 2024-01-22 16:57:33 +01:00
Laurent Destailleur
e950bdde26 Merge pull request #27687 from frederic34/dol_print_error_db
fix param
2024-01-22 00:03:06 +01:00
Alexandre SPANGARO
85fb65ad7e phpcs 2024-01-21 08:09:34 +01:00
Alexandre SPANGARO
c161a825f1 NEW Accountancy - Show accounting result on balance 2024-01-21 08:00:34 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Frédéric France
11a2f2c352 extend bookeepingline class 2024-01-17 20:09:10 +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
Laurent Destailleur
e2c91e67a0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-12 21:41:20 +01:00
Laurent Destailleur
569d9426d7 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-12 21:40:51 +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
f201692001 Fix phpstan 2024-01-12 19:50:22 +01:00
Laurent Destailleur
618a364064 FIX #27439 but using the opposite direction. int is bette as we can evolve to add a third value in a future. 2024-01-12 17:47:54 +01:00
Alexandre SPANGARO
5df2850dca FIX Accountancy - Level 3 of binding not working on supplier side (#27462) 2024-01-12 16:49:30 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
d2b3920684 Merge 2023-12-29 16:51:05 +01:00
Florian HENRY
3d23322556 FIX: bad accountancy code autoselection for supplier ventilation 2023-12-28 08:59:44 +01:00
MDW
b5b8a2a874 Fix utf8_encoding/decoding (PHP8.2 deprecation)
Fix files that were missed in #27018
2023-12-27 19:45:37 +01:00
Laurent Destailleur
89686e74dc Clean code 2023-12-26 22:33:22 +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
Laurent Destailleur
45bfea94a6 Removed not used code 2023-12-17 23:36:18 +01:00
Laurent Destailleur
1fb9c7bec8 Log 2023-12-13 22:09:39 +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
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
b69059af76 Fix warning 2023-11-27 12:24:18 +01:00
Laurent Destailleur
472f25d945 Debug v19: Caches must be stored into conf->cache['nameofcache'] 2023-11-20 19:50:47 +01:00
Laurent Destailleur
938b2da768 Clean code for closing of fiscal period and be ready for alternative
mode of working.
2023-11-19 13:12:58 +01:00
Laurent Destailleur
ab10297db7 Rename method for a more generic use 2023-11-19 12:42:06 +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
Alexandre SPANGARO
072bdbdc9a NEW Accountancy - Added management of tax period closures #FPC21 (#25859)
* NEW Accountancy - Added management of tax period closures

* Unlock function fiscal year & closure admin page

* Fix travis

* Fix Visibility function

* Fix indent & space

* Fix indent

* Fix travis

* Update text

* Add action to generate has new entry with sub-ledger accounts details

* Return code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-18 11:25:43 +01:00
Laurent Destailleur
a0bba05b02 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/commande/class/api_orders.class.php
	htdocs/compta/facture/card.php
	htdocs/core/lib/functions.lib.php
	htdocs/core/lib/project.lib.php
	htdocs/fourn/class/api_supplier_orders.class.php
	htdocs/fourn/class/fournisseur.facture-rec.class.php
	htdocs/langs/en_US/stocks.lang
2023-11-17 18:24:53 +01:00
Laurent Destailleur
5e59e8d0e4 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/langs/en_US/stocks.lang
2023-11-17 00:44:30 +01:00
atm-sami
966e26e450 FIX add display of an error when attempting to delete a committed transaction (#26573)
* add display of an error when attempting to delete a committed transaction

* update
2023-11-14 14:53:40 +01:00
Laurent Destailleur
a48e541093 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/class/bookkeeping.class.php
	htdocs/accountancy/journal/expensereportsjournal.php
	htdocs/core/class/html.formadmin.class.php
	htdocs/core/lib/functions.lib.php
2023-11-12 23:18:19 +01:00
Laurent Destailleur
79b7b9486b Doc 2023-11-12 22:40:23 +01:00
Alexandre SPANGARO
2e458d9390 FIX #26536 Accountancy - Balance - Not divided lines by label & account, only by account (#26547) 2023-11-12 21:52:47 +01:00
Alexandre SPANGARO
e2debe7cd8 FIX Accountancy - Journal - problem with displaying label in getNomUrl (#26424) 2023-11-01 14:23:24 +01:00
Lucas Marcouiller
af17b767c0 fix some warnings php8 (#26346)
Co-authored-by: Hystepik <lucas.marcouiller@gmail.com>
2023-10-26 12:37:18 +02:00
Laurent Destailleur
5b15b5c647 QUAL Move conf->global into getDolGlobal... 2023-10-24 17:00:13 +02:00
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
gdsoftdev
2d303b7c95 fix account code binding for supplier invoice (#26333) 2023-10-23 18:30:27 +02:00
Lucas Marcouiller
42865a975a Fix some code smell (#26277)
* Fix some code smell

* Update commande.class.php

---------

Co-authored-by: Hystepik <lucas.marcouiller@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-20 02:20:26 +02:00