From 0ac56fde1b4f407089b893b16768c49c40882feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 30 Sep 2018 14:26:35 +0200 Subject: [PATCH] Update actions_takepos.class.php --- htdocs/takepos/class/actions_takepos.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/takepos/class/actions_takepos.class.php b/htdocs/takepos/class/actions_takepos.class.php index d592a5afdc2..2ed4a27525b 100644 --- a/htdocs/takepos/class/actions_takepos.class.php +++ b/htdocs/takepos/class/actions_takepos.class.php @@ -113,8 +113,7 @@ class ActionsTakePos if (in_array($parameters['currentcontext'], array('invoicecard'))) // do something only for the context 'somecontext1' or 'somecontext2' { - if (file_exists("../../takepos/receipt.php")) $receipt_url=DOL_URL_ROOT."/takepos/receipt.php"; - if (file_exists("../../custom/takepos/receipt.php")) $receipt_url=DOL_URL_ROOT."/custom/takepos/receipt.php"; + $receipt_url=DOL_URL_ROOT."/takepos/receipt.php"; print '
' . $langs->trans('Ticket') .'
'; }