diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php
index fab81c5f3c2..5ab6ee4bfd4 100644
--- a/htdocs/takepos/invoice.php
+++ b/htdocs/takepos/invoice.php
@@ -404,8 +404,9 @@ if ($action=="valid" || $action=="history")
else $sectionwithinvoicelink.=' ';
$sectionwithinvoicelink.=' ';
$sectionwithinvoicelink.='';
- } else $sectionwithinvoicelink.=' ';}
-
+ } else { $sectionwithinvoicelink.=' ';
+ $sectionwithinvoicelink.='';
+ }
/*
* View
@@ -488,6 +489,12 @@ if ($action == "search") {
?>
});
+
+function PrintSend(id)
+{
+ console.log("Open box to select the Print/Send form");
+ $.colorbox({href:"printsend.php?facid="+id, width:"90%", height:"80%", transition:"none", iframe:"true", title:"trans("PrintSend");?>"});
+}
function Print(id){
$.colorbox({href:"receipt.php?facid="+id, width:"40%", height:"90%", transition:"none", iframe:"true", title:"