From 5e3b8fe1f04710d628bee6709c83fb78d3e899c0 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Wed, 28 Aug 2019 08:08:30 +0200 Subject: [PATCH] #1648 claim.detail add cambiar campos --- e2e/helpers/selectors.js | 4 ++-- modules/claim/front/detail/index.html | 16 +++++++--------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index e5800db55..6db429ff0 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -538,7 +538,7 @@ export default { saveButton: `${components.vnSubmit}` }, claimDetail: { - secondItemDiscount: 'vn-claim-detail > vn-vertical > vn-card > div > vn-vertical > vn-table > div > vn-tbody > vn-tr:nth-child(2) > vn-td:nth-child(7) > span', + secondItemDiscount: 'vn-claim-detail > vn-vertical > vn-card > div > vn-vertical > vn-table > div > vn-tbody > vn-tr:nth-child(2) > vn-td:nth-child(6) > span', discountInput: 'vn-claim-detail vn-popover vn-input-number[model="$ctrl.newDiscount"] > div > div > div.infix > input', discoutPopoverMana: 'vn-claim-detail > vn-popover > div > div.content > div > vn-horizontal > h5', addItemButton: 'vn-claim-detail a vn-float-button', @@ -546,7 +546,7 @@ export default { claimDetailLine: 'vn-claim-detail > vn-vertical > vn-card > div > vn-vertical > vn-table > div > vn-tbody > vn-tr', firstItemQuantityInput: 'vn-claim-detail vn-tr:nth-child(1) vn-input-number[model="saleClaimed.quantity"] input', totalClaimed: 'vn-claim-detail > vn-vertical > vn-card > div > vn-vertical > vn-horizontal > div > vn-label-value:nth-child(2) > section > span', - secondItemDeleteButton: 'vn-claim-detail > vn-vertical > vn-card > div > vn-vertical > vn-table > div > vn-tbody > vn-tr:nth-child(2) > vn-td:nth-child(9) > vn-icon-button > button > vn-icon > i' + secondItemDeleteButton: 'vn-claim-detail > vn-vertical > vn-card > div > vn-vertical > vn-table > div > vn-tbody > vn-tr:nth-child(2) > vn-td:nth-child(8) > vn-icon-button > button > vn-icon > i' }, claimDevelopment: { addDevelopmentButton: 'vn-claim-development > vn-vertical > vn-card > div > vn-vertical > vn-one > vn-icon-button > button > vn-icon', diff --git a/modules/claim/front/detail/index.html b/modules/claim/front/detail/index.html index ba7a34ffd..5fc032e33 100644 --- a/modules/claim/front/detail/index.html +++ b/modules/claim/front/detail/index.html @@ -22,7 +22,6 @@ - Id Landed Quantity Claimed @@ -35,13 +34,6 @@ - - - {{::saleClaimed.sale.itemFk | zeroFill:6}} - - {{::saleClaimed.sale.ticket.landed | dateTime:'dd/MM/yyyy'}} {{::saleClaimed.sale.quantity}} @@ -50,7 +42,13 @@ on-change="$ctrl.setClaimedQuantity(saleClaimed.id, saleClaimed.quantity)"> - {{::saleClaimed.sale.concept}} + + + {{::saleClaimed.sale.concept}} + + {{::saleClaimed.sale.price | currency: 'EUR':2}}