Fixing style errors.
This commit is contained in:
parent
fb069d248a
commit
9ee0dc75f3
@ -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"]))) {
|
||||
?>
|
||||
<button type="button" class="calcbutton2" onclick="ValidateSumup();">Sumup</button>
|
||||
<?php
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
<?php
|
||||
require '../main.inc.php';
|
||||
|
||||
if(isset($_GET['status'])) {
|
||||
die(strtoupper($_SESSION['SMP_CURRENT_PAYMENT']));
|
||||
}
|
||||
if(isset($_GET['status'])) {
|
||||
die(strtoupper($_SESSION['SMP_CURRENT_PAYMENT']));
|
||||
}
|
||||
|
||||
if($_GET['smp-status']) {
|
||||
print '<html lang="en">
|
||||
if($_GET['smp-status']) {
|
||||
print '<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
@ -19,18 +19,17 @@
|
||||
</head>
|
||||
|
||||
<body>';
|
||||
$_SESSION['SMP_CURRENT_PAYMENT'] = $_GET['smp-status'];
|
||||
$_SESSION['SMP_CURRENT_PAYMENT'] = $_GET['smp-status'];
|
||||
|
||||
print '<script type="application/javascript">
|
||||
print '<script type="application/javascript">
|
||||
window.onload = function() {
|
||||
window.close();
|
||||
};
|
||||
</script>';
|
||||
|
||||
print "Transaction status registered, you can close this";
|
||||
print "Transaction status registered, you can close this";
|
||||
|
||||
die('</body></html>');
|
||||
}
|
||||
die('</body></html>');
|
||||
}
|
||||
|
||||
print 'NOOP';
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user