Laurent Destailleur
b1703cdeeb
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-03 15:34:44 +02:00
Laurent Destailleur
d53279eb64
Fix warning
2024-05-03 15:34:18 +02:00
lamrani abdelwadoud
62f513ea3e
add column to expedition table ( #29561 )
...
* add column to expedition table
* add to table also and change default value
2024-05-03 13:16:53 +02:00
Vincent de Grandpré
6af28aafa0
Repair function to calculate invoice total from line items ( #29568 )
...
* CLI script to calculate invoice total from line items
* php CLI est exécutable
* Replaced sum() with price2num() and added support for localtax2.
* Added function recalculateinvoicetotals to install/repair.php with more precise invoice qualification for regenerate.
* phpcs correction
* remove script file and added to authors of repair.php
2024-05-03 13:13:21 +02:00
Florian Mortgat
8474360271
FIX: contact/address title is always "New Contact/Address" even if the contact/address already exists ( #29581 )
2024-05-03 13:10:36 +02:00
PsyCrow
1e7184c11f
FIX PHP Warning: Undefined variable $tva_npr in /fourn/facture/card.php on line 1695 ( #29593 )
...
#FIX PHP Warning: Undefined variable $tva_npr in /fourn/facture/card.php on line 1695
2024-05-03 13:09:52 +02:00
Laurent Destailleur
dcc06d3e0f
Debug v20
2024-05-03 11:27:07 +02:00
Laurent Destailleur
580fe5a043
Debug v20
2024-05-03 11:10:22 +02:00
Laurent Destailleur
9289d356d7
Fix escaping
2024-05-03 03:30:57 +02:00
Laurent Destailleur
584e54c130
Fix the http header must reuse the secured one into top_htmlhead()
2024-05-03 03:26:04 +02:00
Laurent Destailleur
3edcaf97fc
Debug v20
2024-05-03 03:02:04 +02:00
Laurent Destailleur
0b9bd5408b
Debug v20: Encapsulate the feature using leaflet/geophp into a constant
...
MAIN_USE_GEOPHP. Fix webportal module.
2024-05-03 02:39:35 +02:00
Laurent Destailleur
8578137703
Debug v20
2024-05-03 01:35:41 +02:00
Laurent Destailleur
642a3d5984
Fix regression
2024-05-03 01:28:19 +02:00
Laurent Destailleur
283f16234f
Debug v20
2024-05-03 01:02:40 +02:00
Laurent Destailleur
ea9619b942
Debug v20
2024-05-03 00:52:15 +02:00
Laurent Destailleur
5a6ac426f0
Look and feel
2024-05-03 00:30:20 +02:00
Laurent Destailleur
30de8684fd
More complete fix for #29587 for suplier with no vat. Fix also
...
ref_supplier not propagated.
2024-05-03 00:30:01 +02:00
Laurent Destailleur
5e50b4aa2e
Fix restore line lost
2024-05-02 23:21:06 +02:00
Laurent Destailleur
577491b799
Fix permissions on external users
2024-05-02 21:48:50 +02:00
Laurent Destailleur
50aa16c270
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-05-02 21:03:26 +02:00
Laurent Destailleur
bdf811f0ef
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-05-02 20:55:24 +02:00
Laurent Destailleur
1b0f4b542f
Fix file not found
2024-05-02 20:55:08 +02:00
Laurent Destailleur
41a9fc5530
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-02 20:22:21 +02:00
Laurent Destailleur
f416094a17
Fix phan
2024-05-02 20:22:00 +02:00
Frédéric FRANCE
184ade42a7
fix phpstan ( #29582 )
...
* fix phpstan
* fix phpstan
2024-05-02 20:11:41 +02:00
MaximilienR-easya
6b812ccad3
Backport en provenance de develop pour afficher les messages d'erreurs ( #29583 )
2024-05-02 20:10:19 +02:00
Laurent Destailleur
67076eb751
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-02 20:07:30 +02:00
Laurent Destailleur
362c3d1869
Fix warning
2024-05-02 20:07:10 +02:00
lelex86
671ae12bee
Fix: content-type haeder missing for webhook ( #29588 )
...
Data sent by webhooks is encoded in JSON and sent using the CURLOPT_POSTFIELDS function in cURL. However, the Content-Type header is not explicitly specified. By default, cURL automatically sets the Content-Type header to application/x-www-form-urlencoded, which can cause issues with certain applications.
To avoid this, I explicitly set the Content-Type header to application/json. This ensures that the data is sent in the correct format and that applications receiving the data can process it correctly.
2024-05-02 19:40:30 +02:00
Esteban L. Castro
6e605df1c1
Updated Stripe code for inline items ( #29577 ) ( #29589 )
...
Changes made according to:
https://docs.stripe.com/payments/checkout/migrating-prices?integration=server#server-side-code-for-inline-items
2024-05-02 19:37:52 +02:00
MDW
2115980560
Qual: Fix Phan notices in CommonObject ( #29354 )
...
* Fix PhanPluginSimplifyExpressionBool in commonobject
* Fix commonobject for phan notices
* Allow null for $usedolidb argument
* Allow null for $outputlangs argument of \dol_format_address()
* Fix multiple phan notices
* Ignore PhanTypeArraySuspiciousNullable
* Fix PhanTypeMismatchArgumentProbablyReal
* Update baseline
* Improve typings
* Update type specification getCountry/withCode
* Fix CommonObject Phan notices & update baseline
* Fix phan notices
* Correct typing for showInputField to be the same as parent class
* Fix PhanPluginSimplifyExpressionBool in commonobject
* Fix commonobject for phan notices
* Allow null for $usedolidb argument
* Allow null for $outputlangs argument of \dol_format_address()
* Fix multiple phan notices
* Ignore PhanTypeArraySuspiciousNullable
* Fix PhanTypeMismatchArgumentProbablyReal
* Update baseline
* Improve typings
* Update type specification getCountry/withCode
* Fix CommonObject Phan notices & update baseline
* Fix phan notices
* fixup! Correct typing for showInputField to be the same as parent class
2024-05-02 19:33:51 +02:00
Laurent Destailleur
94c69c08ba
NEW Add option PDF_ADD_POSITION
2024-05-02 16:41:48 +02:00
Laurent Destailleur
e054e4380c
Clean code
2024-05-02 16:25:44 +02:00
Laurent Destailleur
7bad87692c
Fix warnings
2024-05-02 15:55:34 +02:00
Laurent Destailleur
7bf29ba2ec
Clean code
2024-05-02 15:49:54 +02:00
Laurent Destailleur
1178aadf2f
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-02 14:10:06 +02:00
Esteban L. Castro
5b9fddc96f
Updated Stripe code for inline items ( #29577 )
...
Changes made according to:
https://docs.stripe.com/payments/checkout/migrating-prices?integration=server#server-side-code-for-inline-items
2024-05-02 13:49:17 +02:00
Laurent Destailleur
1d2371af34
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-05-02 13:30:08 +02:00
Laurent Destailleur
07fb11e08e
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-05-02 13:24:33 +02:00
Laurent Destailleur
594280e1df
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-05-02 13:22:47 +02:00
Laurent Destailleur
36873b9fe7
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-05-02 13:20:04 +02:00
Laurent Destailleur
93fc018cd4
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2024-05-02 13:19:39 +02:00
Laurent Destailleur
750c1c16db
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2024-05-02 13:18:13 +02:00
Laurent Destailleur
9c10768dbb
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-02 13:14:54 +02:00
Laurent Destailleur
cc90397eb7
Try suggestion of mdeweerd
2024-05-02 13:14:30 +02:00
Laurent Destailleur
fdb63a6540
Fix related to #29580
2024-05-02 13:06:48 +02:00
PsyCrow
c3801bd78d
FIX: PHP Warning: Undefined array key "totalam" on line 1890 ( #29578 )
...
* 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-05-02 13:02:51 +02:00
Frédéric FRANCE
ee77b50040
fix pictos width ( #29574 )
2024-05-02 13:02:34 +02:00
Frédéric FRANCE
aac412592b
fix tests ( #29573 )
2024-05-02 13:02:20 +02:00