2
0
forked from Wavyzz/dolibarr
Commit Graph

8598 Commits

Author SHA1 Message Date
Bradley Jarvis
58e0837a7a FIX Add CSV download link to stock at date table (#29016)
* FIX Add CSV download link to stock at date table

* Update array values to strings for joining

* Fix array and string formatting

* Fix space after comma

* FIX stock at date csv download

Removed .htaccess and requirement for modrewrite
Added output url parameter which takes csv as argument
updated GETPOST(,'int') calls to GETPOSTINT()

* FIX stock at date csv download

Removed .htaccess and requirement for modrewrite
Added output url parameter which takes csv as argument
updated GETPOST(,'int') calls to GETPOSTINT()

* FIX removed extra 'int' parameter from GETPOSTINT()

* Fix wrapped stock values in price(price2num($stock,'MS'))

* Fix error in php code

* Fix missed wrapping some stock levels tin price(...)

* Update stockatdate.php

---------

Co-authored-by: brad <brad@endurotags.com.au>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-09 02:37:30 +02:00
Zephyriony
6f524405af QUAL Rename column fk_origin_line on shipment lines into fk_elementdet to match a generic use. (#28989)
* Update expedition.class.php 

Adapting the query and code to the new table format

* Update llx_expeditiondet.sql

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update llx_expeditiondet.sql

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update expedition.class.php

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update 19.0.0-20.0.0.sql

---------

Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
2024-04-08 12:44:49 +02:00
Laurent Destailleur
db65c11981 FIX #28541 FIX #29240 trunc barcode to avoid trespass on fichhalfright 2024-04-08 12:34:46 +02:00
Mohamed DAOUD
fcabb3d37f insert fields order (#29272) 2024-04-08 11:02:53 +02:00
Laurent Destailleur
b5de782c6b Fix use the good HTTP code 2024-04-07 14:59:25 +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
aab69e6a1f Update api_products.class.php 2024-04-05 10:35:01 +02:00
Jon Bendtsen
650e9b8c2b Fix #29115 2024-04-04 23:22:10 +02:00
Laurent Destailleur
f42637ebca Merge pull request #29209 from vanyolai/patch-1
[FIX] Update replenish.php
2024-04-04 19:11:25 +02:00
Laurent Destailleur
14afdf6b0e Fix regression on GETPOSTINT 2024-04-03 17:50:24 +02:00
Laurent Destailleur
fffe74246c Fix all short tables must use the setup for the number of rows 2024-04-03 15:30:10 +02:00
Vanyo
290e5d8bc8 [DEBUG] Update replenish.php
wrong type from $_POST
2024-04-03 10:45:51 +02:00
Vanyo
7b7a6a7ad4 Update replenish.php
field name left here from V19
2024-04-02 21:03:49 +02:00
Laurent Destailleur
7715513ac9 Some API HTTP return code were moved from 401 to 403 to better follow
REST specification.
2024-04-02 14:47:49 +02:00
Laurent Destailleur
990216b13f NEW Api parameters are sanitized by the WAF, same code than GET/POST 2024-04-02 13:07:13 +02:00
Laurent Destailleur
45d46f25ef Merge index page of warehouse with product index page 2024-04-01 13:33:15 +02:00
Laurent Destailleur
aad893663d Merge home page product and service 2024-04-01 13:08:35 +02:00
Laurent Destailleur
56105667e7 Merge pull request #29128 from mdeweerd/fix/stan
Fix PHPdoc typing (to fix php stan notices)
2024-03-30 20:01:48 +01:00
Charlène Benke
6a6873ff73 Update replenish.php
php error warning
2024-03-30 19:11:29 +01:00
MDW
b871aa98e8 Reset Product->id to 0, not to null 2024-03-29 18:34:21 +01:00
MDW
04c3e80fc5 Fix typing 2024-03-29 18:26:48 +01:00
Laurent Destailleur
b58e439a17 Clean use of $_POST 2024-03-28 21:29:02 +01:00
Laurent Destailleur
e73f79ca96 Qual: Remove unnecessary use of $_GET 2024-03-28 20:19:28 +01:00
Laurent Destailleur
a7e33e6573 Merge pull request #29047 from mdeweerd/fix/PhanPluginUnknownObjectMethodCall1
Fixes for PhanPluginUnknownObjectMethodCall
2024-03-28 14:20:57 +01:00
Laurent Destailleur
54501bccc3 Merge pull request #29066 from mdeweerd/fix/dol_get_fiche_head
Fix arguments to dol_get_fiche_head and dol_get_fiche_end
2024-03-28 14:16:45 +01:00
Laurent Destailleur
84b0cadac9 Merge pull request #29102 from jyhere/patch-13
FIX : StockTransfer class has no table_element_line
2024-03-28 13:57:26 +01:00
Laurent Destailleur
1740c14c38 Merge pull request #29067 from defrance/patch-325
bad columns ordering in list
2024-03-28 13:34:15 +01:00
jyhere
574b73700b FIX : StockTransfer class has no table_element_line 2024-03-28 13:21:35 +01:00
jyhere
09bf1acffa FIX : StockTransfer class has no table_element_line 2024-03-28 13:08:35 +01:00
Laurent Destailleur
bdd3ce180c Merge pull request #29084 from frederic34/productboxes
manage widget on products home
2024-03-28 13:03:39 +01:00
Laurent Destailleur
fa4afda592 Debug v20 2024-03-28 09:55:37 +01:00
Laurent Destailleur
0465aeb412 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-27 11:39:26 +01:00
Laurent Destailleur
dc43a7e87b Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-27 11:22:38 +01:00
Frédéric FRANCE
2d174dbf07 fix 2024-03-27 10:59:20 +01:00
Frédéric FRANCE
2027cab174 manage widget on products home 2024-03-27 10:46:04 +01:00
MDW
faae9b921a Fix arguments to dol_get_fiche_head 2024-03-27 10:22:57 +01:00
MDW
bdfb1b9a00 Fix arguments to dol_get_fiche_head 2024-03-27 10:22:56 +01:00
MDW
30f15eb776 Force typing (phan) for typing check 2024-03-27 10:18:12 +01:00
Charlène Benke
bc672e1f65 bad columns ordering in list
the good value is allways 42
2024-03-26 13:34:00 +01:00
Laurent Destailleur
15f1699de7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-25 20:11:48 +01:00
Laurent Destailleur
92312ce4c2 Allow UFS syntax into load_previous_next_ref() 2024-03-25 20:11:24 +01:00
jyhere
ec5e20d633 FIX: missing executeHooks printFieldListFrom in product list page 2024-03-25 15:39:02 +01:00
Regis Houssin
5378c85c5d FIX missing hide "new" button where "product" or "service" module is
disable
2024-03-24 11:35:18 +01:00
MDW
df9794393a Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:54 +01:00
MDW
8c240a3337 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:53 +01:00
Laurent Destailleur
7b0177a84d Move to getDolGlobalString 2024-03-22 00:37:56 +01:00
Laurent Destailleur
922f30eceb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-21 15:38:11 +01:00
MDW
25bd4930a2 Fix $mybool |=... which is binary op, not boolean op
# Fix $mybool |=... which is binary op, not boolean op

This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:44 +01:00