Commit graph

151292 commits

Author SHA1 Message Date
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
Laurent Destailleur
d4750e15de Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-28 02:02:42 +02:00
Laurent Destailleur
47f1fbaad6 Fix type of vat rate var 2024-04-28 02:02:01 +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
Noé Cendrier
decf04d15c
NEW: new consts to redirect from massaction createbills (#29436)
* NEW: new const to redirect to unique generated invoice from massaction

* NEW: new const to redirect to invoice list from massaction

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-28 01:49:05 +02:00
Mohamed DAOUD
743374eb2c
Add new parameter to redirectToContainer website function (#29469)
* add new parameter to redirecttocontainer

* syntax help

* Update website.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-28 01:48:03 +02:00
Laurent Destailleur
5b777188e2 Fix Phan 2024-04-28 01:47:18 +02:00
Laurent Destailleur
4aa1abf5e6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-28 01:22:08 +02:00
Laurent Destailleur
0c2fee90a4 Add substitutionkey date rfc Close #29510 2024-04-28 01:21:32 +02:00
ksar
3df149045d
FIX : Display the date according to user language on subsitutions (#29510)
See : https://www.dolibarr.fr/forum/t/format-date-dune-variable-de-substitution-dans-un-modele-de-courriel/40705
2024-04-28 01:17:09 +02:00
Frédéric FRANCE
82d63247d7
fix phpstan pgsql.class.php (#29511)
* fix phpstan pgsql.class.php

* Update Database.interface.php

* fix phan

fix phan

fix phan

* fix phan

* fix phan

* fix phan

* fix phan

fix phan

fix phan

fix phan

fix phan

* fix phan

* fix phan

* fix phan

* fix phan
2024-04-27 22:01:34 +02:00
Philippe Grand
661582875a
Fix : Warning: Undefined property: stdClass::$PRODUIT_DEFAULT_BARCODE_TYPE in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_product_standard.php on line 187 (#29479)
* 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 property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_product_standard.php on line 187

* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_thirdparty_standard.php on line 188

* fix :  Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/class/html.formbarcode.class.php on line 83

* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/class/html.formbarcode.class.php on line 84

* fix :Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/admin/barcode.php on line 460

* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/admin/barcode.php on line 471

* Update mod_barcode_product_standard.php

* Update mod_barcode_thirdparty_standard.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 18:14:20 +02:00
Laurent Destailleur
a9f5b5c227 Doxygen 2024-04-27 18:08:13 +02:00
Laurent Destailleur
5a0b19ad00 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-27 18:04:49 +02:00
Laurent Destailleur
2691603345 Doxygen 2024-04-27 18:04:27 +02:00
Vaadasch
28bfbccf9d
NEW Update expense report card.php to allow pdf preview even without thumbnail (#29491)
* Update card.php to allow pdf preview even without thumbnail

In the event of a bug of imagick, PDF are not generating image.png and there is no link to open the PDF reader.

Changing to allow opening of PDF reader by clicking on the icon.

* Eurgh, whitespaces

* Update card.php

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 17:41:12 +02:00
Frédéric FRANCE
52c414d931
How many errors remain before reaching the next phpstan analysis level? (#29509) 2024-04-27 17:19:40 +02:00
Laurent Destailleur
5ff2138b17 Add more parameters to hook formDolBanner 2024-04-27 17:13:51 +02:00
Laurent Destailleur
f533fccc5f Doc 2024-04-27 17:01:53 +02:00
Laurent Destailleur
c656df9d35 Doc 2024-04-27 16:39:26 +02:00
Laurent Destailleur
6994a787bd Doc 2024-04-27 13:35:35 +02:00
HENRY Florian
768846191b
fix: when invoice is created by WORKFLOW_ORDER_AUTOCREATE_INVOICE on ORDER_CLOSE, the invoice must have the default bank account of the thirdparty is it's empty on order (#29462)
* fix: when invoice is created by WORKFLOW_ORDER_AUTOCREATE_INVOICE on ORDER_CLOSE, the invoice must have the default bank account of the thirdparty is it's empty on order

* fix: add control on back stattement
2024-04-27 12:49:27 +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
atm-irvine
71c2256a6d
NEW : Edit ticket (#29497)
* NEW : Edit ticket

* Fixed for travis

* Fix pre-commit

* Fix for phan

* Update html.formticket.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 12:43:04 +02:00
Lucas Marcouiller
bfa3853acf
Fix emailcollector ticket tracking (#29393)
* Fix emailcollector ticket tracking

* fix some things

* fix fetch ticket for email collector

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 12:41:29 +02:00
Laurent Destailleur
78017e4982 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-27 05:03:30 +02:00
Laurent Destailleur
f156610572 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-27 05:03:15 +02:00
Laurent Destailleur
aac93f6e1f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-04-27 04:52:45 +02:00
Laurent Destailleur
4ed77028e9 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-04-27 04:49:16 +02:00
Laurent Destailleur
73a07ed669 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-04-27 04:49:08 +02:00
Laurent Destailleur
c29a27d79d Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-04-27 04:48:38 +02:00
Laurent Destailleur
90a89d3468 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-04-27 04:46:34 +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
Francis Appels
fdc1cdd94c
FIX incorrect page numbering in PDF #29458 (#29476)
* FIX incorrect page numbering in PDF #29458

* Work on width correction

* Work on width correction

* Work on width correction

* Work on code order
2024-04-27 04:36:51 +02:00
Laurent Destailleur
56e1412627 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-04-27 04:28:25 +02:00
Laurent Destailleur
50e9b4c9da
Revert "Fix translation of permissions after 6c521073ea9215fb7baddca5e48345b2…" (#29506)
This reverts commit 35aa10a28f.
2024-04-27 04:28:03 +02:00
Alban Durrheimer
35aa10a28f
Fix translation of permissions after 6c521073ea (#29477) 2024-04-27 04:22:18 +02:00
HENRY Florian
1c76738797
fix: php warning on migration (#29466) 2024-04-27 04:21:42 +02:00
HENRY Florian
c892182e70
add missing tranlation key in FR for memebers (#29467) 2024-04-27 04:21:18 +02:00
thibdrev
03a4d7bcce
phpdoc (#29474) 2024-04-27 04:20:55 +02:00
thibdrev
52e195fe17
phpdoc (#29480) 2024-04-27 04:20:26 +02:00
thibdrev
30b9b71396
phpdoc (#29481) 2024-04-27 04:19:35 +02:00
Laurent Destailleur
0312aaef90 Fix warnings 2024-04-27 04:18:49 +02:00
Laurent Destailleur
8db9b30fbb Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-27 04:07:00 +02:00
Can Arslan
74bc383fb0
FIX: TASK_CREATE Trigger (#29483)
TASK_CREATE Trigger should be called after insertExtraFields (like in TASK_MODIFY trigger) otherwise TASK_CREATE Trigger will be without projet_task_extrafields record
2024-04-27 03:59:37 +02:00
Yannis Hoareau
0d061938ff
Fix: php warning 8.2 property undefined (#29465) 2024-04-27 03:58:25 +02:00
Yannis Hoareau
7317e16737
FIX: php warning global conf (#29478) 2024-04-27 03:57:53 +02:00
PsyCrow
c17026f652
FIX: PHP Warning: Undefined array key "totalam" on line 1890 (#29489)
* FIX: PHP Warning:  Undefined array key "totalam" on line 1890

FIX PHP Warning:  Undefined array key "totalam" on line 1890

* Update list.php

* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 03:57:16 +02:00