diff --git a/htdocs/takepos/css/pos.css.php b/htdocs/takepos/css/pos.css.php index 8a75549ce0c..eaccb791b30 100644 --- a/htdocs/takepos/css/pos.css.php +++ b/htdocs/takepos/css/pos.css.php @@ -101,6 +101,7 @@ button.calcbutton { /* border-color: unset; */ border-width: 0; margin: 1px; + font-size: 14pt; } button.calcbutton2 { @@ -118,6 +119,8 @@ button.calcbutton2 { width: calc(25% - 2px); height: calc(25% - 2px); font-weight: bold; + font-size: 8pt; + margin: 1px; } button.calcbutton3 { @@ -128,10 +131,11 @@ button.calcbutton3 { cursor: pointer; vertical-align: middle; text-align: center; - font-size:120%; overflow: visible; /* removes extra width in IE */ width: calc(25% - 2px); height: calc(25% - 2px); + font-size: 14pt; + margin: 1px; } button.actionbutton { @@ -468,12 +472,6 @@ div.description_content { } @media screen and (min-width: 892px) { - .calcbutton{ - font-size: 18px; - } - .calcbutton2{ - font-size: 14px; - } .actionbutton{ font-size: 13px; } @@ -486,12 +484,6 @@ div.description_content { } @media (max-width: 891px) and (min-width: 386px) { - .calcbutton{ - font-size: 12px; - } - .calcbutton2{ - font-size: 9px; - } .actionbutton{ font-size: 12px; } @@ -504,12 +496,6 @@ div.description_content { } @media screen and (max-width: 385px){ - .calcbutton{ - font-size: 8px; - } - .calcbutton2{ - font-size: 7px; - } .actionbutton{ font-size: 10px; } diff --git a/htdocs/takepos/pay.php b/htdocs/takepos/pay.php index ec619015496..ad663c90750 100644 --- a/htdocs/takepos/pay.php +++ b/htdocs/takepos/pay.php @@ -233,7 +233,7 @@ else print "var received=0;"; -
+
"parent.$.colorbox.close();", - "span" => "id='printtext'", - "text" => $langs->trans("Cancel"), + "span" => "id='printtext' style='font-weight: bold; font-size: 18pt;'", + "text" => "X", "class" => "poscolordelete" ), ); $numpad = $conf->global->TAKEPOS_NUMPAD; + +print ''; +print ''; +print ''; ?> - - - 0) { $paycode = $paiements[0]->code; - if ($paycode == 'LIQ') $paycode = 'cash'; - if ($paycode == 'CB') $paycode = 'card'; - if ($paycode == 'CHQ') $paycode = 'cheque'; - ?> - - - - - - - + $payIcon = ''; + if ($paycode == 'LIQ') { + $paycode = 'cash'; + $payIcon = 'coins'; + } elseif ($paycode == 'CB') { + $paycode = 'card'; + $payIcon = 'credit-card'; + } elseif ($paycode == 'CHQ') { + $paycode = 'cheque'; + $payIcon = 'money-check'; + } + + print ''; + +} else { + print ''; +} + +print ''; +print ''; +print ''; +?> 1) { $paycode = $paiements[1]->code; - if ($paycode == 'LIQ') $paycode = 'cash'; - if ($paycode == 'CB') $paycode = 'card'; - if ($paycode == 'CHQ') $paycode = 'cheque'; - ?> - - - - - - - + $payIcon = ''; + if ($paycode == 'LIQ') { + $paycode = 'cash'; + $payIcon = 'coins'; + } elseif ($paycode == 'CB') { + $paycode = 'card'; + $payIcon = 'credit-card'; + } elseif ($paycode == 'CHQ') { + $paycode = 'cheque'; + $payIcon = 'money-check'; + } + + print ''; +} else { + $button = array_pop($action_buttons); + print ''; +} + +print ''; +print ''; +print ''; +?> 2) { $paycode = $paiements[2]->code; - if ($paycode == 'LIQ') $paycode = 'cash'; - if ($paycode == 'CB') $paycode = 'card'; - if ($paycode == 'CHQ') $paycode = 'cheque'; - ?> - -trans($paycode).'\');">' . (!empty($payIcon) ? '' : $langs->trans("PaymentTypeShort".$paiements[2]->code)) . ''; +} else { $button = array_pop($action_buttons); - ?> - - - - - -' . $button["text"] . ''; +} + +print ''; +print ''; +print ''; + $i = 3; while ($i < count($paiements)) { - ?> - - trans($paiements[$i]->code).'\');">' . $langs->trans("PaymentTypeShort".$paiements[$i]->code) . ''; $i = $i + 1; } @@ -320,9 +347,7 @@ if ($conf->global->TAKEPOS_ENABLE_SUMUP) { $class = ($i == 3) ? "calcbutton3" : "calcbutton2"; foreach ($action_buttons as $button) { $newclass = $class.($button["class"] ? " ".$button["class"] : ""); - ?> - - '.$button["text"].''; } ?>