From 3a4ba0c4018f2230967969d77a399faa6bdb09a5 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sat, 24 Aug 2019 17:29:48 +0200 Subject: [PATCH] Update printsend.php --- htdocs/takepos/printsend.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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;"; -
+
- - + +