1596 Commits

Author SHA1 Message Date
Laurent Destailleur
b956ea5257 Show localtaxes in tooltip of POS only if you use them 2026-03-02 20:16:28 +01:00
Laurent Destailleur
864191e881 NEW Refactoring how the counter of print is done.
Now done synchronously in documents.php or receipt.php
2026-03-02 20:05:50 +01:00
Laurent Destailleur
82d3d3ba92 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-02 05:54:03 +01:00
Laurent Destailleur
57a1f05d49 FIX #37372 FIX #37374 2026-03-02 05:52:05 +01:00
splohmer
f919a83721 FIX upload of files with multiple spaces via drag'n'drop flow (#37271)
* Debug savedemo

* Fix mention

* FIX upload of files with multiple spaces via drag'n'drop flow

Currently there are two ways to upload files to products, orders, etc. via the "old" way and the document tab and the "new" flow via drag'n'drop on the main tab of the object.

Both ways triggering completely different code paths. In the end the new way uses dol_sanitzieFileName to sanitize the name of the file and the old way uses dol_string_nohtmltag (both from functions.lib.php).

One of the main difference between the two mentioned functions is that in the old way multiple spaces behind each other are replaced by a single space. E.g. "A␠␠B␠␠␠C␠␠D" is tranformed to "A␠B␠C␠D".

This is needed to make sure that the files are properly uploaded and can be later also downloaded correctly.

How to reproduce?
Upload a file like "test␠␠test.txt" via the drag'n'drop flow and try to download it from the document tab. This is not working. You can see the file but cannot download it. The same flow via the input field of the document tab is working correctly.

* typo in comment

* FIX Phan warnings (unrelated to feature)

* FIX Phan warnings (unrelated to feature)

* FIX Phan warnings (unrelated to feature)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-23 20:08:30 +01:00
MDW
1a8f540dc8 Fix: CI (#37320)
* Fix: http_response_code type

# Fix: http_response_code type

- Fixed http_response_code type

* Fix: Initialize refcashcontrol variable

Initialize refcashcontrol variable to 0 to ensure it is defined before use in the invoice.php script.

* Fix: Remove redundant check for BILL_SENTBYMAIL & $object type

# Fix: Remove redundant check for BILL_SENTBYMAIL & $object type

- Removed redundant check for BILL_SENTBYMAIL

* Fix: Correct date calculation for full year cash control

# Fix: Correct date calculation for full year cash control

Calculates the start date by subtracting one year from the end date.

* Qual: Add default batch value for invoice processing

# Qual: Add default batch value for invoice processing

Adds default empty string for the batch variable.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-23 00:35:33 +01:00
Laurent Destailleur
8efce11329 Add pos_number in blockedlog 2026-02-20 18:51:38 +01:00
Laurent Destailleur
80d48a0d52 Debug 2026-02-20 16:58:00 +01:00
Laurent Destailleur
97dcd936df Add hooks 2026-02-20 13:29:30 +01:00
Laurent Destailleur
5bf181adf7 Test 2026-02-19 01:01:46 +01:00
Laurent Destailleur
b986f2f1a7 Debug v24 2025-03-05 11:13:24 +01:00
Laurent Destailleur
c295e97f9c Debug 2025-02-05 14:59:32 +01:00
Laurent Destailleur
cc6b3f968c Fix mention 2026-02-18 03:45:33 +01:00
Laurent Destailleur
f72245353f Debug send email for takepos 2025-01-16 12:52:03 +01:00
Laurent Destailleur
1d3cfdb654 Debug v23 2026-02-16 01:22:30 +01:00
Laurent Destailleur
4fdbfcf581 Debug v23 2026-02-04 14:24:18 +01:00
Laurent Destailleur
265acd7133 Fix CI 2026-02-01 01:01:49 +01:00
Laurent Destailleur
4224c9fc05 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-26 19:34:10 +01:00
Laurent Destailleur
b623ea1f57 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-01-26 19:22:43 +01:00
Laurent Destailleur
360718fa7b Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-01-26 19:19:13 +01:00
Laurent Destailleur
c6a398639c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2026-01-26 19:17:02 +01:00
Laurent Destailleur
449870d347 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2026-01-26 19:05:09 +01:00
Laurent Destailleur
081a1abbe8 Debug v23 2026-01-23 16:49:49 +01:00
Laurent Destailleur
ecee7722c5 Fix CSS 2026-01-23 16:31:51 +01:00
Laurent Destailleur
f35a9b65e9 Debug v23 2026-01-10 16:20:57 +01:00
Laurent Destailleur
cfc3787dbf Debug 2026-01-09 15:25:26 +01:00
Laurent Destailleur
28b2b0c1d6 Debug v23 2026-01-09 13:38:27 +01:00
Laurent Destailleur
578a1ef568 Clean files 2026-01-07 19:01:54 +01:00
Laurent Destailleur
c6da6763de Fix warnings 2026-01-05 16:43:00 +01:00
Laurent Destailleur
e4cecad00d Debug v23 2026-01-04 15:36:32 +01:00
Laurent Destailleur
2e50d64ccc Debug v23 2026-01-04 13:49:58 +01:00
Laurent Destailleur
3b9aa7d85c Debug v23 2026-01-03 17:24:43 +01:00
Laurent Destailleur
9772dff1b5 Debug v23 2026-01-03 16:50:59 +01:00
Laurent Destailleur
edab31d2bf Fix regression 2026-01-02 17:58:38 +01:00
Laurent Destailleur
01d504c8ea Trans 2026-01-02 17:52:31 +01:00
Laurent Destailleur
c981cadfd8 Fix text 2026-01-02 17:28:51 +01:00
Laurent Destailleur
4e458fa949 Debug v23 2026-01-02 17:03:36 +01:00
Laurent Destailleur
3a4221f78d Debug v23 2026-01-02 17:00:43 +01:00
Laurent Destailleur
97b7897e8e Add legal mention in TakePOS setup. 2026-01-02 16:53:08 +01:00
Laurent Destailleur
e265c2938f Fix CI 2025-12-22 17:40:50 +01:00
Laurent Destailleur
c57eb789b4 Debug v23 2025-12-21 14:46:13 +01:00
Laurent Destailleur
69cea28a14 Debug v23 2025-12-21 14:33:25 +01:00
Laurent Destailleur
3a4cf15857 Debug v23 no propagation of warnings 2025-12-21 13:32:32 +01:00
Laurent Destailleur
c2930e768e Debug v23 2025-12-21 12:54:03 +01:00
pat
400c31def6 FIX : action button panel display (partial)
- simplify function which simulates navigating to the next/previous panel
- call the hook only after all original buttons have been added
- Remove button hiding at positions %3 == 2 depending on Dolibarr configuration
2025-12-17 23:06:58 +01:00
Noé
2ee07bb049 FIX: Remove <?= 2025-12-04 17:27:57 +01:00
Noé
3416c6ccc0 FIX: getDolGlobalInt 2025-11-27 10:00:43 +01:00
Laurent Destailleur
9349de974d Fix: missing the increase of pos_counter_print 2025-11-26 13:14:19 +01:00
Noé
92197cb100 FIX: php echo instead of <? 2025-11-21 16:06:09 +01:00
Noé
9319059349 FIX: Sometimes socid = undefined 2025-11-20 14:01:29 +01:00