diff --git a/htdocs/takepos/pay.php b/htdocs/takepos/pay.php index 5074e08df9c..5e5a07b3625 100644 --- a/htdocs/takepos/pay.php +++ b/htdocs/takepos/pay.php @@ -299,7 +299,7 @@ while($i < count($paiements)){ $i=$i+1; } -if($conf->global->TAKEPOS_ENABLE_SUMUP && !empty(dolibarr_get_const($db,"CASHDESK_ID_BANKACCOUNT_SUMUP".$_SESSION["takeposterminal"]))) { +if($conf->global->TAKEPOS_ENABLE_SUMUP && !empty(dolibarr_get_const($db, "CASHDESK_ID_BANKACCOUNT_SUMUP".$_SESSION["takeposterminal"]))) { ?> +if($_GET['smp-status']) { + print ' @@ -19,18 +19,17 @@ '; - $_SESSION['SMP_CURRENT_PAYMENT'] = $_GET['smp-status']; + $_SESSION['SMP_CURRENT_PAYMENT'] = $_GET['smp-status']; - print ''; - print "Transaction status registered, you can close this"; + print "Transaction status registered, you can close this"; - die(''); - } + die(''); +} print 'NOOP'; -?> \ No newline at end of file