Commit Graph

14689 Commits

Author SHA1 Message Date
Frédéric FRANCE
7ef1d270e7 fix phpstan in loan cards (#31758)
* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in cards
2024-11-10 17:55:36 +01:00
uvaldenaire-opendsi
67bcc242db fix trim null value on invoice creation (#31682)
* fix trim null value on invoice creation

* fix trim with null value for note_public
2024-11-10 11:18:05 +01:00
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* 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-11-10 11:16:23 +01:00
Laurent Destailleur
27224afa9f Debug v21 2024-11-10 02:21:50 +01:00
Laurent Destailleur
46974bdf3f Debug v21 2024-11-10 02:19:35 +01:00
Laurent Destailleur
c7d0482f8d Debug v21 2024-11-10 01:59:46 +01:00
Laurent Destailleur
6db1a73f9e Debug v21 2024-11-10 01:47:19 +01:00
Laurent Destailleur
31f147622a The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
2024-11-07 12:26:42 +01:00
MDW
43b5bb049a Qual: Fix phan notifications for compta/facture/card (#30667)
* Qual: Fixes for htdocs/compta/facture/card.php (phan)

* Improve initialisations compta/facture/card

* Add initialisations and tests to fix phan notices

* Add initialisations for phan

* Test argument to property_exists is not null for typing

* Ignore PhanUndeclaredProperty notice on specific line

* Fix uninitialized $price_base_type

* Changes after rebase

* Remove duplicate becasue of rebase

* Update card.php

* Add dolsyslog of observed type

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-07 05:10:31 +01:00
Laurent Destailleur
b03684c0ee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:28 +01:00
Laurent Destailleur
13ce7cfd04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:14 +01:00
MDW
178d748cad Qual: Fix phan/phpstan notices in class files (part 5) (#31617)
* Qual: fix commonstickergen..don.class

* Fix notifications for pdf_paiement...cronjob.class

* Qual: Fix notifications for emailcollector..price_parser.class

* Ensure that NULL is used in the database when fk's are 0/empty

* Fix notifications for pdf_paiement...cronjob.class

* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
Frédéric FRANCE
0d7bc505d3 add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
Laurent Destailleur
0819a57345 Better fix for #31015 2024-11-06 19:12:49 +01:00
Frédéric FRANCE
52e99c4795 add phpdoc (#31700)
* add phpdoc

* add phpdoc
2024-11-05 17:31:29 +01:00
Frédéric FRANCE
24e7285539 fix CI (#31692)
* Update commonobjectline.class.php

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-05 15:33:09 +01:00
Laurent Destailleur
1b1e5979ed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-05 15:23:53 +01:00
Bahfir Abbes
9d1aff0d79 Fix:Style bodyforlist is better for cashcontrols list (#31691)
Co-authored-by: abb <contact@ab1consult.com>
2024-11-05 15:23:32 +01:00
Laurent Destailleur
be1a658285 Look and feel v21 2024-11-05 15:22:55 +01:00
Alexandre SPANGARO
1558112e55 Fix phan (#31690)
* Fix phan

* Fix phan

* Fix phan

* Fix copyright

* Fix phan

* Fix phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-05 15:10:27 +01:00
Laurent Destailleur
91fdfc7bf0 Fix phan 2024-11-05 14:25:49 +01:00
Laurent Destailleur
54216fc00d Fix phan 2024-11-05 14:16:32 +01:00
Laurent Destailleur
61e3838ab3 Code comment 2024-11-05 11:08:13 +01:00
Laurent Destailleur
10a457e2cc Debug v21 2024-11-05 10:40:07 +01:00
Laurent Destailleur
c4533c281e Debug v21 2024-11-05 10:34:09 +01:00
Laurent Destailleur
0d6c3f9580 Debug v21 2024-11-05 10:28:47 +01:00
Laurent Destailleur
ee518f2776 Debug v21 2024-11-05 10:21:48 +01:00
Laurent Destailleur
54dc80d8f3 Debug v21 2024-11-05 10:20:28 +01:00
Laurent Destailleur
eff4ee9fae Debug v21 2024-11-05 10:14:40 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +01:00
Laurent Destailleur
e7d628109d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-05 00:37:13 +01:00
Laurent Destailleur
a5da4bd054 Close #31494 2024-11-05 00:36:51 +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
Laurent Destailleur
4886f6ce63 Debug v21 2024-11-04 21:28:59 +01:00
Laurent Destailleur
029ab222c7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-04 13:02:40 +01:00
omogenot
9e40176056 NEW: INTRA VAT ID field optionally mandatory and/or invoice mandatory in thirdparty module setup (#31663)
* Update societe.php

* Add VAT mandatory and VAT invoice mandatory setup
* Reuse `setprofid`, `setprofidmandatory` and `setprofidinvoicemandatory` functions to update constants by using same mechanism with $key='VAT_INTRA'

* Update societe.class.php

Add VAT value check is company uses VAT and VAT is mandatory

* Update facture.class.php

Add VAT invoice mandatory checking

* Update facture.class.php

Typo

* Update societe.php

Fix comment
2024-11-04 13:02:25 +01:00
Laurent Destailleur
0680d4e910 Clean code 2024-11-04 12:37:28 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Laurent Destailleur
78e6f8ad03 Avoid duplicate info 2024-11-04 11:37:53 +01:00
Je2fb
408215b873 Fix issue product multicurrency price in form list and incoterm location (#31651)
* Update html.form.class.php for multicurrency issue

Error in the name of the parameter data-multicurrency-up replaced by data-multicurrency-unitprice

* Fix Incoterm location

Replacement of function to retrieve the data from GET argument form GETPOSTINT to GETPOST, location_incoterms is a string and not a number

* Update card.php

* Update card.php

* Update card.php

* Update card.php

* Update shipment.php

* Update card.php

* Update card.php

* Update stocktransfer_card.php

* Update card.php

* Update card.php
2024-10-31 18:45:24 +01:00
Zephyriony
ecd2f44027 FIX link to list to view overdue invoices (#31660) 2024-10-31 18:03:20 +01:00
Frédéric FRANCE
1e062b10c6 Update bonprelevement.class.php (#31649) 2024-10-31 18:02:29 +01:00
atm-thomasb
8a3e845b5b New RIB selector instead of default (#30899)
* Initial commit - adding new code

* backup, selector added

* NEW: column fk_iban in sql files

* changing the place of the selector

* fix: solved conflicts

* fix: reverted some extremely minor changes

* NEW_first_version_of_form

* TEST: removing chanbges on one file

* same test

* no idea how it's working

* FIX: button is working again

* First version of task working

* FIX: code cleanup to prepare for PR

* FIX: PR preparation part 2

* Revert "FIX: PR preparation part 2"

This reverts commit d11daa6da9.

* WIP added translated error for no iban found when creating bank transfert

* QUAL: simplifying readability of sql

* FIX: renaming fk_iban to fk_societe_rib

* WIP: new simplification of sql

* NEW: xml updated correctly

* FIX: wysiwig fixes

* FIX: PR preparation

* FIX: reverted default rib for llx_user

* FIX: last changes before standard PR

* Initial commit - adding new code

* backup, selector added

* NEW: column fk_iban in sql files

* changing the place of the selector

* fix: solved conflicts

* fix: reverted some extremely minor changes

* NEW_first_version_of_form

* TEST: removing chanbges on one file

* same test

* no idea how it's working

* FIX: button is working again

* First version of task working

* FIX: code cleanup to prepare for PR

* FIX: PR preparation part 2

* Revert "FIX: PR preparation part 2"

This reverts commit d11daa6da9.

* WIP added translated error for no iban found when creating bank transfert

* QUAL: simplifying readability of sql

* FIX: renaming fk_iban to fk_societe_rib

* WIP: new simplification of sql

* NEW: xml updated correctly

* FIX: wysiwig fixes

* FIX: PR preparation

* FIX: reverted default rib for llx_user

* FIX: last changes before standard PR

* FIX: resolved conflicts

* FIX: fixed automatic check warnings

* FIX: more check warnings fixed

* Update htdocs/compta/facture/prelevement.php

Co-authored-by: Florian Mortgat <50440633+atm-florianm@users.noreply.github.com>

* FIX: Added intval checks

* FIX: added escape

* FIX: forgot one entity

* FIX: added more escape for travis

* fix: removed an error handling that caused ci/cr conflicts

* fix: bonPrelevement create error that triggered when not error but empty result

* fix: added one space

---------

Co-authored-by: Florian Mortgat <50440633+atm-florianm@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-30 23:15:33 +01:00
Laurent Destailleur
2e56340386 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-30 17:46:36 +01:00
Laurent Destailleur
6ff8e846ad Debug v21 2024-10-30 17:46:13 +01:00
Laurent Destailleur
dd7fae3cdd Fix new button must be disabled if BANK_DISABLE_DIRECT_INPUT is on 2024-10-30 14:07:27 +01:00
MDW
b91c99b18a Qual: Fix phan/phpstan notices in class files (part 3) (#31578)
* fix phpstan in conf class (#31630)

* fix phpstan

* fix phan

* Fix merge

* Qual: Avoid notification with typing hint

* Qual: Fix notices link.class

* Qual: Fix notices link..socialneetworkmanager.class and DoliDb->DoliDB

* Qual: Fix notices for link..utils.class

* Qual: Fix notices for db classes

* Update translate.class.php

* Update translate.class.php

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-29 22:44:47 +01:00
atm-irvine
fd094638dd NEW : Suspend facture rec when nb gen max is reached (#31623) 2024-10-29 20:41:01 +01:00
Frédéric FRANCE
6dd6ab7906 fix phpstan (#31614)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-29 17:40:56 +01:00
Laurent Destailleur
b717be581f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-29 02:59:40 +01:00