Commit Graph

338 Commits

Author SHA1 Message Date
ptibogxiv
ca5a3da04c
Update printsend.php 2019-09-11 15:04:13 +02:00
ptibogxiv
48419da769
FIX new invoice with generic thirdparty in takepos
by default, new invoice should always create with default thirdparty and avoid errors : creating new invoice with last customer and forget to change it...
2019-09-10 14:58:55 +02:00
Laurent Destailleur
f893854986 Fix remove warnings 2019-09-05 14:24:13 +02:00
Laurent Destailleur
da3d230182 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	.stickler.yml
	htdocs/takepos/invoice.php
2019-09-03 17:34:49 +02:00
Laurent Destailleur
9c6cbfeb7f
Merge pull request #11774 from ptibogxiv/patch-250
FIX logout redirect to takepos.php
2019-09-03 15:10:28 +02:00
ptibogxiv
80624c67f4
Fix lang in invoice / takepos 2019-09-03 14:48:46 +02:00
ptibogxiv
6996e83390
Update takepos.php 2019-09-03 11:40:19 +02:00
ptibogxiv
0c5859d2bf
Update takepos.php 2019-09-03 11:37:25 +02:00
ptibogxiv
f9df175efc
FIX takepos layout clear or focus search
fix focus for compatibility with barcode scanner
2019-09-02 21:26:44 +02:00
ptibogxiv
1c28086d4b
FIX logout redirect to takepos.php
usefull for terminal locked with POS and use standard dolibarr login with addon as U2F
2019-08-28 13:22:54 +02:00
andreubisquerra
d096d8abba Set free-text item default vat in TakePOS 2019-08-27 21:57:21 +02:00
Laurent Destailleur
bbda4269b2 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop 2019-08-27 17:55:21 +02:00
Laurent Destailleur
851d76460a FIX #11720 2019-08-27 17:42:25 +02:00
Laurent Destailleur
12a09b8b2a Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/takepos/invoice.php
2019-08-27 15:56:56 +02:00
Laurent Destailleur
d4d3e28437 It is diffcult to understand how stock decrease is done so we show the
ref of stock.
2019-08-27 15:53:03 +02:00
Laurent Destailleur
d5328d1cec Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop 2019-08-27 15:43:19 +02:00
Laurent Destailleur
a2b1d96d42 Fix protection in cleaning invoice with transaction. Delete also
extrafield lines.
2019-08-27 15:42:35 +02:00
Laurent Destailleur
7165389f6c Add log
Add protection to avoid change on a non draft invoice.
2019-08-27 15:39:35 +02:00
ptibogxiv
1b64c89c2a
Fix tab and lang 2019-08-27 13:32:55 +02:00
Laurent Destailleur
7009f036a0
Merge pull request #11744 from andreubisquerra/master
Control errors before validate invoice in TakePOS
2019-08-26 17:24:03 +02:00
Laurent Destailleur
2ee864c905
Merge pull request #11738 from ptibogxiv/patch-238
NEW email template for Takepos (sending invoice)
2019-08-26 17:21:03 +02:00
Laurent Destailleur
999db7ed41 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/compta/salaries/card.php
	htdocs/compta/sociales/class/chargesociales.class.php
	htdocs/takepos/invoice.php
2019-08-26 16:49:25 +02:00
Laurent Destailleur
7c5fc9f3f8 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 10.0 2019-08-26 16:43:33 +02:00
Laurent Destailleur
c93e6550ce Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
Conflicts:
	htdocs/compta/paiement.php
	htdocs/compta/sociales/class/chargesociales.class.php
2019-08-26 16:43:24 +02:00
Laurent Destailleur
6771a2e1f9
Update invoice.php 2019-08-26 16:27:00 +02:00
andreubisquerra
07244f002b else if to elseif 2019-08-24 18:11:47 +02:00
ptibogxiv
add28f10db
Update invoice.php 2019-08-24 17:37:50 +02:00
ptibogxiv
3a4ba0c401
Update printsend.php 2019-08-24 17:29:48 +02:00
ptibogxiv
bc93a8b4b1
Create printsend.php 2019-08-24 17:18:43 +02:00
ptibogxiv
f1987b0f0e
Update invoice.php 2019-08-24 16:58:39 +02:00
ptibogxiv
cf1a029b43
Update invoice.php 2019-08-24 16:46:04 +02:00
andreubisquerra
5d0dbea920 Control errors before validate invoice in TakePOS 2019-08-24 16:44:06 +02:00
ptibogxiv
4678373480
NEW print / send email form in takepos 2019-08-24 16:41:51 +02:00
ptibogxiv
c4b18890d9
Update invoice.php 2019-08-24 15:12:56 +02:00
ptibogxiv
d2ff37ae72
NEW email template for Takepos (sending invoice) 2019-08-24 15:00:49 +02:00
ptibogxiv
361bb72448
Update invoice.php 2019-08-24 14:17:58 +02:00
ptibogxiv
bb763ecb59
Fix lang in takepos 2019-08-24 14:02:25 +02:00
ptibogxiv
cc1de15438
Update invoice.php 2019-08-24 13:52:40 +02:00
ptibogxiv
686d43a122
NEW display membership in takepos if member link to thirdparty
For some business or cases (ie: fundation), we need to know if customer is a member and membership  is up to date.
2019-08-24 13:44:21 +02:00
ptibogxiv
73a6b45e23
Fix load langs in takepos 2019-08-24 13:26:01 +02:00
andreubisquerra
f1b80fc19a Add 'Direct Cash Payment' button in TakePOS 2019-08-20 23:44:30 +02:00
andreubisquerra
4cea0433b7 If user has not used change control, add total invoice payment 2019-08-16 23:33:48 +02:00
Laurent Destailleur
d7a41c6b72 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/langs/en_US/admin.lang
2019-08-01 12:54:27 +02:00
Laurent Destailleur
5eb8f05061 FIX #11584 2019-08-01 12:23:02 +02:00
Laurent Destailleur
12b530c418 FIX Setup of TakePos was not possible after a clean install 2019-08-01 11:27:35 +02:00
Laurent Destailleur
9f7d118f6f Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop 2019-07-27 02:40:56 +02:00
jcp
f82e1f1155 Fix: Use special_code=4 for Takepos 2019-07-19 10:44:12 +02:00
Laurent Destailleur
68bc096ef3 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop 2019-06-25 23:41:56 +02:00
Laurent Destailleur
f2ea78f2ec Removed useless files 2019-06-25 23:26:55 +02:00
Laurent Destailleur
9b9070dbf8 Removed useless files 2019-06-25 23:26:34 +02:00
andreubisquerra
45fabede28 Basic phone layout for Restaurants in TakePOS 2019-05-26 16:44:17 +02:00
andreubisquerra
99a96bffe2 Fix TakePOS terminal bug 2019-05-24 08:36:43 +02:00
Laurent Destailleur
22e897b1a1 Clean and prepare code to fix a SQL injection 2019-05-21 17:22:38 +02:00
Norbert Penel / OSCSS
cf207aa545 FIX new takepos error messages
the terminal number implementation must be used on global conf key
2019-05-18 00:29:32 +02:00
javierybar
114ddea54f Simplify terminal variables 2019-05-14 19:58:08 +02:00
Laurent Destailleur
18071fb238 Works with 9 terminals 2019-05-09 13:40:03 +02:00
Laurent Destailleur
84714f39e2 Fix setup of terminal 2019-05-09 13:37:20 +02:00
andreubisquerra
84cfa00bf1 Terminals 2019-05-08 18:29:00 +02:00
Philippe GRAND
8e936fda4f FIX : typo error 2019-05-02 14:19:50 +02:00
andreubisquerra
00db274956 Add history to view and print previous sales. 2019-04-28 18:12:33 +02:00
andreubisquerra
d73b69df61 Add form class and fix autoprint with Takepos connector 2019-04-08 19:54:46 +02:00
Laurent Destailleur
da6c5b552f
Merge pull request #10950 from OPEN-DSI/new-extrafield-sellist-chkbxlst-options
New categories options in sellist and chbxlist extrafields
2019-04-08 13:28:51 +02:00
Laurent Destailleur
37b8796f3c NEW Add line total on list of payments 2019-04-02 17:54:34 +02:00
Lionel VESSILLER
8a220b9da1 New categories options in sellist and chbxlist extrafields 2019-04-02 11:01:46 +02:00
Laurent Destailleur
80b2605537
Merge pull request #10917 from Tetras-Libre/NegativeBills
Negative bills
2019-04-01 18:31:04 +02:00
Laurent Destailleur
9f0d712957 Fix style 2019-03-31 11:27:12 +02:00
Laurent Destailleur
ec9fdc1321 Fix regression with class="right". Style of amount lost. 2019-03-31 11:25:29 +02:00
Laurent Destailleur
76c5e96555 css 2019-03-29 12:38:32 +01:00
Laurent Destailleur
b3515e9994 css 2019-03-29 12:35:33 +01:00
Laurent Destailleur
b0b69033b7 Use a background color to identify line selected 2019-03-29 12:27:54 +01:00
Laurent Destailleur
6027e018e9 New: When adding a product in POS, the line added is automatically
selected so we can change immediatly qty or price
2019-03-29 12:19:23 +01:00
Laurent Destailleur
822552defb Use font awesome icon instead of image for navigation
Better responsive on small screen
2019-03-29 11:45:40 +01:00
Laurent Destailleur
458ef4df34 Fix alignement on TakePOS receipt 2019-03-28 20:33:41 +01:00
Laurent Destailleur
2996965c50 Fix: autofocus is done only on dekstop. 2019-03-28 19:33:22 +01:00
Laurent Destailleur
8d9a07de09 Fix rounding 2019-03-28 19:02:47 +01:00
Laurent Destailleur
50395b7dd7 New: Input field to search product always visible with focus so you can
use a barcode flasher at any time
2019-03-28 18:51:04 +01:00
Laurent Destailleur
c888c071e5 Removed duplicate file 2019-03-28 13:10:44 +01:00
Laurent Destailleur
396e79199c Add contextpage to open popup to change customers 2019-03-28 12:32:32 +01:00
Laurent Destailleur
3de82ad345 Prepare removal of duplicate page 2019-03-28 12:27:31 +01:00
Laurent Destailleur
1818e22be9 Add some font awesome icons on buttons 2019-03-28 09:56:01 +01:00
David Beniamine
42bd9f4c74
Fix CI again 2019-03-28 08:58:19 +01:00
David Beniamine
2834262010
Merge develop branch 2019-03-28 08:21:49 +01:00
David Beniamine
a8286eb100
Fix CI 2019-03-28 08:13:02 +01:00
Laurent Destailleur
c654361485 Show link to invoice at the TOP 2019-03-27 20:46:07 +01:00
Laurent Destailleur
eb1d57226f Fix status paid after entering a payment 2019-03-27 20:28:02 +01:00
Laurent Destailleur
9105e205ff No more need to set scroolTop, lines are sorted with last added first 2019-03-27 20:20:39 +01:00
Laurent Destailleur
ff10a2ab5a New: show the name of place and floor on main takepos page 2019-03-27 20:13:12 +01:00
Laurent Destailleur
579525ec48 New Can define nb of categories and products for pagination on TakePOS 2019-03-27 19:36:47 +01:00
Laurent Destailleur
3dbcf7a0c0 Debug edit of table. Use the id instead of name. 2019-03-27 19:21:05 +01:00
Laurent Destailleur
8998e4c6a3 Fix add of a table in floor for Bar and Restaurant 2019-03-27 18:40:02 +01:00
Laurent Destailleur
ef182e4155 Show the discount on TakePOS 2019-03-27 18:15:02 +01:00
Laurent Destailleur
6e643e90cf Translation 2019-03-27 18:00:44 +01:00
Laurent Destailleur
9d133dae12 Removed verbose log 2019-03-27 17:50:57 +01:00
Laurent Destailleur
3930464b84 Clean code and debug TakePOS module 2019-03-27 17:50:23 +01:00
Laurent Destailleur
e064a954d2 Fix avoid error 500 when searching product with no criteria 2019-03-27 15:55:18 +01:00
Laurent Destailleur
11e4411400 TakePOS Can enter payment in several times and with different modes 2019-03-27 15:42:53 +01:00
Laurent Destailleur
ec0733d202 Use color on the amount of the payment page of TakePOS module
FIX Use pricejs instead of toFixed to be compatible with all currencies
WIP Prepare to be able to enter different payment modes on same invoice
2019-03-27 12:40:32 +01:00
David Beniamine
a9db67e6e3
Merge branch 'develop' into NegativeBills 2019-03-26 23:59:10 +01:00
Laurent Destailleur
fb30b9bb82 Fix compatibility with old version and with setup of other POS modules 2019-03-26 20:51:38 +01:00
Laurent Destailleur
27ae740e82
Update pay.php 2019-03-26 20:13:25 +01:00
Laurent Destailleur
6bab56c6bb
Update pay.php 2019-03-26 20:12:32 +01:00
Laurent Destailleur
f902f7beeb
Update takepos.php 2019-03-26 20:10:48 +01:00
Laurent Destailleur
7ff51df8f3
Update takepos.php 2019-03-26 20:09:54 +01:00
Laurent Destailleur
337cb49374
Update invoice.php 2019-03-26 20:02:18 +01:00
Laurent Destailleur
573bc3187d
Update invoice.php 2019-03-26 20:01:06 +01:00
Laurent Destailleur
5c0f0eb545
Update setup.php 2019-03-26 19:55:05 +01:00
Laurent Destailleur
430f2c10b4
Update setup.php 2019-03-26 19:52:19 +01:00
Laurent Destailleur
4b378a8d4b
Merge branch 'develop' into PaiementsModes 2019-03-26 19:45:39 +01:00
David Beniamine
ed81d35e38
Allow negative bills 2019-03-25 18:07:30 +01:00
David Beniamine
fa157a81b9
Merge branch 'PaiementsModes' of github.com:Tetras-Libre/dolibarr into PaiementsModes 2019-03-25 16:58:02 +01:00
David Beniamine
32303bbe48
SQL modifications for multicompany compatibility
Thanks to hregis
2019-03-25 16:49:33 +01:00
David Beniamine
f4e23ea427
Merge branch 'develop' into PaiementsModes 2019-03-24 21:34:33 +01:00
David Beniamine
b554ca2b73
Merge branch 'develop' into VATGrouped 2019-03-24 21:06:29 +01:00
David Beniamine
833da30af1
Use any dolibarr enabled paiement mode 2019-03-24 21:01:42 +01:00
David Beniamine
4b61f0d606
Grouped VAT
Add an option to group VAT by rate in receipt
2019-03-24 20:17:41 +01:00
David Beniamine
10ab6f480d
Automatically print receipt 2019-03-22 09:28:58 +01:00
andreubisquerra
3665e9137a In a previous commit the command to change 'ref' has been deleted. And now TakePOS don't work.
In Dolibarr the next command not work on draft invoice:
$invoice->ref = "(PROV-POS-".$place.")";
So I return to the previous command:
$sql="UPDATE ".MAIN_DB_PREFIX."facture set ref='(PROV-POS-".$place.")' where rowid=".$placeid;
2019-03-19 23:05:08 +01:00
Philippe GRAND
13c49d2946 update with html5 compliant code 2019-03-17 10:27:06 +01:00
Philippe GRAND
7b1fd917eb update with html5 compliant code 2019-03-17 10:25:37 +01:00
Philippe GRAND
cbb865b960 update with html5 compliant code 2019-03-17 10:22:50 +01:00
Laurent Destailleur
86c5dc20e3 NEW Can choose the root category to show for TakePOS module 2019-03-15 02:12:40 +01:00
Laurent Destailleur
0ef6fd36f9 Merge and clean TakePOS CSS 2019-03-15 00:49:44 +01:00
Laurent Destailleur
6aa9a5f13a Fix link to backoffice 2019-03-14 23:36:55 +01:00
Regis Houssin
56104e6d89 FIX regression 2019-03-14 17:58:32 +01:00
Regis Houssin
a40cba194f FIX wrong url 2019-03-14 17:24:42 +01:00
Regis Houssin
fd393218d3 FIX you should prefer "elseif" than "else if" 2019-03-14 17:07:49 +01:00
Regis Houssin
daa940d75b FIX multiple bugs for show products/categories 2019-03-14 16:35:36 +01:00
Josep Lluís
869f6680da
FIX: free product description not printed
The description of a free product/service is not printed on receipt.
2019-03-13 15:43:34 +01:00
andreubisquerra
b1e9a0fe38 Add Order Notes to TakePOS 2019-03-03 12:50:36 +01:00
Laurent Destailleur
56d921ea52 CSS 2019-03-02 12:57:07 +01:00
Laurent Destailleur
825705179c Fix phpcs 2019-02-27 12:49:44 +01:00
Laurent Destailleur
bcf1d57456 Fix default page is not always index.php 2019-02-27 04:21:12 +01:00
Laurent Destailleur
4634312306 Fix phpcs 2019-02-27 04:18:25 +01:00
andreubisquerra
57ee8b7991 Fix no JPG images in TakePOS and other image improvements. 2019-02-24 21:15:11 +01:00
Laurent Destailleur
6b46a927f1
Merge branch 'develop' into PSR2MethodsFunctionCallSignatureSpaceBeforeOpenBracket 2019-02-24 20:53:54 +01:00
Frédéric FRANCE
894123fb06
PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket 2019-02-24 20:06:55 +01:00
Frédéric FRANCE
390766babf
replace html code by html5 2019-02-23 23:36:21 +01:00
Laurent Destailleur
e4698fb6a5 Merge 2019-02-18 19:14:25 +01:00
Laurent Destailleur
b2e0b1216e Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 9.0 2019-02-18 17:05:03 +01:00
Laurent Destailleur
b2ec340a48 FIX Show button POS Ticket only if invoice was generated by POS 2019-02-18 17:04:53 +01:00
andreubisquerra
8cc2662f01 Update TakePOS in Dolibarr 9 2019-02-14 20:59:32 +01:00
andreubisquerra
3f9b37d3d4 Fix TakePOS categories bug 2019-02-13 22:29:55 +01:00
Laurent Destailleur
e054b080a5
Merge branch 'develop' into GenericFunctionsFunctionCallArgumentSpacing 2019-02-12 13:33:39 +01:00
klemens
beb2791dde spelling fixes 2019-02-10 12:59:09 +01:00
Frédéric FRANCE
152d8ffcbf
Merge remote-tracking branch 'upstream/develop' into GenericFunctionsFunctionCallArgumentSpacing 2019-02-10 11:08:59 +01:00
Frédéric FRANCE
580e5c42d2
GenericFunctionsFunctionCallArgumentSpacing 2019-02-09 12:00:49 +01:00
Laurent Destailleur
5483856543 Fix phpcs 2019-02-08 23:53:40 +01:00
Laurent Destailleur
7625eb7cd4 Fix missing error management after afterPDFCreation hook.
Removed dead code
2019-02-08 19:54:24 +01:00
Frédéric FRANCE
970392adb8
Merge remote-tracking branch 'upstream/develop' into psr2squizwhite 2019-02-03 22:41:57 +01:00
Laurent Destailleur
a6dde3d6bd
Merge branch 'develop' into nospaceaftercomma 2019-02-03 19:27:16 +01:00