From cf1a029b436b4489884b51ac8f2dfc9a1d0c9029 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sat, 24 Aug 2019 16:46:04 +0200 Subject: [PATCH] Update invoice.php --- htdocs/takepos/invoice.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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:"