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