Commit Graph

318 Commits

Author SHA1 Message Date
MDW
7655c259f8 FIX: Define keyCodeForEnter before first use (takepos) (#36060)
# FIX: Define keyCodeForEnter before first use (takepos)

Move the code to get the keyCodeForEnter from the bottom of the file closer to the top.
This ensure that the variable is defined before first use.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 22:43:24 +01:00
Laurent Destailleur
b1c7b1154f Debug v23 - Translation not loaded when it should 2025-11-01 19:36:35 +01:00
Laurent Destailleur
ab56e3a2c1 Clean code. Removed not working and duplicate feature of post phone
interface (standard interface works better).
2025-10-28 16:57:49 +01:00
Laurent Destailleur
a1b4d1a06e WIP LNE 2025-10-28 13:07:19 +01:00
Laurent Destailleur
33e27947ca WIP LNE 2025-10-22 16:31:47 +02:00
Frédéric FRANCE
cd3b74f092 NEW add api for members statistics (#35851)
* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-21 02:05:51 +02:00
Laurent Destailleur
655286f3b3 Fix CI 2025-10-20 23:55:59 +02:00
Laurent Destailleur
294309dbd4 Fix CI 2025-10-20 23:48:37 +02:00
Laurent Destailleur
606de1688e Dev Loi Finance 2025-10-20 02:35:55 +02:00
Laurent Destailleur
4fe22fad9e Show terminal on ticket 2025-10-20 01:47:43 +02:00
Laurent Destailleur
0d2b4faee2 Prepare code for LNE 2025-10-20 00:45:59 +02:00
ldestailleur
d4cc80f18d Debug the printing of TakePos. Disabe custom receipt print in some
cases.
2025-08-21 19:34:10 +02:00
Francis Appels
6e96cd2118 fix takepos console error (#34709)
* fix console error

* exit early

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-10 16:45:26 +02:00
ldestailleur
b84bc626d9 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-10 14:34:59 +02:00
ldestailleur
5e3313bf13 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-04-10 14:24:21 +02:00
David Beniamine
b96c3d0df3 Take into account subcategories shown to get product offset (#33788) 2025-04-09 16:01:48 +02:00
David Beniamine
846dc771ef Takepos check only for openned cash fence (#33789)
* Check only for openned cash fence

* Also show close button
2025-04-09 15:51:31 +02:00
ldestailleur
6c8ae0b2a6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-31 16:28:08 +02:00
ldestailleur
533ca31814 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-29 17:32:45 +01:00
Laurent Destailleur
f7145ea4d3 Fix POS has some product unvisible when using smartphone 2025-03-20 02:52:12 +01:00
Laurent Destailleur
88c41d4970 Remove verbose log 2025-03-20 02:49:35 +01:00
Laurent Destailleur
dad235f6d9 Fix POS has some product unvisible when using smartphone 2025-03-20 02:45:36 +01:00
Laurent Destailleur
996dacbd50 Fix POS has some product unvisible when using smartphone 2025-03-20 02:39:21 +01:00
ldestailleur
b45a1c21ee NEW introduce method dolSetCookie 2025-03-11 10:21:45 +01:00
MDW
81e870f7c1 Qual: Fix phan notices (takepos) 2025-02-18 22:55:56 +01:00
Laurent Destailleur
7bb331f9f8 Merge pull request #32042 from rycks/develop_takepos_search_term_is_not_same_as_term_variable
new variable search_term to be more clear
2025-02-12 04:11:45 +01:00
Laurent Destailleur
d0b45c9723 Merge pull request #32691 from Tetras-Libre/takepos-start-new-sale-on-click-product-after-payment
TakePos Once payment is complet, a click on a product should start a new sale
2025-02-05 18:02:07 +01:00
Laurent Destailleur (aka Eldy)
8e3948fda7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-01-05 18:39:39 +01:00
Laurent Destailleur (aka Eldy)
1cfa3b5803 Fix warning 2025-01-05 18:34:01 +01:00
Bahfirilyes
1751705f1f Merge branch 'develop' into lounes2001-3 2024-12-30 22:08:25 +01:00
ilyes bahfir
77e1dd62ad Fix: hook for adding params for bill closing 2024-12-29 23:28:14 +01:00
Laurent Destailleur (aka Eldy)
5c321cc678 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-02 01:52:08 +01:00
Laurent Destailleur (aka Eldy)
9227add8f4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-12-02 01:41:40 +01:00
David Beniamine
343873c82f Once payment is complet, a click on a product should start a new sale 2024-11-26 13:13:07 +01:00
Eric Seigne
101ee350d3 new variable search_term to be more clear, term is only for terminal number 2024-11-21 19:51:29 +01:00
lvessiller-opendsi
c12a7e144a FIX TakePos barcode rule (#31857)
* FIX TakePos barcode rule

* Keep last test confition on barcode rule
2024-11-21 19:07:58 +01:00
lvessiller-opendsi
d2f5ee65ae FIX Takepos barcode rule with float qty (#31916)
* FIX Takepos barcode rule with float qty

* Replace floatval by cast in float and GETPOSTINT by GETPOSTFLOAT for qty

* Keep last test condition on barcode value
2024-11-19 13:21:31 +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
c70973c0c8 Merge v20 2024-10-19 14:44:55 +02:00
Yoan Mollard
e17e9e8703 Sanitize JS string fort alert() (#31465) 2024-10-19 00:56:00 +02:00
MDW
42bb4fbf3e Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* Qual: Enable & fix or ignore Invalid DimOffset

# Qual: Enable & fix or ignore Invalid DimOffset

The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.

This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later

* Nullable object typing in function signature not ok for 7.0/8.4

Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
Laurent Destailleur
726395ded9 Look and feel v21 2024-09-28 17:05:44 +02:00
Laurent Destailleur
c8e2b537c6 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-30 16:44:24 +02:00
Laurent Destailleur
6e856e284f Debug v20 - stock movement on invoice from takepos 2024-08-29 19:45:11 +02:00
MDW
45ed4caeb2 Qual: Enable Phan Simplify rule and fix notices (#30537)
* Qual: Phan - Enable Simplyfy expression

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Update functions2.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-07 03:05:02 +02:00
Laurent Destailleur
c54a97e923 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-06-24 01:47:18 +02:00
Laurent Destailleur
2d87289be7 Debug v20 2024-06-22 01:18:10 +02:00
EUSHOP.NET
325c331cca 19.0 takepos - add the ability to hide the search box if head is hidden (#30066)
* add the ability to hide the search box if head is hidden

* Update index.php

---------

Co-authored-by: root <root@erp.sbg.fleischerverband.at>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-18 18:35:50 +02:00
altairis-melina
2f00a634e4 ADD: TAKEPOS_NO_SPLIT_SALE const (#29767) 2024-06-04 19:33:54 +02:00
Laurent Destailleur
51a3641105 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/bom/tpl/objectline_create.tpl.php
	htdocs/compta/bank/releve.php
	htdocs/core/class/html.formsetup.class.php
	htdocs/takepos/freezone.php
2024-03-22 02:35:37 +01:00