diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index a54ed048c..0df20f191 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -491,7 +491,7 @@ export default { saveButton: `${components.vnSubmit}` }, orderLine: { - orderSubtotal: 'vn-order-line > vn-vertical > vn-card > div > vn-vertical > vn-horizontal > div > span', + orderSubtotal: 'vn-order-line vn-horizontal.header p:nth-child(1)', firstLineDeleteButton: 'vn-order-line vn-tbody > vn-tr:nth-child(1) vn-icon[icon="delete"]', confirmOrder: 'vn-order-line > vn-vertical > vn-button-bar > vn-button > button', confirmButton: 'vn-order-line > vn-confirm button[response="ACCEPT"]', diff --git a/modules/order/front/line/index.html b/modules/order/front/line/index.html index c59154e45..d8b27efe3 100644 --- a/modules/order/front/line/index.html +++ b/modules/order/front/line/index.html @@ -5,17 +5,12 @@ - -
- Subtotal - {{$ctrl.subtotal | currency: 'EUR':2}} -

- VAT - {{$ctrl.VAT | currency: 'EUR':2}} -

- Total - {{$ctrl.order.total | currency: 'EUR':2}} -
+ + +

Subtotal {{$ctrl.subtotal | currency: 'EUR':2}}

+

VAT {{$ctrl.VAT | currency: 'EUR':2}}

+

Total {{$ctrl.order.total | currency: 'EUR':2}}

+
diff --git a/modules/order/front/line/style.scss b/modules/order/front/line/style.scss index 31a13d592..6f06532e0 100644 --- a/modules/order/front/line/style.scss +++ b/modules/order/front/line/style.scss @@ -6,4 +6,20 @@ vn-order-line{ height: 50px; } } + .taxes { + max-width: 10em; + border: .1em solid #CCC; + text-align: right; + padding: .5em !important; + + + & > p { + font-size: 1.2em; + margin: .2em; + } + } + vn-horizontal.header { + justify-content: flex-end; + margin-bottom: 0.5em; + } } \ No newline at end of file