diff --git a/addons/point_of_sale/static/src/scss/pos.scss b/addons/point_of_sale/static/src/scss/pos.scss index 7ff43abfd59..fd385ff484e 100644 --- a/addons/point_of_sale/static/src/scss/pos.scss +++ b/addons/point_of_sale/static/src/scss/pos.scss @@ -1584,12 +1584,23 @@ td { border: 1px solid #cacaca; } .paymentlines .electronic_payment { - background: #e2e2e2; + background: $gray-200; border-collapse: unset; font-size: 16px; padding-right: 0; } +.paymentline .electronic_status { + flex-grow: 1; + margin-left: 10px; + margin-right: 10px; + /* make the name of the payment line to be truncated with ellipsis */ + white-space: nowrap; + overflow:hidden; + text-overflow:ellipsis; + padding: map-get($spacers, 3); +} + .paymentlines .electronic_payment div:first-child { flex-grow: 2; margin-left: 10px; @@ -1599,6 +1610,7 @@ td { .paymentlines .electronic_payment div:last-child { flex-grow: 1; text-align: center; + padding: map-get($spacers, 3); } .payment-status-container { diff --git a/addons/point_of_sale/static/src/xml/Screens/PaymentScreen/PaymentScreenPaymentLines.xml b/addons/point_of_sale/static/src/xml/Screens/PaymentScreen/PaymentScreenPaymentLines.xml index d6efbba1b3b..da2e3cff9cf 100644 --- a/addons/point_of_sale/static/src/xml/Screens/PaymentScreen/PaymentScreenPaymentLines.xml +++ b/addons/point_of_sale/static/src/xml/Screens/PaymentScreen/PaymentScreenPaymentLines.xml @@ -31,7 +31,7 @@
-
+
Payment request pending
@@ -39,7 +39,7 @@
-
+
Transaction cancelled
@@ -47,7 +47,7 @@
-
+
Connection error
@@ -55,7 +55,7 @@
-
+
Waiting for card
@@ -63,7 +63,7 @@
-
+
Request sent
@@ -71,7 +71,7 @@
-
+
Reversal request sent to terminal
@@ -79,7 +79,7 @@
-
+
Payment Successful
@@ -92,7 +92,7 @@ -
+
Payment reversed