diff --git a/htdocs/takepos/printsend.php b/htdocs/takepos/printsend.php index 3208721c95a..ff97c1cc51c 100644 --- a/htdocs/takepos/printsend.php +++ b/htdocs/takepos/printsend.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2019 Thibault FOUCART * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -131,6 +131,12 @@ else print "var received=0;"; } } } + +function Print(id){ + $.colorbox.close(); + $.colorbox({href:"receipt.php?facid="+id, width:"40%", height:"90%", transition:"none", iframe:"true", title:"trans("PrintTicket"); ?>"}); +} @@ -140,11 +146,11 @@ else print "var received=0;"; -
+
- - + +