Commit Graph

307 Commits

Author SHA1 Message Date
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
Laurent Destailleur
b658bde88a Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/core/class/html.formsetup.class.php
	htdocs/takepos/index.php
2024-03-22 02:11:58 +01:00
Laurent Destailleur
fa45588c49 Merge pull request #29007 from vold-lu/fix_takepos_update_invoice
FIX : TakePOS | Add product / Delete line of existing invoice
2024-03-21 14:46:36 +01:00
Rémi Champlon
d8b87ff6eb fix 2024-03-21 14:22:12 +01:00
Laurent Destailleur
b5804aecfd Fix bad cast for name newtoken 2024-03-21 13:34:16 +01:00
Rémi Champlon
ab10f29db7 add invoice id 2024-03-21 13:06:09 +01:00
Laurent Destailleur
5bae4ffe4d FIX #28978 FIX #28976 2024-03-20 21:29:29 +01:00
Laurent Destailleur
440c7b4493 FIX #28978 FIX #28976 2024-03-20 21:28:35 +01:00
Laurent Destailleur
e16d1d5de9 FIX #28978 FIX #28976 2024-03-20 21:27:28 +01:00
Laurent Destailleur
ef1d1fdcfb Fix warnings 2024-03-20 21:09:32 +01:00
MDW
4407eb4787 Fix arg type to set_cookie() with cast to string 2024-03-19 02:59:36 +01:00
Laurent Destailleur
16eee4775f Fix warning 2024-03-19 02:30:05 +01:00