2
0
forked from Wavyzz/dolibarr
Commit Graph

4461 Commits

Author SHA1 Message Date
MDW
e49f32ab2d dolGetGlobalInt -> getDolGlobalInt
Detected with phan -> https://github.com/Dolibarr/dolibarr/actions/runs/7242660297/job/19728384233?pr=26480#step:5:39
2023-12-18 03:13:37 +01:00
Laurent Destailleur
5e28ab0ec3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-12-17 23:54:37 +01:00
Laurent Destailleur
4dc5483b12 Fix warning 2023-12-17 23:54:08 +01:00
Laurent Destailleur
689ba89b21 Merge pull request #27108 from altairisfr/ORDER_REOPEN_TO_DRAFT_2023
add constant ORDER_REOPEN_TO_DRAFT
2023-12-17 23:27:56 +01:00
ATM john
2caf7e6c0b Add llxHeader body css for command 2023-12-16 13:46:47 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Christophe Battarel
273fbbc65c dont reopen billed orders 2023-12-14 15:54:09 +01:00
Christophe Battarel
30d181c933 aadd constant ORDER_REOPEN_TO_DRAFT 2023-12-14 15:35:37 +01:00
Christian Foellmann
88c0700ee5 QUAL make UI strings differenciate between orders torward customer or supplier 2023-12-14 13:42:15 +01:00
Charlène Benke
bcf015533e Update list_det.php 2023-12-14 10:56:11 +01:00
Laurent Destailleur
0fc4be5d2b Merge pull request #27067 from alexandre-janniaux/commande-error-forward/1
Qual: command: forward database error on failure
2023-12-14 01:39:59 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
Alexandre Janniaux
d9e81cbabe command: forward database error on failure
If the database triggered a failure, it wasn't reported in the tests
because $this->error was not set. Conversely, the error was always
printed through dol_print_error() whose documentation explicitely states
that it should not be used for class and $this->error should be used
instead.
2023-12-12 19:18:16 +01:00
Charlène Benke
4b3e8109eb Update list.php for prevent mass order warning 2023-12-09 12:36:02 +01:00
Laurent Destailleur
60af6843fd Clean code 2023-12-08 02:05:51 +01:00
Laurent Destailleur
89e1e1b859 Merge pull request #26980 from atm-jonathan/FIX_in_array()_list.php
FIX in_array() on key
2023-12-08 01:59:32 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Jonathan Lescaut
771b735384 FIX in_array() on key 2023-12-05 16:12:18 +01:00
Laurent Destailleur
7606fdd84f Debug v19 2023-12-04 12:29:38 +01:00
Laurent Destailleur
ba10d60a0b Fix with php-cs-fixer 2023-12-04 12:02:35 +01:00
Laurent Destailleur
3ecfc1b55f Fix css 2023-12-02 20:27:09 +01:00
Laurent Destailleur
c6ab06967f Debug v19 2023-12-02 19:25:09 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
bfbdab6084 Debug v19 2023-11-28 22:44:01 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Laurent Destailleur
1ac9bcab59 Debug v19 2023-11-24 16:30:31 +01:00
Laurent Destailleur
25a25dfcd7 Debug v19 2023-11-24 15:36:05 +01:00
Laurent Destailleur
5c1a7e7541 Debug v19 2023-11-18 23:50:35 +01:00
Alexandre SPANGARO
af0c6899a7 Travis fix (#26708)
* Travis fix

* Travis remove warning "Line exceeds 500 characters"

* Travis remove warning "Line exceeds 500 characters"

* Travis remove warning "Line exceeds 500 characters"
2023-11-18 11:56:29 +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
Christian Humpel
df31421e86 Integrate 'sqlfilterlines' in API for commande. (#26612)
Co-authored-by: christian.humpel <christian.humpel@gmail.com>
2023-11-16 15:05:32 +01:00
Laurent Destailleur
7659bba97a Fix bad delete of lines into llx_ecm_files 2023-11-13 12:24:47 +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
2f340a1a77 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/accountancy/journal/expensereportsjournal.php
	htdocs/comm/propal/card.php
2023-11-12 23:06:31 +01:00
atm-lena
0946220e9b Check price base type (#26503)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2023-11-09 15:41:39 +01:00
Benjamin Falière
b5e5b1d4c6 FIX commande context (#26497)
Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2023-11-07 17:50:48 +01:00
Mohamed DAOUD
a1597e6eb1 Fix some warnings -technical debt- (#26466)
* fix warnings 1

* fix previous commit 1

* Update facture-rec.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-06 16:00:24 +01:00
Laurent Destailleur
b65d5c8740 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-05 19:52:54 +01:00
thibdrev
51341524a2 fix missing 2 translation keys used in commande/list.php (#26458)
* modify the translation keys in commande/list.php

* create the error translation key in en_US/errors.lang

* create the error translation key in fr_FR/errors.lang
2023-11-03 22:51:51 +01:00
Laurent Destailleur
127de7e7d8 FIX On object validation, ecm index are not updated for uploaded files 2023-11-01 16:17:54 +01:00
Christophe Battarel
b3e7457cd3 NEW : add new hook tabContentCreateOrder (#26408)
* NEW : add new hook tabContentCreateOrder

* update comment

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2023-11-01 14:25:26 +01:00
Laurent Destailleur
74e1ec4099 FIX On object validation, ecm index are not updated for uploaded files 2023-10-31 19:28:11 +01:00
Christophe Battarel
1a32455e70 update comment and credentials (#26401)
* update comment

* update credentials

* remove bad commit

* update credentials

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2023-10-31 11:57:53 +01:00
Laurent Destailleur
b8728b5d07 Use a more explicit name for new hook 2023-10-30 02:39:06 +01:00
Christophe Battarel
c064893f80 NEW : add new hook OrderCard (#26380)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2023-10-30 02:30:35 +01:00
Anthony Berton
dc8d6f9ca2 FIX - Search product category on list det order (#26168)
* FIX - Search product category on list det order

* Search for tag/category

* add search Operator

* Clean

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-26 13:57:40 +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
Anthony Berton
2c01a59e60 FIX - param in order list det (#26298)
* FIX - param in order list det

* Clean

* $newcardbutton

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2023-10-23 21:48:43 +02:00
Laurent Destailleur
e1bf377f20 QUAL: Removed deprecated field remise, remise_percent, remise_absolute 2023-10-20 10:47:08 +02:00
Alexandre SPANGARO
58bdcb5245 Dolibarize - Look & feel v19 (#26246)
* NEW Accountancy - Add quick navigation with keyb. shortcut on ledger

* TitleSeparator - Job list

* TitleSeparator - Position list

* TitleSeparator

* TitleSeparator

* TitleSeparator

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Variable $newcardbutton already define

* Define $newcardbutton

* TitleSeparator

* TitleSeparator

* TitleSeparator

* TitleSeparator

* TitleSeparator
2023-10-20 03:20:44 +02:00