2
0
forked from Wavyzz/dolibarr
Commit Graph

14155 Commits

Author SHA1 Message Date
Frédéric FRANCE
ff35192b64 fix phan (#29513)
* fix phan

* Update donation.php

* Update project.php

* Update facture.class.php
2024-04-28 12:31:54 +02:00
Laurent Destailleur
2862a61ee1 Clean code 2024-04-28 02:19:04 +02:00
Laurent Destailleur
4a59a2c91e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-28 02:10:54 +02:00
Laurent Destailleur
fb72227e9d Code comment 2024-04-28 02:09:45 +02:00
Yamil Esteban Garcia
7d694036ed Update bonprelevement.class.php (#29345)
* Update bonprelevement.class.php

Problem


When creating the file sepa ( Direct Debit File) if the amount ends in 0, such as 50.60, the program generates the file with rounding 50.6.


Some banks, for example, La Caixa (CaixaBank) do not accept the direct debit file if the decimal number does not have two digits.


Solution:


What I propose is to create a configuration variable called SEPA_ROUND_TWO_ZERO that allows for a two-digit rounding even if it ends in 0. That is, if the amount is 50.6, the file will be generated with the amount 50.60.

* Update bonprelevement.class.php

As you have told me, I have used the price2num function with the 'MT' parameter but I have also had to use the number_format function since this function, when passing a value like 6.50, returns 6.5 and I need it to return 6.50 as i explained to you at the beginning of the request

* Update bonprelevement.class.php

* Update bonprelevement.class.php

change in format code

* Update bonprelevement.class.php

format in de code

* Update bonprelevement.class.php

format in code

* Update bonprelevement.class.php

format file

* Update bonprelevement.class.php

* Update bonprelevement.class.php

* Update bonprelevement.class.php

* Update bonprelevement.class.php

* Update bonprelevement.class.php
2024-04-28 02:08:43 +02:00
Charlène Benke
2d999d7ed5 Add order line on typent list (like in societe card (#29468)
* Add order line on typent list (like in societe card

* Update cabyprodserv.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-28 01:51:37 +02:00
Laurent Destailleur
5b777188e2 Fix Phan 2024-04-28 01:47:18 +02:00
Frédéric FRANCE
26da44e254 fix phpstan (#29431)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* remove params not used

* add WARNING
2024-04-27 12:45:50 +02:00
Oarces DEV
2c06d41a9d FIX #29470 relate format (#29471)
* FIX #29470 relate format

FIX #29470

* Update bankentries_list.php

* Update bankentries_list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 04:44:50 +02:00
Laurent Destailleur
cdbe6cf6d9 Doc 2024-04-24 21:53:40 +02:00
Laurent Destailleur
a65b31c4cf Debug v20 2024-04-24 21:15:45 +02:00
Charlène Benke
ef2ad8b59b add typent filter on thirdparty (#29443) 2024-04-24 21:11:37 +02:00
Laurent Destailleur
1908d6cf98 Look and feel v20 - All combo of categories are using the colored picto 2024-04-24 02:40:53 +02:00
Laurent Destailleur
8243abde83 Debug v20 2024-04-23 00:54:44 +02:00
Laurent Destailleur
2f7e9734bd Debug v20 2024-04-23 00:38:56 +02:00
Laurent Destailleur
23c1b90d77 css 2024-04-22 20:55:03 +02:00
Laurent Destailleur
60c0fc2386 Fix warning PHP 8.2 2024-04-22 18:42:34 +02:00
atm-adrien
d663dc2ea4 FIX : No decimals in result.php (#29377)
* FIX : No decimals in result.php

* FIX : PR returns
2024-04-22 16:29:02 +02:00
Frédéric FRANCE
5d421b1437 fix phpstan supplier invoice rec (#29398) 2024-04-20 22:45:14 +01:00
Frédéric FRANCE
dbd8657de1 Cleanaccount (#29271)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* wip

* wip

* wip
2024-04-20 21:53:40 +01:00
Laurent Destailleur
ae1bf61fab Debug v20 2024-04-20 20:31:32 +02:00
Laurent Destailleur
27dcafc05e Debug v20 2024-04-20 19:09:34 +02:00
Laurent Destailleur
4887cb8b36 Fix warnings 2024-04-19 13:44:06 +02:00
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Laurent Destailleur
c5751a970a Fix CSS 2024-04-19 01:39:48 +02:00
Laurent Destailleur
17974363c9 Add option INVOICE_REC_PRICE_MAY_CHANGE 2024-04-19 01:22:58 +02:00
Laurent Destailleur
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
Laurent Destailleur
6475d580c2 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/product/stock/replenish.php
	htdocs/theme/eldy/global.inc.php
2024-04-18 02:33:50 +02:00
Eric
8e23600ee0 fix start amount, '' is less than first releve.... (#29366) 2024-04-17 17:25:13 +01:00
Laurent Destailleur
1ed24a7041 Fix phpstan 2024-04-14 01:22:42 +02:00
Laurent Destailleur
5e74bd4db8 Fix filter on company. 2024-04-12 19:45:49 +02:00
Laurent Destailleur
e5240123a1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-04-12 19:24:31 +02:00
Charlène Benke
e414f06835 add thirdparty category filter (#29313)
* add thirdparty category filter

* Update cabyprodserv.php
2024-04-12 17:57:08 +02:00
Laurent Destailleur
c58e6f7373 Look and feel v20 2024-04-12 03:14:46 +02:00
Laurent Destailleur
11c895dc9d Try to reduce CTI errors by removing alert on less important warnings. 2024-04-12 02:28:04 +02:00
Laurent Destailleur
0a3f66c6c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	dev/tools/codespell/codespell-ignore.txt
	htdocs/admin/system/security.php
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/menus/standard/eldy.lib.php
	htdocs/product/fournisseurs.php
2024-04-11 22:57:43 +02:00
Laurent Destailleur
b9b097057a Fix subtype must be visible only for countries that need subtype
invoices
2024-04-08 12:02:31 +02:00
Philippe Grand
4f8ee05c4e Fix : Warning: Undefined variable $toselect in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/compta/bank/various_payment/list.php on line 370 (#29276)
* fix : Warning: Undefined variable  in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/compta/bank/various_payment/list.php on line 370

* backward

* fix : Warning: Undefined variable  in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/compta/bank/various_payment/list.php on line 370
2024-04-08 11:10:10 +02:00
Laurent Destailleur
bc8e4c19cc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-07 15:06:46 +02:00
Frédéric FRANCE
95eb1abf2e clean code (#29268) 2024-04-07 15:01:29 +02:00
Laurent Destailleur
b5de782c6b Fix use the good HTTP code 2024-04-07 14:59:25 +02:00
Frédéric FRANCE
97240a05b0 fix phpdoc (#29266) 2024-04-07 14:17:50 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +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
09a4c75d0c Merge branch 'develop' into develop_rename_cum_var 2024-04-04 16:40:16 +02:00
Laurent Destailleur
0fe0cd7c01 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-04 11:39:02 +02:00
Laurent Destailleur
893eff03ba Fix escape js 2024-04-04 11:21:15 +02:00
Laurent Destailleur
404ba88107 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-04-04 11:19:45 +02:00
Eric Seigne
addccfd273 rename cum to cumulative 2024-04-03 22:18:53 +02:00