From 396e79199c935be8610d4bb7342bc6b4ad4d1d00 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 28 Mar 2019 12:32:32 +0100 Subject: [PATCH] Add contextpage to open popup to change customers --- htdocs/takepos/customers.php | 2 +- htdocs/takepos/takepos.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/takepos/customers.php b/htdocs/takepos/customers.php index d32ae82e25d..a9ec90776e8 100644 --- a/htdocs/takepos/customers.php +++ b/htdocs/takepos/customers.php @@ -1007,7 +1007,7 @@ while ($i < min($num, $limit)) $companystatic->fk_prospectlevel=$obj->fk_prospectlevel; - print ''; + print ''; if (! empty($arrayfields['s.rowid']['checked'])) { print ''; diff --git a/htdocs/takepos/takepos.php b/htdocs/takepos/takepos.php index 959bc0baac5..ed31674cf64 100644 --- a/htdocs/takepos/takepos.php +++ b/htdocs/takepos/takepos.php @@ -278,7 +278,7 @@ function deleteline() { } function Customer() { - $.colorbox({href:"customers.php?nomassaction=1&place="+place, width:"90%", height:"80%", transition:"none", iframe:"true", title:"trans("Customer");?>"}); + $.colorbox({href:"customers.php?contextpage=poslist&nomassaction=1&place="+place, width:"90%", height:"80%", transition:"none", iframe:"true", title:"trans("Customer");?>"}); } function CloseBill() {