Fixing style errors.

This commit is contained in:
stickler-ci 2019-11-25 22:19:50 +00:00
parent fb069d248a
commit 9ee0dc75f3
2 changed files with 11 additions and 12 deletions

View File

@ -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

View File

@ -1,11 +1,11 @@
<?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">
@ -30,7 +30,6 @@
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';
?>