2017-11-07 08:09:59 +00:00
|
|
|
|
2017-09-15 10:24:37 +00:00
|
|
|
export default {
|
2017-09-17 16:09:59 +00:00
|
|
|
globalItems: {
|
2019-04-26 12:15:37 +00:00
|
|
|
applicationsMenuButton: '#apps',
|
2020-03-25 19:44:59 +00:00
|
|
|
userMenuButton: '#user',
|
|
|
|
logoutButton: '#logout',
|
2019-09-30 09:30:54 +00:00
|
|
|
applicationsMenuVisible: '.modules-menu',
|
2020-05-06 12:38:09 +00:00
|
|
|
clientsButton: '.modules-menu [ui-sref="client.index"]',
|
|
|
|
itemsButton: '.modules-menu [ui-sref="item.index"]',
|
|
|
|
ticketsButton: '.modules-menu [ui-sref="ticket.index"]',
|
|
|
|
invoiceOutButton: '.modules-menu [ui-sref="invoiceOut.index"]',
|
|
|
|
claimsButton: '.modules-menu [ui-sref="claim.index"]',
|
2020-06-10 14:51:04 +00:00
|
|
|
returnToModuleIndexButton: 'a[name="goToModuleIndex"]',
|
2020-03-02 12:16:46 +00:00
|
|
|
homeButton: 'vn-topbar > div.side.start > a',
|
2019-10-09 22:47:29 +00:00
|
|
|
userLocalWarehouse: '.user-popover vn-autocomplete[ng-model="$ctrl.localWarehouseFk"]',
|
|
|
|
userLocalBank: '.user-popover vn-autocomplete[ng-model="$ctrl.localBankFk"]',
|
|
|
|
userLocalCompany: '.user-popover vn-autocomplete[ng-model="$ctrl.localCompanyFk"]',
|
|
|
|
userWarehouse: '.user-popover vn-autocomplete[ng-model="$ctrl.warehouseFk"]',
|
|
|
|
userCompany: '.user-popover vn-autocomplete[ng-model="$ctrl.companyFk"]',
|
2019-12-31 11:00:16 +00:00
|
|
|
userConfigFirstAutocomplete: '#localWarehouse',
|
|
|
|
userConfigSecondAutocomplete: '#localBank',
|
|
|
|
userConfigThirdAutocomplete: '#localCompany',
|
2020-09-30 10:24:33 +00:00
|
|
|
acceptButton: '.vn-confirm.shown button[response=accept]',
|
2020-10-01 09:21:23 +00:00
|
|
|
searchButton: 'vn-searchbar vn-icon[icon="search"]'
|
2017-09-17 16:09:59 +00:00
|
|
|
},
|
2017-10-29 14:49:44 +00:00
|
|
|
clientsIndex: {
|
2020-10-01 06:53:31 +00:00
|
|
|
createClientButton: `vn-float-button`
|
2017-09-17 16:09:59 +00:00
|
|
|
},
|
2020-02-13 08:47:05 +00:00
|
|
|
clientSummary: {
|
|
|
|
header: 'vn-client-summary > vn-card > h5',
|
|
|
|
email: 'vn-client-summary vn-label-value[label="Email"]',
|
|
|
|
street: 'vn-client-summary vn-label-value[label="Street"]',
|
|
|
|
verifiedData: 'vn-client-summary > vn-card > vn-horizontal vn-check[ng-model="$ctrl.summary.isTaxDataChecked"]',
|
|
|
|
payMethod: 'vn-client-summary vn-label-value[label="Pay method"]',
|
|
|
|
defaultAdressName: 'vn-client-summary vn-label-value[label="Name"]',
|
|
|
|
userName: 'vn-client-summary vn-label-value[label="User"]',
|
|
|
|
rate: 'vn-client-summary vn-label-value[label="Rate"]',
|
|
|
|
credit: 'vn-client-summary vn-label-value[label="Credit"]',
|
|
|
|
},
|
2017-09-17 16:09:59 +00:00
|
|
|
createClientView: {
|
2020-02-03 14:55:11 +00:00
|
|
|
name: 'vn-client-create vn-textfield[ng-model="$ctrl.client.name"]',
|
|
|
|
taxNumber: 'vn-client-create vn-textfield[ng-model="$ctrl.client.fi"]',
|
|
|
|
socialName: 'vn-client-create vn-textfield[ng-model="$ctrl.client.socialName"]',
|
|
|
|
street: 'vn-client-create vn-textfield[ng-model="$ctrl.client.street"]',
|
2020-10-19 18:49:38 +00:00
|
|
|
addPostCode: 'vn-client-create vn-datalist[ng-model="$ctrl.client.postcode"] vn-icon-button[icon="add_circle"]',
|
|
|
|
addProvince: 'vn-autocomplete[ng-model="$ctrl.location.provinceFk"] vn-icon-button[icon="add_circle"]',
|
|
|
|
addCity: 'vn-autocomplete[ng-model="$ctrl.location.townFk"] vn-icon-button[icon="add_circle"]',
|
|
|
|
newProvinceName: 'vn-textfield[ng-model="$ctrl.province.name"]',
|
|
|
|
newCityName: 'vn-textfield[ng-model="$ctrl.city.name"]',
|
|
|
|
newCityProvince: 'vn-autocomplete[ng-model="$ctrl.city.provinceFk"]',
|
|
|
|
newPostcode: 'vn-textfield[ng-model="$ctrl.location.code"]',
|
2020-03-02 08:30:54 +00:00
|
|
|
postcode: 'vn-client-create vn-datalist[ng-model="$ctrl.client.postcode"]',
|
|
|
|
city: 'vn-client-create vn-datalist[ng-model="$ctrl.client.city"]',
|
2020-10-19 18:49:38 +00:00
|
|
|
province: 'vn-autocomplete[ng-model="$ctrl.client.provinceFk"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
country: 'vn-client-create vn-autocomplete[ng-model="$ctrl.client.countryFk"]',
|
2020-10-19 18:49:38 +00:00
|
|
|
dialogCountry: 'vn-autocomplete[ng-model="$ctrl.province.countryFk"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
userName: 'vn-client-create vn-textfield[ng-model="$ctrl.client.userName"]',
|
|
|
|
email: 'vn-client-create vn-textfield[ng-model="$ctrl.client.email"]',
|
|
|
|
salesPerson: 'vn-client-create vn-autocomplete[ng-model="$ctrl.client.salesPersonFk"]',
|
2020-10-19 18:49:38 +00:00
|
|
|
saveNewProvicenButton: '#saveProvince',
|
|
|
|
saveNewCityButton: '#saveCity',
|
|
|
|
saveNewPoscode: '#savePostcode',
|
2020-10-01 08:38:02 +00:00
|
|
|
createButton: 'vn-client-create button[type=submit]'
|
2017-10-30 14:37:35 +00:00
|
|
|
},
|
2019-01-16 14:02:50 +00:00
|
|
|
clientDescriptor: {
|
2020-05-06 12:38:09 +00:00
|
|
|
moreMenu: 'vn-client-descriptor vn-icon-button[icon=more_vert]',
|
|
|
|
simpleTicketButton: '.vn-menu [name="simpleTicket"]'
|
2019-01-16 14:02:50 +00:00
|
|
|
},
|
2018-02-15 11:28:05 +00:00
|
|
|
clientBasicData: {
|
2020-02-03 14:55:11 +00:00
|
|
|
name: 'vn-client-basic-data vn-textfield[ng-model="$ctrl.client.name"]',
|
|
|
|
contact: 'vn-client-basic-data vn-textfield[ng-model="$ctrl.client.contact"]',
|
|
|
|
email: 'vn-client-basic-data vn-textfield[ng-model="$ctrl.client.email"]',
|
2020-02-06 12:00:41 +00:00
|
|
|
phone: 'vn-client-basic-data vn-textfield[ng-model="$ctrl.client.phone"]',
|
|
|
|
mobile: 'vn-client-basic-data vn-textfield[ng-model="$ctrl.client.mobile"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
salesPerson: 'vn-client-basic-data vn-autocomplete[ng-model="$ctrl.client.salesPersonFk"]',
|
|
|
|
channel: 'vn-client-basic-data vn-autocomplete[ng-model="$ctrl.client.contactChannelFk"]',
|
|
|
|
saveButton: 'vn-client-basic-data button[type=submit]'
|
2017-10-31 07:14:33 +00:00
|
|
|
},
|
2018-02-15 11:28:05 +00:00
|
|
|
clientFiscalData: {
|
2019-04-26 12:15:37 +00:00
|
|
|
fiscalDataButton: 'vn-left-menu a[ui-sref="client.card.fiscalData"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
socialName: 'vn-client-fiscal-data vn-textfield[ng-model="$ctrl.client.socialName"]',
|
|
|
|
fiscalId: 'vn-client-fiscal-data vn-textfield[ng-model="$ctrl.client.fi"]',
|
2020-02-05 07:43:46 +00:00
|
|
|
equalizationTaxCheckbox: 'vn-client-fiscal-data vn-check[ng-model="$ctrl.client.isEqualizated"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
address: 'vn-client-fiscal-data vn-textfield[ng-model="$ctrl.client.street"]',
|
2020-03-02 08:30:54 +00:00
|
|
|
postcode: 'vn-client-fiscal-data vn-datalist[ng-model="$ctrl.client.postcode"]',
|
2020-10-21 07:29:42 +00:00
|
|
|
sageTax: 'vn-client-fiscal-data vn-autocomplete[ng-model="$ctrl.client.sageTaxTypeFk"]',
|
|
|
|
sageTransaction: 'vn-client-fiscal-data vn-autocomplete[ng-model="$ctrl.client.sageTransactionTypeFk"]',
|
|
|
|
transferor: 'vn-client-fiscal-data vn-autocomplete[ng-model="$ctrl.client.transferorFk"]',
|
2020-03-02 08:30:54 +00:00
|
|
|
city: 'vn-client-fiscal-data vn-datalist[ng-model="$ctrl.client.city"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
province: 'vn-client-fiscal-data vn-autocomplete[ng-model="$ctrl.client.provinceFk"]',
|
|
|
|
country: 'vn-client-fiscal-data vn-autocomplete[ng-model="$ctrl.client.countryFk"]',
|
|
|
|
activeCheckbox: 'vn-client-fiscal-data vn-check[label="Active"]',
|
|
|
|
frozenCheckbox: 'vn-client-fiscal-data vn-check[label="Frozen"]',
|
|
|
|
invoiceByAddressCheckbox: 'vn-client-fiscal-data vn-check[label="Invoice by address"]',
|
|
|
|
verifiedDataCheckbox: 'vn-client-fiscal-data vn-check[label="Verified data"]',
|
|
|
|
hasToInvoiceCheckbox: 'vn-client-fiscal-data vn-check[label="Has to invoice"]',
|
2020-06-03 11:42:36 +00:00
|
|
|
notifyByMailCheckbox: 'vn-client-fiscal-data vn-check[label="Notify by email"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
viesCheckbox: 'vn-client-fiscal-data vn-check[label="Vies"]',
|
|
|
|
saveButton: 'button[type=submit]',
|
2019-11-28 11:54:34 +00:00
|
|
|
watcher: 'vn-client-fiscal-data vn-watcher'
|
2017-12-11 11:33:27 +00:00
|
|
|
},
|
2019-04-16 09:32:45 +00:00
|
|
|
clientBillingData: {
|
2020-02-03 14:55:11 +00:00
|
|
|
payMethod: 'vn-client-billing-data vn-autocomplete[ng-model="$ctrl.client.payMethodFk"]',
|
|
|
|
IBAN: 'vn-client-billing-data vn-textfield[ng-model="$ctrl.client.iban"]',
|
|
|
|
dueDay: 'vn-client-billing-data vn-input-number[ng-model="$ctrl.client.dueDay"]',
|
2019-10-08 21:57:02 +00:00
|
|
|
receivedCoreLCRCheckbox: 'vn-client-billing-data vn-check[label="Received LCR"]',
|
|
|
|
receivedCoreVNLCheckbox: 'vn-client-billing-data vn-check[label="Received core VNL"]',
|
|
|
|
receivedB2BVNLCheckbox: 'vn-client-billing-data vn-check[label="Received B2B VNL"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
swiftBic: 'vn-client-billing-data vn-autocomplete[ng-model="$ctrl.client.bankEntityFk"]',
|
2018-10-24 08:57:14 +00:00
|
|
|
newBankEntityButton: 'vn-client-billing-data vn-icon-button[vn-tooltip="New bank entity"] > button',
|
2020-02-03 14:55:11 +00:00
|
|
|
newBankEntityName: '.vn-dialog.shown vn-textfield[ng-model="$ctrl.newBankEntity.name"]',
|
|
|
|
newBankEntityBIC: '.vn-dialog.shown vn-textfield[ng-model="$ctrl.newBankEntity.bic"]',
|
|
|
|
newBankEntityCode: '.vn-dialog.shown vn-textfield[ng-model="$ctrl.newBankEntity.id"]',
|
2019-10-30 15:57:14 +00:00
|
|
|
acceptBankEntityButton: '.vn-dialog.shown button[response="accept"]',
|
2020-02-10 11:57:00 +00:00
|
|
|
saveButton: 'vn-client-billing-data button[type=submit]',
|
2019-11-28 11:54:34 +00:00
|
|
|
watcher: 'vn-client-billing-data vn-watcher'
|
2017-12-13 10:25:50 +00:00
|
|
|
},
|
2018-02-15 11:28:05 +00:00
|
|
|
clientAddresses: {
|
2019-04-26 12:15:37 +00:00
|
|
|
addressesButton: 'vn-left-menu a[ui-sref="client.card.address.index"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
createAddress: 'vn-client-address-index vn-float-button',
|
|
|
|
defaultCheckbox: 'vn-check[label="Default"]',
|
|
|
|
consignee: 'vn-textfield[ng-model="$ctrl.address.nickname"]',
|
|
|
|
streetAddress: 'vn-textfield[ng-model="$ctrl.address.street"]',
|
2020-03-02 08:30:54 +00:00
|
|
|
postcode: 'vn-datalist[ng-model="$ctrl.address.postalCode"]',
|
|
|
|
city: 'vn-datalist[ng-model="$ctrl.address.city"]',
|
2020-10-20 15:36:02 +00:00
|
|
|
province: 'vn-autocomplete[ng-model="$ctrl.address.provinceFk"]',
|
|
|
|
agency: 'vn-autocomplete[ng-model="$ctrl.address.agencyModeFk"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
phone: 'vn-textfield[ng-model="$ctrl.address.phone"]',
|
|
|
|
mobileInput: 'vn-textfield[ng-model="$ctrl.address.mobile"]',
|
2019-09-02 07:25:18 +00:00
|
|
|
defaultAddress: 'vn-client-address-index div:nth-child(1) div[name="street"]',
|
2020-10-20 15:36:02 +00:00
|
|
|
incoterms: 'vn-autocomplete[ng-model="$ctrl.address.incotermsFk"]',
|
|
|
|
addNewCustomsAgent: 'vn-client-address-create vn-autocomplete[ng-model="$ctrl.address.customsAgentFk"] vn-icon-button[icon="add_circle"]',
|
2020-05-28 07:54:31 +00:00
|
|
|
newCustomsAgentFiscalID: 'vn-textfield[ng-model="$ctrl.newCustomsAgent.nif"]',
|
|
|
|
newCustomsAgentFiscalName: 'vn-textfield[ng-model="$ctrl.newCustomsAgent.fiscalName"]',
|
|
|
|
newCustomsAgentStreet: 'vn-textfield[ng-model="$ctrl.newCustomsAgent.street"]',
|
|
|
|
newCustomsAgentPhone: 'vn-textfield[ng-model="$ctrl.newCustomsAgent.phone"]',
|
|
|
|
saveNewCustomsAgentButton: 'button[response="accept"]',
|
2020-10-20 15:36:02 +00:00
|
|
|
customsAgent: 'vn-autocomplete[ng-model="$ctrl.address.customsAgentFk"]',
|
2019-09-02 07:25:18 +00:00
|
|
|
secondMakeDefaultStar: 'vn-client-address-index vn-card div:nth-child(2) vn-icon-button[icon="star_border"]',
|
|
|
|
firstEditAddress: 'vn-client-address-index div:nth-child(1) > a',
|
|
|
|
secondEditAddress: 'vn-client-address-index div:nth-child(2) > a',
|
2019-09-30 18:46:22 +00:00
|
|
|
activeCheckbox: 'vn-check[label="Enabled"]',
|
|
|
|
equalizationTaxCheckbox: 'vn-client-address-edit vn-check[label="Is equalizated"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
firstObservationType: 'vn-client-address-edit [name=observations] vn-horizontal:nth-child(1) vn-autocomplete[ng-model="observation.observationTypeFk"]',
|
|
|
|
firstObservationDescription: 'vn-client-address-edit [name=observations] vn-horizontal:nth-child(1) vn-textfield[ng-model="observation.description"]',
|
|
|
|
secondObservationType: 'vn-client-address-edit [name=observations] vn-horizontal:nth-child(2) vn-autocomplete[ng-model="observation.observationTypeFk"]',
|
|
|
|
secondObservationDescription: 'vn-client-address-edit [name=observations] vn-horizontal:nth-child(2) vn-textfield[ng-model="observation.description"]',
|
2019-07-08 12:07:09 +00:00
|
|
|
addObservationButton: 'vn-client-address-edit div[name="observations"] vn-icon-button[icon="add_circle"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
saveButton: 'button[type=submit]',
|
2019-11-19 13:33:25 +00:00
|
|
|
cancelEditAddressButton: 'vn-client-address-edit > form > vn-button-bar > vn-button > button',
|
|
|
|
watcher: 'vn-client-address-edit vn-watcher'
|
2017-12-15 09:07:52 +00:00
|
|
|
},
|
2018-02-15 11:28:05 +00:00
|
|
|
clientWebAccess: {
|
2019-09-30 18:46:22 +00:00
|
|
|
enableWebAccessCheckbox: 'vn-check[label="Enable web access"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
userName: 'vn-client-web-access vn-textfield[ng-model="$ctrl.account.name"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
saveButton: 'button[type=submit]'
|
2017-12-15 11:51:06 +00:00
|
|
|
},
|
2018-02-15 11:28:05 +00:00
|
|
|
clientNotes: {
|
2019-12-11 13:14:44 +00:00
|
|
|
addNoteFloatButton: 'vn-float-button',
|
2020-02-03 14:55:11 +00:00
|
|
|
note: 'vn-textarea[ng-model="$ctrl.note.text"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
saveButton: 'button[type=submit]',
|
2018-10-30 09:22:47 +00:00
|
|
|
firstNoteText: 'vn-client-note .text'
|
2018-01-08 07:12:39 +00:00
|
|
|
},
|
2018-02-15 11:28:05 +00:00
|
|
|
clientCredit: {
|
2019-12-11 13:14:44 +00:00
|
|
|
addCreditFloatButton: 'vn-float-button',
|
2020-02-03 14:55:11 +00:00
|
|
|
credit: 'vn-client-credit-create vn-input-number[ng-model="$ctrl.client.credit"]',
|
|
|
|
firstCreditText: 'vn-client-credit-index vn-card vn-table vn-tbody > vn-tr',
|
|
|
|
saveButton: 'button[type=submit]'
|
2018-01-08 14:06:20 +00:00
|
|
|
},
|
2018-02-15 11:28:05 +00:00
|
|
|
clientGreuge: {
|
2019-12-11 13:14:44 +00:00
|
|
|
addGreugeFloatButton: 'vn-float-button',
|
2020-02-03 14:55:11 +00:00
|
|
|
amount: 'vn-client-greuge-create vn-input-number[ng-model="$ctrl.greuge.amount"]',
|
|
|
|
description: 'vn-client-greuge-create vn-textfield[ng-model="$ctrl.greuge.description"]',
|
|
|
|
type: 'vn-autocomplete[ng-model="$ctrl.greuge.greugeTypeFk"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
saveButton: 'button[type=submit]',
|
2019-10-23 15:38:35 +00:00
|
|
|
firstGreugeText: 'vn-client-greuge-index vn-card vn-table vn-tbody > vn-tr'
|
2018-01-12 13:20:28 +00:00
|
|
|
},
|
2018-02-15 11:28:05 +00:00
|
|
|
clientMandate: {
|
2019-10-23 15:38:35 +00:00
|
|
|
firstMandateText: 'vn-client-mandate vn-card vn-table vn-tbody > vn-tr'
|
2018-02-15 11:28:05 +00:00
|
|
|
},
|
2018-10-30 09:22:47 +00:00
|
|
|
clientLog: {
|
|
|
|
lastModificationPreviousValue: 'vn-client-log vn-table vn-td.before',
|
|
|
|
lastModificationCurrentValue: 'vn-client-log vn-table vn-td.after'
|
|
|
|
|
2018-11-19 13:33:18 +00:00
|
|
|
},
|
2019-04-16 11:40:26 +00:00
|
|
|
clientBalance: {
|
2020-02-03 14:55:11 +00:00
|
|
|
company: 'vn-client-balance-index vn-autocomplete[ng-model="$ctrl.companyId"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
newPaymentButton: `vn-float-button`,
|
2021-01-25 14:27:57 +00:00
|
|
|
newPaymentBank: '.vn-dialog.shown vn-autocomplete[ng-model="$ctrl.bankFk"]',
|
2021-01-29 15:33:23 +00:00
|
|
|
newPaymentAmount: '.vn-dialog.shown vn-input-number[ng-model="$ctrl.amountPaid"]',
|
2021-01-04 10:49:32 +00:00
|
|
|
newDescription: 'vn-textfield[ng-model="$ctrl.receipt.description"]',
|
2021-01-29 15:33:23 +00:00
|
|
|
deliveredAmount: '.vn-dialog vn-input-number[ng-model="$ctrl.deliveredAmount"]',
|
|
|
|
refundAmount: '.vn-dialog vn-input-number[ng-model="$ctrl.amountToReturn"]',
|
2020-03-30 15:30:03 +00:00
|
|
|
saveButton: '.vn-dialog.shown [response="accept"]',
|
2020-08-31 13:00:11 +00:00
|
|
|
firstLineBalance: 'vn-client-balance-index vn-tbody > vn-tr:nth-child(1) > vn-td:nth-child(8)',
|
|
|
|
firstLineReference: 'vn-client-balance-index vn-tbody > vn-tr:nth-child(1) > vn-td-editable',
|
|
|
|
firstLineReferenceInput: 'vn-client-balance-index vn-tbody > vn-tr:nth-child(1) > vn-td-editable > div > field > vn-textfield'
|
2018-03-02 13:45:22 +00:00
|
|
|
},
|
2019-02-20 11:49:39 +00:00
|
|
|
webPayment: {
|
|
|
|
confirmFirstPaymentButton: 'vn-client-web-payment vn-tr:nth-child(1) vn-icon-button[icon="done_all"]',
|
2019-09-30 18:46:22 +00:00
|
|
|
firstPaymentConfirmed: 'vn-client-web-payment vn-tr:nth-child(1) vn-icon[icon="check"]'
|
2019-02-20 11:49:39 +00:00
|
|
|
},
|
2019-08-12 14:58:39 +00:00
|
|
|
dms: {
|
2019-10-01 14:17:57 +00:00
|
|
|
deleteFileButton: 'vn-client-dms-index vn-tr:nth-child(1) vn-icon-button[icon="delete"]',
|
2020-09-03 13:11:16 +00:00
|
|
|
firstDocWorker: 'vn-client-dms-index vn-td:nth-child(8) > span',
|
2020-03-17 10:00:16 +00:00
|
|
|
firstDocWorkerDescriptor: '.vn-popover.shown vn-worker-descriptor'
|
2019-08-12 14:58:39 +00:00
|
|
|
},
|
2020-10-21 12:25:40 +00:00
|
|
|
clientCreditInsurance: {
|
|
|
|
addNewContract: 'vn-client-credit-insurance-index vn-float-button[ui-sref="client.card.creditInsurance.create"]',
|
2020-10-22 12:33:51 +00:00
|
|
|
newCreditClassification: 'vn-client-credit-insurance-create vn-input-number[ng-model="$ctrl.creditClassification.credit"]',
|
|
|
|
newInsuranceCredit: 'vn-client-credit-insurance-insurance-create vn-input-number[ng-model="$ctrl.insurance.credit"]',
|
|
|
|
newClassificationGrade: 'vn-client-credit-insurance-create vn-input-number[ng-model="$ctrl.creditClassification.grade"]',
|
|
|
|
newInsuranceGrade: 'vn-client-credit-insurance-insurance-create vn-input-number[ng-model="$ctrl.insurance.grade"]',
|
|
|
|
newClassificationStartingDate: 'vn-client-credit-insurance-create vn-date-picker[ng-model="$ctrl.creditClassification.started"]',
|
|
|
|
newInsuranceStartingDate: 'vn-client-credit-insurance-insurance-create vn-date-picker[ng-model="$ctrl.insurance.created"]',
|
2020-10-21 12:25:40 +00:00
|
|
|
endCurrentContract: 'vn-client-credit-insurance-index vn-icon-button[icon="lock"]',
|
2020-11-24 07:22:54 +00:00
|
|
|
firstContratViewCreditButton: 'vn-client-credit-insurance-index vn-card > vn-horizontal:nth-child(1) vn-icon-button[icon="preview"]',
|
2020-10-22 12:33:51 +00:00
|
|
|
addNewCredit: 'vn-client-credit-insurance-insurance-index vn-float-button vn-icon[icon="add"]',
|
|
|
|
saveNewContract: 'vn-client-credit-insurance-create vn-submit',
|
|
|
|
saveNewInsuranceCredit: 'vn-client-credit-insurance-insurance-create button[type="submit"]',
|
|
|
|
anyCreditInsuranceLine: 'vn-client-credit-insurance-insurance-index vn-tbody > vn-tr',
|
2020-10-21 12:25:40 +00:00
|
|
|
},
|
2020-02-10 11:12:49 +00:00
|
|
|
clientContacts: {
|
|
|
|
addContactButton: 'vn-client-contact vn-icon[icon="add_circle"]',
|
|
|
|
name: 'vn-client-contact vn-textfield[ng-model="contact.name"]',
|
|
|
|
phone: 'vn-client-contact vn-textfield[ng-model="contact.phone"]',
|
|
|
|
deleteFirstPhone: 'vn-client-contact vn-icon[icon="delete"]',
|
|
|
|
saveButton: 'button[type=submit]'
|
|
|
|
},
|
2018-02-15 11:28:05 +00:00
|
|
|
itemsIndex: {
|
2019-10-18 19:36:30 +00:00
|
|
|
createItemButton: `vn-float-button`,
|
2020-03-17 10:00:16 +00:00
|
|
|
firstSearchResult: 'vn-item-index a:nth-child(1)',
|
2019-04-26 12:15:37 +00:00
|
|
|
searchResult: 'vn-item-index a.vn-tr',
|
2020-11-24 08:06:37 +00:00
|
|
|
firstResultPreviewButton: 'vn-item-index vn-tbody > :nth-child(1) .buttons > [icon="preview"]',
|
2019-04-26 12:15:37 +00:00
|
|
|
searchResultCloneButton: 'vn-item-index .buttons > [icon="icon-clone"]',
|
2019-10-30 15:57:14 +00:00
|
|
|
acceptClonationAlertButton: '.vn-confirm.shown [response="accept"]',
|
2019-10-28 16:31:33 +00:00
|
|
|
closeItemSummaryPreview: '.vn-popup.shown',
|
2020-08-28 17:52:54 +00:00
|
|
|
fieldsToShowButton: 'vn-item-index vn-table > div > div > vn-icon-button[icon="more_vert"]',
|
|
|
|
fieldsToShowForm: '.vn-popover.shown .content',
|
2019-11-12 07:51:50 +00:00
|
|
|
firstItemImage: 'vn-item-index vn-tbody > a:nth-child(1) > vn-td:nth-child(1) > img',
|
|
|
|
firstItemImageTd: 'vn-item-index vn-table a:nth-child(1) vn-td:nth-child(1)',
|
2019-03-06 08:26:05 +00:00
|
|
|
firstItemId: 'vn-item-index vn-tbody > a:nth-child(1) > vn-td:nth-child(2)',
|
2020-09-02 13:20:28 +00:00
|
|
|
idCheckbox: '.vn-popover.shown vn-horizontal:nth-child(1) > vn-check',
|
|
|
|
stemsCheckbox: '.vn-popover.shown vn-horizontal:nth-child(2) > vn-check',
|
|
|
|
sizeCheckbox: '.vn-popover.shown vn-horizontal:nth-child(3) > vn-check',
|
|
|
|
nicheCheckbox: '.vn-popover.shown vn-horizontal:nth-child(4) > vn-check',
|
|
|
|
typeCheckbox: '.vn-popover.shown vn-horizontal:nth-child(5) > vn-check',
|
|
|
|
categoryCheckbox: '.vn-popover.shown vn-horizontal:nth-child(6) > vn-check',
|
|
|
|
intrastadCheckbox: '.vn-popover.shown vn-horizontal:nth-child(7) > vn-check',
|
|
|
|
originCheckbox: '.vn-popover.shown vn-horizontal:nth-child(8) > vn-check',
|
|
|
|
buyerCheckbox: '.vn-popover.shown vn-horizontal:nth-child(9) > vn-check',
|
|
|
|
destinyCheckbox: '.vn-popover.shown vn-horizontal:nth-child(10) > vn-check',
|
|
|
|
taxClassCheckbox: '.vn-popover.shown vn-horizontal:nth-child(11) > vn-check',
|
|
|
|
saveFieldsButton: '.vn-popover.shown vn-button[label="Save"] > button'
|
2018-02-15 12:20:01 +00:00
|
|
|
},
|
2021-01-19 19:56:33 +00:00
|
|
|
itemFixedPrice: {
|
|
|
|
add: 'vn-fixed-price vn-icon[icon="add_circle"]',
|
|
|
|
fourthFixedPrice: 'vn-fixed-price vn-tr:nth-child(4)',
|
|
|
|
fourthItemID: 'vn-fixed-price vn-tr:nth-child(4) vn-autocomplete[ng-model="price.itemFk"]',
|
|
|
|
fourthWarehouse: 'vn-fixed-price vn-tr:nth-child(4) vn-autocomplete[ng-model="price.warehouseFk"]',
|
|
|
|
fourthPPU: 'vn-fixed-price vn-tr:nth-child(4) > vn-td-editable:nth-child(4)',
|
|
|
|
fourthPPP: 'vn-fixed-price vn-tr:nth-child(4) > vn-td-editable:nth-child(5)',
|
|
|
|
fourthMinPrice: 'vn-fixed-price vn-tr:nth-child(4) > vn-td-editable:nth-child(6)',
|
|
|
|
fourthStarted: 'vn-fixed-price vn-tr:nth-child(4) vn-date-picker[ng-model="price.started"]',
|
|
|
|
fourthEnded: 'vn-fixed-price vn-tr:nth-child(4) vn-date-picker[ng-model="price.ended"]',
|
|
|
|
fourthDeleteIcon: 'vn-fixed-price vn-tr:nth-child(4) > vn-td:nth-child(9) > vn-icon-button[icon="delete"]'
|
|
|
|
},
|
2018-02-26 15:06:49 +00:00
|
|
|
itemCreateView: {
|
2020-02-03 14:55:11 +00:00
|
|
|
temporalName: 'vn-item-create vn-textfield[ng-model="$ctrl.item.provisionalName"]',
|
|
|
|
type: 'vn-autocomplete[ng-model="$ctrl.item.typeFk"]',
|
|
|
|
intrastat: 'vn-autocomplete[ng-model="$ctrl.item.intrastatFk"]',
|
|
|
|
origin: 'vn-autocomplete[ng-model="$ctrl.item.originFk"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
createButton: 'button[type=submit]',
|
2019-10-18 19:36:30 +00:00
|
|
|
cancelButton: 'vn-button[ui-sref="item.index"]'
|
2018-02-26 15:06:49 +00:00
|
|
|
},
|
2018-11-14 17:05:24 +00:00
|
|
|
itemDescriptor: {
|
2019-06-26 12:19:08 +00:00
|
|
|
goBackToModuleIndexButton: 'vn-item-descriptor a[href="#!/item/index"]',
|
2020-05-06 12:38:09 +00:00
|
|
|
moreMenu: 'vn-item-descriptor vn-icon-button[icon=more_vert]',
|
|
|
|
moreMenuRegularizeButton: '.vn-menu [name="regularizeStock"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
regularizeQuantity: '.vn-dialog.shown vn-textfield[ng-model="$ctrl.quantity"]',
|
|
|
|
regularizeWarehouse: '.vn-dialog.shown vn-autocomplete[ng-model="$ctrl.warehouseFk"]',
|
2019-11-12 13:18:46 +00:00
|
|
|
editButton: 'vn-item-descriptor vn-float-button[icon="edit"]',
|
2019-10-28 16:31:33 +00:00
|
|
|
regularizeSaveButton: '.vn-dialog.shown tpl-buttons > button',
|
2020-10-01 08:38:02 +00:00
|
|
|
inactiveIcon: 'vn-item-descriptor vn-icon[icon="icon-unavailable"]'
|
2018-11-14 17:05:24 +00:00
|
|
|
},
|
2020-02-14 13:52:47 +00:00
|
|
|
itemRequest: {
|
|
|
|
firstRequestItemID: 'vn-item-request vn-tbody > vn-tr:nth-child(1) > vn-td-editable:nth-child(7)',
|
|
|
|
firstRequestQuantity: 'vn-item-request vn-tbody > vn-tr:nth-child(1) > vn-td-editable:nth-child(8)',
|
|
|
|
firstRequestConcept: 'vn-item-request vn-tbody > vn-tr:nth-child(1) > vn-td:nth-child(9)',
|
|
|
|
firstRequestStatus: 'vn-item-request vn-tbody > vn-tr:nth-child(1) > vn-td:nth-child(10)',
|
2020-11-11 15:54:27 +00:00
|
|
|
secondRequestStatus: 'vn-item-request vn-tbody > vn-tr:nth-child(2) > vn-td:nth-child(10)',
|
|
|
|
secondRequestDecline: 'vn-item-request vn-tr:nth-child(2) vn-icon-button[icon="thumb_down"]',
|
2020-10-01 08:38:02 +00:00
|
|
|
declineReason: 'vn-textarea[ng-model="$ctrl.denyObservation"]'
|
2020-02-14 13:52:47 +00:00
|
|
|
},
|
2018-02-19 10:55:45 +00:00
|
|
|
itemBasicData: {
|
2019-01-27 20:09:54 +00:00
|
|
|
goToItemIndexButton: 'vn-item-descriptor [ui-sref="item.index"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
type: 'vn-autocomplete[ng-model="$ctrl.item.typeFk"]',
|
|
|
|
intrastat: 'vn-autocomplete[ng-model="$ctrl.item.intrastatFk"]',
|
|
|
|
name: 'vn-item-basic-data vn-textfield[ng-model="$ctrl.item.name"]',
|
|
|
|
relevancy: 'vn-item-basic-data vn-input-number[ng-model="$ctrl.item.relevancy"]',
|
|
|
|
origin: 'vn-autocomplete[ng-model="$ctrl.item.originFk"]',
|
2020-09-17 07:58:00 +00:00
|
|
|
compression: 'vn-item-basic-data vn-input-number[ng-model="$ctrl.item.compression"]',
|
2020-09-18 09:50:20 +00:00
|
|
|
isFragile: 'vn-check[ng-model="$ctrl.item.isFragile"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
longName: 'vn-textfield[ng-model="$ctrl.item.longName"]',
|
2019-09-30 18:46:22 +00:00
|
|
|
isActiveCheckbox: 'vn-check[label="Active"]',
|
|
|
|
priceInKgCheckbox: 'vn-check[label="Price in kg"]',
|
2020-02-17 11:47:03 +00:00
|
|
|
newIntrastatButton: 'vn-item-basic-data vn-icon-button[vn-tooltip="New intrastat"] > button',
|
|
|
|
newIntrastatId: '.vn-dialog.shown vn-input-number[ng-model="$ctrl.newIntrastat.intrastatId"]',
|
|
|
|
newIntrastatDescription: '.vn-dialog.shown vn-textfield[ng-model="$ctrl.newIntrastat.description"]',
|
|
|
|
acceptIntrastatButton: '.vn-dialog.shown button[response="accept"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
submitBasicDataButton: `button[type=submit]`
|
2018-02-19 10:55:45 +00:00
|
|
|
},
|
2018-02-27 18:00:46 +00:00
|
|
|
itemTags: {
|
2020-02-03 14:55:11 +00:00
|
|
|
fourthTag: 'vn-item-tags vn-horizontal:nth-child(4) > vn-autocomplete[ng-model="itemTag.tagFk"]',
|
|
|
|
fourthValue: 'vn-item-tags vn-horizontal:nth-child(4) vn-textfield[ng-model="itemTag.value"]',
|
|
|
|
fourthRelevancy: 'vn-item-tags vn-horizontal:nth-child(4) [ng-model="itemTag.priority"]',
|
2019-04-26 12:15:37 +00:00
|
|
|
fourthRemoveTagButton: 'vn-item-tags vn-horizontal:nth-child(4) vn-icon-button[icon="delete"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
fifthTag: 'vn-item-tags vn-horizontal:nth-child(5) > vn-autocomplete[ng-model="itemTag.tagFk"]',
|
|
|
|
fifthValue: 'vn-item-tags vn-horizontal:nth-child(5) vn-textfield[ng-model="itemTag.value"]',
|
2020-02-06 09:31:39 +00:00
|
|
|
fifthRelevancy: 'vn-item-tags vn-horizontal:nth-child(5) vn-input-number[ng-model="itemTag.priority"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
sixthTag: 'vn-item-tags vn-horizontal:nth-child(6) > vn-autocomplete[ng-model="itemTag.tagFk"]',
|
|
|
|
sixthValue: 'vn-item-tags vn-horizontal:nth-child(6) vn-textfield[ng-model="itemTag.value"]',
|
2020-02-06 09:31:39 +00:00
|
|
|
sixthRelevancy: 'vn-item-tags vn-horizontal:nth-child(6) vn-input-number[ng-model="itemTag.priority"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
seventhTag: 'vn-item-tags vn-horizontal:nth-child(7) > vn-autocomplete[ng-model="itemTag.tagFk"]',
|
|
|
|
seventhValue: 'vn-item-tags vn-horizontal:nth-child(7) vn-textfield[ng-model="itemTag.value"]',
|
2020-02-06 09:31:39 +00:00
|
|
|
seventhRelevancy: 'vn-item-tags vn-horizontal:nth-child(7) vn-input-number[ng-model="itemTag.priority"]',
|
2019-04-26 12:15:37 +00:00
|
|
|
addItemTagButton: 'vn-item-tags vn-icon-button[icon="add_circle"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
submitItemTagsButton: 'vn-item-tags button[type=submit]'
|
2018-02-27 18:00:46 +00:00
|
|
|
},
|
2018-02-26 12:43:07 +00:00
|
|
|
itemTax: {
|
2019-10-08 15:27:27 +00:00
|
|
|
undoChangesButton: 'vn-item-tax vn-button-bar > vn-button[label="Undo changes"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
firstClass: 'vn-item-tax vn-horizontal:nth-child(1) > vn-autocomplete[ng-model="tax.taxClassFk"]',
|
|
|
|
secondClass: 'vn-item-tax vn-horizontal:nth-child(2) > vn-autocomplete[ng-model="tax.taxClassFk"]',
|
|
|
|
thirdClass: 'vn-item-tax vn-horizontal:nth-child(3) > vn-autocomplete[ng-model="tax.taxClassFk"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
submitTaxButton: 'vn-item-tax button[type=submit]'
|
2018-02-26 12:43:07 +00:00
|
|
|
},
|
2018-02-15 12:20:01 +00:00
|
|
|
itemBarcodes: {
|
2019-04-26 12:15:37 +00:00
|
|
|
addBarcodeButton: 'vn-item-barcode vn-icon[icon="add_circle"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
thirdCode: 'vn-item-barcode vn-horizontal:nth-child(3) vn-textfield[ng-model="barcode.code"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
submitBarcodesButton: 'vn-item-barcode button[type=submit]',
|
2020-03-17 10:00:16 +00:00
|
|
|
firstCodeRemoveButton: 'vn-item-barcode vn-horizontal:nth-child(1) vn-icon[icon="delete"]'
|
2018-02-20 14:22:24 +00:00
|
|
|
},
|
|
|
|
itemNiches: {
|
2019-04-26 12:15:37 +00:00
|
|
|
addNicheButton: 'vn-item-niche vn-icon[icon="add_circle"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
firstWarehouse: 'vn-item-niche vn-autocomplete[ng-model="niche.warehouseFk"]',
|
|
|
|
firstCode: 'vn-item-niche vn-horizontal:nth-child(1) vn-textfield[ng-model="niche.code"]',
|
|
|
|
secondWarehouse: 'vn-item-niche vn-horizontal:nth-child(2) > vn-autocomplete[ng-model="niche.warehouseFk"]',
|
|
|
|
secondCode: 'vn-item-niche vn-horizontal:nth-child(2) vn-textfield[ng-model="niche.code"]',
|
2019-04-26 12:15:37 +00:00
|
|
|
secondNicheRemoveButton: 'vn-item-niche vn-horizontal:nth-child(2) > vn-none > vn-icon-button[icon="delete"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
thirdWarehouse: 'vn-item-niche vn-horizontal:nth-child(3) > vn-autocomplete[ng-model="niche.warehouseFk"]',
|
|
|
|
thirdCode: 'vn-item-niche vn-horizontal:nth-child(3) vn-textfield[ng-model="niche.code"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
submitNichesButton: 'vn-item-niche button[type=submit]'
|
2018-02-21 10:03:55 +00:00
|
|
|
},
|
|
|
|
itemBotanical: {
|
2020-02-03 14:55:11 +00:00
|
|
|
botanical: 'vn-item-botanical vn-horizontal:nth-child(1) vn-textfield[ng-model="$ctrl.botanical.botanical"]',
|
|
|
|
genus: 'vn-item-botanical vn-autocomplete[ng-model="$ctrl.botanical.genusFk"]',
|
|
|
|
species: 'vn-item-botanical vn-autocomplete[ng-model="$ctrl.botanical.specieFk"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
submitBotanicalButton: `vn-item-botanical button[type=submit]`
|
2018-02-22 10:26:32 +00:00
|
|
|
},
|
2018-02-22 15:44:14 +00:00
|
|
|
itemSummary: {
|
2019-04-26 12:15:37 +00:00
|
|
|
basicData: 'vn-item-summary [name="basicData"]',
|
|
|
|
vat: 'vn-item-summary [name="tax"]',
|
|
|
|
tags: 'vn-item-summary [name="tags"]',
|
|
|
|
niche: 'vn-item-summary [name="niche"]',
|
|
|
|
botanical: 'vn-item-summary [name="botanical"]',
|
|
|
|
barcode: 'vn-item-summary [name="barcode"]'
|
2018-03-19 15:29:55 +00:00
|
|
|
},
|
2018-11-16 11:03:52 +00:00
|
|
|
itemDiary: {
|
2019-06-19 07:03:45 +00:00
|
|
|
secondTicketId: 'vn-item-diary vn-tbody > vn-tr:nth-child(2) > vn-td:nth-child(2) > span',
|
2020-03-25 19:44:59 +00:00
|
|
|
fourthBalance: 'vn-item-diary vn-tbody > vn-tr:nth-child(4) > vn-td.balance > span',
|
2020-10-01 08:38:02 +00:00
|
|
|
firstBalance: 'vn-item-diary vn-tbody > vn-tr:nth-child(1) > vn-td.balance'
|
2018-11-16 11:03:52 +00:00
|
|
|
},
|
2019-03-20 07:23:12 +00:00
|
|
|
itemLog: {
|
2019-03-20 13:43:38 +00:00
|
|
|
anyLineCreated: 'vn-item-log > vn-log vn-tbody > vn-tr',
|
2019-03-20 10:47:00 +00:00
|
|
|
fifthLineCreatedProperty: 'vn-item-log > vn-log vn-tbody > vn-tr:nth-child(5) > vn-td > vn-one:nth-child(3) > div span:nth-child(3)',
|
2019-03-20 07:23:12 +00:00
|
|
|
},
|
2018-11-14 17:05:24 +00:00
|
|
|
ticketSummary: {
|
2019-10-23 15:38:35 +00:00
|
|
|
header: 'vn-ticket-summary > vn-card > h5',
|
2019-06-27 13:33:15 +00:00
|
|
|
state: 'vn-ticket-summary vn-label-value[label="State"] > section > span',
|
2020-02-05 13:14:02 +00:00
|
|
|
route: 'vn-ticket-summary vn-label-value[label="Route"] > section > span > span',
|
2019-06-27 13:33:15 +00:00
|
|
|
total: 'vn-ticket-summary vn-one.taxes > p:nth-child(3) > strong',
|
2019-01-30 22:47:06 +00:00
|
|
|
sale: 'vn-ticket-summary [name="sales"] vn-table > div > vn-tbody > vn-tr',
|
2020-03-25 19:44:59 +00:00
|
|
|
firstSaleItemId: 'vn-ticket-summary [name="sales"] vn-table vn-tbody > :nth-child(1) > vn-td:nth-child(2) > span',
|
2019-09-30 09:30:54 +00:00
|
|
|
firstSaleDescriptorImage: '.vn-popover.shown vn-item-descriptor img',
|
|
|
|
itemDescriptorPopover: '.vn-popover.shown vn-item-descriptor',
|
2020-05-06 16:42:50 +00:00
|
|
|
itemDescriptorPopoverItemDiaryButton: 'vn-item-descriptor a[href="#!/item/2/diary?warehouseFk=5&lineFk=16"]',
|
2019-09-30 09:30:54 +00:00
|
|
|
popoverDiaryButton: '.vn-popover.shown vn-item-descriptor vn-icon[icon="icon-transaction"]',
|
2019-02-20 16:52:36 +00:00
|
|
|
firstSaleQuantity: 'vn-ticket-summary [name="sales"] vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(3)',
|
2019-04-23 06:58:49 +00:00
|
|
|
firstSaleDiscount: 'vn-ticket-summary [name="sales"] vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(6)',
|
2020-03-27 10:10:20 +00:00
|
|
|
invoiceOutRef: 'vn-ticket-summary > vn-card > vn-horizontal > vn-one:nth-child(1) > vn-label-value:nth-child(7) > section > span',
|
2020-06-11 07:20:44 +00:00
|
|
|
setOk: 'vn-ticket-summary vn-button[label="SET OK"] > button',
|
|
|
|
descriptorTicketId: 'vn-ticket-descriptor > vn-descriptor-content > div > div.body > div.top > div'
|
2018-11-14 17:05:24 +00:00
|
|
|
},
|
2018-03-19 15:29:55 +00:00
|
|
|
ticketsIndex: {
|
2019-11-10 13:13:55 +00:00
|
|
|
openAdvancedSearchButton: 'vn-searchbar .append vn-icon[icon="arrow_drop_down"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
advancedSearchInvoiceOut: 'vn-ticket-search-panel vn-textfield[ng-model="filter.refFk"]',
|
2020-09-03 10:01:57 +00:00
|
|
|
advancedSearchDaysOnward: 'vn-ticket-search-panel vn-input-number[ng-model="filter.scopeDays"]',
|
|
|
|
advancedSearchButton: 'vn-ticket-search-panel button[type=submit]',
|
2020-08-25 09:59:51 +00:00
|
|
|
newTicketButton: 'vn-ticket-index a[ui-sref="ticket.create"]',
|
2019-10-23 15:38:35 +00:00
|
|
|
searchResult: 'vn-ticket-index vn-card > vn-table > div > vn-tbody > a.vn-tr',
|
2020-03-20 11:05:45 +00:00
|
|
|
secondTicketCheckbox: 'vn-ticket-index vn-tbody > a:nth-child(2) > vn-td:nth-child(1) > vn-check',
|
|
|
|
thirdTicketCheckbox: 'vn-ticket-index vn-tbody > a:nth-child(3) > vn-td:nth-child(1) > vn-check',
|
|
|
|
sixthTicketCheckbox: 'vn-ticket-index vn-tbody > a:nth-child(6) > vn-td:nth-child(1) > vn-check',
|
|
|
|
payoutButton: 'vn-ticket-index vn-button[icon="icon-recovery"]',
|
|
|
|
payoutCompany: '.vn-dialog vn-autocomplete[ng-model="$ctrl.receipt.companyFk"]',
|
2021-02-01 08:52:16 +00:00
|
|
|
payoutBank: '.vn-dialog vn-autocomplete[ng-model="$ctrl.bankFk"]',
|
|
|
|
payoutDescription: 'vn-textfield[ng-model="$ctrl.receipt.description"]',
|
2020-03-31 08:02:25 +00:00
|
|
|
submitPayout: '.vn-dialog button[response="accept"]',
|
2019-08-21 10:23:01 +00:00
|
|
|
searchWeeklyResult: 'vn-ticket-weekly-index vn-table vn-tbody > vn-tr',
|
2020-03-23 09:40:09 +00:00
|
|
|
searchResultDate: 'vn-ticket-summary [label=Landed] span',
|
2020-02-03 14:55:11 +00:00
|
|
|
topbarSearch: 'vn-searchbar',
|
2020-05-06 12:38:09 +00:00
|
|
|
moreMenu: 'vn-ticket-index vn-icon-button[icon=more_vert]',
|
2020-01-23 15:01:29 +00:00
|
|
|
sixthWeeklyTicket: 'vn-ticket-weekly-index vn-table vn-tr:nth-child(6)',
|
2019-07-29 11:12:36 +00:00
|
|
|
weeklyTicket: 'vn-ticket-weekly-index vn-table > div > vn-tbody > vn-tr',
|
2019-08-21 10:23:01 +00:00
|
|
|
firstWeeklyTicketDeleteIcon: 'vn-ticket-weekly-index vn-tr:nth-child(1) vn-icon-button[icon="delete"]',
|
2020-04-08 10:33:36 +00:00
|
|
|
firstWeeklyTicketAgency: 'vn-ticket-weekly-index vn-tr:nth-child(1) [ng-model="weekly.agencyModeFk"]',
|
2019-10-30 15:57:14 +00:00
|
|
|
acceptDeleteTurn: '.vn-confirm.shown button[response="accept"]'
|
2018-11-11 16:40:02 +00:00
|
|
|
},
|
2019-01-15 11:38:58 +00:00
|
|
|
createTicketView: {
|
2020-02-03 14:55:11 +00:00
|
|
|
client: 'vn-ticket-create vn-autocomplete[ng-model="$ctrl.clientId"]',
|
|
|
|
address: 'vn-ticket-create vn-autocomplete[ng-model="$ctrl.addressId"]',
|
|
|
|
deliveryDate: 'vn-ticket-create vn-date-picker[ng-model="$ctrl.landed"]',
|
|
|
|
warehouse: 'vn-ticket-create vn-autocomplete[ng-model="$ctrl.warehouseId"]',
|
|
|
|
agency: 'vn-ticket-create vn-autocomplete[ng-model="$ctrl.agencyModeId"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
createButton: `button[type=submit]`
|
2019-01-15 11:38:58 +00:00
|
|
|
},
|
2018-11-11 16:40:02 +00:00
|
|
|
ticketDescriptor: {
|
2020-07-01 12:45:48 +00:00
|
|
|
id: 'vn-descriptor-content div.top > div',
|
2019-06-26 12:19:08 +00:00
|
|
|
stateLabelValue: 'vn-ticket-descriptor vn-label-value[label="State"]',
|
2020-07-02 07:35:52 +00:00
|
|
|
isDeletedIcon: 'vn-ticket-descriptor vn-icon[icon="icon-deletedTicket"]',
|
2019-06-26 12:19:08 +00:00
|
|
|
goBackToModuleIndexButton: 'vn-ticket-descriptor a[ui-sref="ticket.index"]',
|
2020-11-09 13:52:25 +00:00
|
|
|
moreMenu: 'vn-ticket-descriptor vn-ticket-descriptor-menu > vn-icon-button[icon=more_vert]',
|
2020-05-06 12:38:09 +00:00
|
|
|
moreMenuAddStowaway: '.vn-menu [name="addStowaway"]',
|
|
|
|
moreMenuDeleteStowawayButton: '.vn-menu [name="deleteStowaway"]',
|
|
|
|
moreMenuAddToTurn: '.vn-menu [name="addTurn"]',
|
|
|
|
moreMenuDeleteTicket: '.vn-menu [name="deleteTicket"]',
|
2020-10-13 13:40:55 +00:00
|
|
|
moreMenuRestoreTicket: '.vn-menu [name="restoreTicket"]',
|
2020-05-06 12:38:09 +00:00
|
|
|
moreMenuMakeInvoice: '.vn-menu [name="makeInvoice"]',
|
2021-01-25 08:28:01 +00:00
|
|
|
moreMenuRegenerateInvoice: '.vn-menu [name="regenerateInvoice"]',
|
2020-05-06 12:38:09 +00:00
|
|
|
moreMenuChangeShippedHour: '.vn-menu [name="changeShipped"]',
|
2020-11-18 14:00:41 +00:00
|
|
|
moreMenuPaymentSMS: '.vn-menu [name="sendPaymentSms"]',
|
|
|
|
moreMenuSendImportSms: '.vn-menu [name="sendImportSms"]',
|
|
|
|
SMStext: 'textarea[name="message"]',
|
|
|
|
sendSMSbutton: 'button[response="accept"]',
|
2019-10-28 16:31:33 +00:00
|
|
|
changeShippedHourDialog: '.vn-dialog.shown',
|
2020-02-03 14:55:11 +00:00
|
|
|
changeShippedHour: '.vn-dialog.shown vn-input-time[ng-model="$ctrl.newShipped"]',
|
2019-10-28 16:31:33 +00:00
|
|
|
addStowawayDialogFirstTicket: '.vn-dialog.shown vn-table vn-tbody vn-tr',
|
2019-10-18 19:36:30 +00:00
|
|
|
shipButton: 'vn-ticket-descriptor vn-icon[icon="icon-stowaway"]',
|
2019-10-28 16:31:33 +00:00
|
|
|
thursdayButton: '.vn-popup.shown vn-tool-bar > vn-button:nth-child(4)',
|
|
|
|
saturdayButton: '.vn-popup.shown vn-tool-bar > vn-button:nth-child(6)',
|
2020-10-13 13:40:55 +00:00
|
|
|
acceptDialog: '.vn-dialog.shown button[response="accept"]',
|
2019-10-30 15:57:14 +00:00
|
|
|
acceptChangeHourButton: '.vn-dialog.shown button[response="accept"]',
|
2020-05-06 12:38:09 +00:00
|
|
|
descriptorDeliveryDate: 'vn-ticket-descriptor slot-body > .attributes > vn-label-value:nth-child(3) > section > span',
|
2019-10-30 15:57:14 +00:00
|
|
|
acceptInvoiceOutButton: '.vn-confirm.shown button[response="accept"]',
|
|
|
|
acceptDeleteStowawayButton: '.vn-dialog.shown button[response="accept"]'
|
2018-03-19 15:29:55 +00:00
|
|
|
},
|
|
|
|
ticketNotes: {
|
2019-04-26 12:15:37 +00:00
|
|
|
firstNoteRemoveButton: 'vn-icon[icon="delete"]',
|
|
|
|
addNoteButton: 'vn-icon[icon="add_circle"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
firstNoteType: 'vn-autocomplete[ng-model="observation.observationTypeFk"]',
|
|
|
|
firstDescription: 'vn-ticket-observation vn-textfield[ng-model="observation.description"]',
|
2020-01-23 15:01:29 +00:00
|
|
|
submitNotesButton: 'button[type=submit]'
|
2018-03-19 15:29:55 +00:00
|
|
|
},
|
2018-03-22 14:01:36 +00:00
|
|
|
ticketExpedition: {
|
2019-04-26 12:15:37 +00:00
|
|
|
secondExpeditionRemoveButton: 'vn-ticket-expedition vn-table div > vn-tbody > vn-tr:nth-child(2) > vn-td:nth-child(1) > vn-icon-button[icon="delete"]',
|
|
|
|
expeditionRow: 'vn-ticket-expedition vn-table vn-tbody > vn-tr'
|
2018-03-22 14:01:36 +00:00
|
|
|
},
|
2018-03-19 15:29:55 +00:00
|
|
|
ticketPackages: {
|
2020-02-03 14:55:11 +00:00
|
|
|
firstPackage: 'vn-autocomplete[label="Package"]',
|
|
|
|
firstQuantity: 'vn-ticket-package vn-horizontal:nth-child(1) vn-input-number[ng-model="package.quantity"]',
|
2019-04-26 12:15:37 +00:00
|
|
|
firstRemovePackageButton: 'vn-icon-button[vn-tooltip="Remove package"]',
|
|
|
|
addPackageButton: 'vn-icon-button[vn-tooltip="Add package"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
savePackagesButton: `button[type=submit]`
|
2018-04-04 09:56:07 +00:00
|
|
|
},
|
|
|
|
ticketSales: {
|
2020-07-02 07:35:52 +00:00
|
|
|
setOk: 'vn-ticket-sale vn-tool-bar > vn-button[label="Ok"] > button',
|
2019-04-26 12:15:37 +00:00
|
|
|
saleLine: 'vn-table div > vn-tbody > vn-tr',
|
2019-09-30 09:30:54 +00:00
|
|
|
saleDescriptorPopover: '.vn-popover.shown vn-item-descriptor',
|
2020-06-30 09:15:20 +00:00
|
|
|
saleDescriptorPopoverSummaryButton: '.vn-popover.shown vn-item-descriptor a[ui-sref="item.card.summary({id: $ctrl.descriptor.id})"]',
|
2020-05-06 12:38:09 +00:00
|
|
|
newItemButton: 'vn-ticket-sale vn-card vn-icon-button[icon="add_circle"]',
|
2020-06-30 09:15:20 +00:00
|
|
|
moreMenu: 'vn-ticket-sale vn-button[label="More"]',
|
2020-07-01 12:45:48 +00:00
|
|
|
moreMenuCreateClaim: 'vn-item[name="claim"]',
|
|
|
|
moreMenuReserve: 'vn-item[name="reserve"]',
|
|
|
|
moreMenuUnmarkReseved: 'vn-item[name="unreserve"]',
|
|
|
|
moreMenuUpdateDiscount: 'vn-item[name="discount"]',
|
|
|
|
moreMenuUpdateDiscountInput: 'vn-input-number[ng-model="$ctrl.edit.discount"] input',
|
2019-09-30 09:30:54 +00:00
|
|
|
transferQuantityInput: '.vn-popover.shown vn-table > div > vn-tbody > vn-tr > vn-td-editable > span > text',
|
|
|
|
transferQuantityCell: '.vn-popover.shown vn-table > div > vn-tbody > vn-tr > vn-td-editable',
|
2020-06-30 09:15:20 +00:00
|
|
|
firstSaleId: 'vn-ticket-sale vn-tbody > vn-tr:nth-child(1) > vn-td:nth-child(4) > span',
|
2019-06-20 12:41:48 +00:00
|
|
|
firstSaleClaimIcon: 'vn-ticket-sale vn-table vn-tbody > vn-tr:nth-child(1) vn-icon[icon="icon-claims"]',
|
2019-09-30 09:30:54 +00:00
|
|
|
firstSaleDescriptorImage: '.vn-popover.shown vn-item-descriptor img',
|
2019-02-04 13:47:55 +00:00
|
|
|
firstSaleThumbnailImage: 'vn-ticket-sale:nth-child(1) vn-tr:nth-child(1) vn-td:nth-child(3) > img',
|
2018-08-03 10:02:04 +00:00
|
|
|
firstSaleZoomedImage: 'body > div > div > img',
|
2020-01-02 10:37:25 +00:00
|
|
|
firstSaleQuantity: 'vn-ticket-sale [ng-model="sale.quantity"]',
|
2019-07-02 10:12:15 +00:00
|
|
|
firstSaleQuantityCell: 'vn-ticket-sale vn-tr:nth-child(1) > vn-td-editable:nth-child(5)',
|
2019-09-06 09:43:15 +00:00
|
|
|
firstSalePrice: 'vn-ticket-sale vn-table vn-tr:nth-child(1) > vn-td:nth-child(7) > span',
|
2020-06-30 09:15:20 +00:00
|
|
|
firstSalePriceInput: '.vn-popover.shown input[ng-model="$ctrl.field"]',
|
2019-09-06 09:43:15 +00:00
|
|
|
firstSaleDiscount: 'vn-ticket-sale vn-table vn-tr:nth-child(1) > vn-td:nth-child(8) > span',
|
2020-06-30 09:15:20 +00:00
|
|
|
firstSaleDiscountInput: '.vn-popover.shown [ng-model="$ctrl.field"]',
|
2018-08-03 10:02:04 +00:00
|
|
|
firstSaleImport: 'vn-ticket-sale:nth-child(1) vn-td:nth-child(9)',
|
2018-11-07 07:38:09 +00:00
|
|
|
firstSaleReservedIcon: 'vn-ticket-sale vn-tr:nth-child(1) > vn-td:nth-child(2) > vn-icon:nth-child(3)',
|
2019-10-14 09:51:26 +00:00
|
|
|
firstSaleColour: 'vn-ticket-sale vn-tr:nth-child(1) vn-fetched-tags section',
|
2019-10-09 22:47:29 +00:00
|
|
|
firstSaleCheckbox: 'vn-ticket-sale vn-tr:nth-child(1) vn-check[ng-model="sale.checked"]',
|
2019-04-26 12:15:37 +00:00
|
|
|
secondSaleText: 'vn-table div > vn-tbody > vn-tr:nth-child(2)',
|
2019-09-06 09:43:15 +00:00
|
|
|
secondSaleId: 'vn-ticket-sale:nth-child(2) vn-td-editable:nth-child(4) text > span',
|
2020-11-09 15:06:16 +00:00
|
|
|
secondSaleIdAutocomplete: 'vn-ticket-sale vn-tr:nth-child(2) vn-autocomplete[ng-model="sale.itemFk"]',
|
2020-01-02 10:37:25 +00:00
|
|
|
secondSaleQuantity: 'vn-ticket-sale vn-table vn-tr:nth-child(2) vn-input-number',
|
2020-07-01 12:45:48 +00:00
|
|
|
secondSaleQuantityCell: 'vn-ticket-sale > div > vn-card > vn-table > div > vn-tbody > vn-tr:nth-child(2) > vn-td-editable:nth-child(5)',
|
2020-05-19 08:51:50 +00:00
|
|
|
secondSaleConceptCell: 'vn-ticket-sale vn-tbody > :nth-child(2) > :nth-child(6)',
|
2020-05-19 10:50:43 +00:00
|
|
|
secondSaleConceptInput: 'vn-ticket-sale vn-tbody > :nth-child(2) > vn-td-editable.ng-isolate-scope.selected vn-textfield',
|
2020-07-01 12:45:48 +00:00
|
|
|
totalImport: 'vn-ticket-sale vn-one.taxes > p:nth-child(3) > strong',
|
2019-09-30 18:46:22 +00:00
|
|
|
selectAllSalesCheckbox: 'vn-ticket-sale vn-thead vn-check',
|
2019-10-09 22:47:29 +00:00
|
|
|
secondSaleCheckbox: 'vn-ticket-sale vn-tr:nth-child(2) vn-check[ng-model="sale.checked"]',
|
|
|
|
thirdSaleCheckbox: 'vn-ticket-sale vn-tr:nth-child(3) vn-check[ng-model="sale.checked"]',
|
2018-09-06 12:39:08 +00:00
|
|
|
deleteSaleButton: 'vn-ticket-sale vn-tool-bar > vn-button[icon="delete"]',
|
|
|
|
transferSaleButton: 'vn-ticket-sale vn-tool-bar > vn-button[icon="call_split"]',
|
2020-07-01 12:45:48 +00:00
|
|
|
moveToTicketInput: 'form vn-input-number[ng-model="$ctrl.transfer.ticketId"] input',
|
2019-09-30 09:30:54 +00:00
|
|
|
moveToTicketButton: '.vn-popover.shown vn-icon[icon="arrow_forward_ios"]',
|
|
|
|
moveToNewTicketButton: '.vn-popover.shown vn-button[label="New ticket"]',
|
2020-11-13 16:37:02 +00:00
|
|
|
stateMenuButton: 'vn-ticket-sale vn-tool-bar > vn-button-menu[label="State"]',
|
|
|
|
moreMenuState: 'body > div > div > div.content > div.filter.ng-scope > vn-textfield'
|
2018-04-05 12:14:34 +00:00
|
|
|
},
|
|
|
|
ticketTracking: {
|
2020-10-01 08:38:02 +00:00
|
|
|
createStateButton: 'vn-float-button'
|
2018-04-05 12:14:34 +00:00
|
|
|
},
|
2018-08-03 10:02:04 +00:00
|
|
|
ticketBasicData: {
|
2020-02-03 14:55:11 +00:00
|
|
|
agency: 'vn-autocomplete[ng-model="$ctrl.agencyModeId"]',
|
|
|
|
zone: 'vn-autocomplete[ng-model="$ctrl.zoneId"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
nextStepButton: 'vn-step-control .buttons > section:last-child vn-button',
|
|
|
|
finalizeButton: 'vn-step-control .buttons > section:last-child button[type=submit]',
|
2020-09-09 09:27:00 +00:00
|
|
|
stepTwoTotalPriceDif: 'vn-ticket-basic-data-step-two > vn-side-menu div:nth-child(4)',
|
2020-02-07 13:12:37 +00:00
|
|
|
chargesReason: 'vn-ticket-basic-data-step-two div:nth-child(3) > vn-radio',
|
2018-10-25 14:44:03 +00:00
|
|
|
},
|
|
|
|
ticketComponents: {
|
2020-09-09 09:27:00 +00:00
|
|
|
base: 'vn-ticket-components > vn-side-menu div:nth-child(1) > div:nth-child(2)'
|
2018-08-03 10:02:04 +00:00
|
|
|
},
|
2018-11-13 15:30:19 +00:00
|
|
|
ticketRequests: {
|
2019-04-26 12:15:37 +00:00
|
|
|
addRequestButton: 'vn-ticket-request-index > a > vn-float-button > button',
|
2020-01-02 10:37:25 +00:00
|
|
|
descriptionInput: 'vn-ticket-request-create [ng-model="$ctrl.ticketRequest.description"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
atender: 'vn-ticket-request-create vn-autocomplete[ng-model="$ctrl.ticketRequest.attenderFk"]',
|
|
|
|
quantity: 'vn-ticket-request-create vn-input-number[ng-model="$ctrl.ticketRequest.quantity"]',
|
|
|
|
price: 'vn-ticket-request-create vn-input-number[ng-model="$ctrl.ticketRequest.price"]',
|
2020-02-27 06:17:09 +00:00
|
|
|
firstRequestQuantity: 'vn-ticket-request-index vn-table vn-tr:nth-child(1) > vn-td:nth-child(6) vn-input-number',
|
|
|
|
secondRequestQuantity: 'vn-ticket-request-index vn-table vn-tr:nth-child(2) > vn-td:nth-child(6) vn-input-number',
|
|
|
|
thirdDescription: 'vn-ticket-request-index vn-table vn-tr:nth-child(3) > vn-td:nth-child(2) vn-textfield',
|
|
|
|
thirdRemoveRequestButton: 'vn-ticket-request-index vn-tr:nth-child(3) vn-icon[icon="delete"]',
|
|
|
|
thirdRequestQuantity: 'vn-ticket-request-index vn-table vn-tr:nth-child(3) > vn-td:nth-child(6) vn-input-number',
|
2019-10-18 19:36:30 +00:00
|
|
|
saveButton: 'vn-ticket-request-create button[type=submit]',
|
2018-11-21 13:09:22 +00:00
|
|
|
|
2018-11-13 15:30:19 +00:00
|
|
|
},
|
2019-01-11 11:41:07 +00:00
|
|
|
ticketLog: {
|
2020-03-09 15:47:02 +00:00
|
|
|
firstTD: 'vn-ticket-log vn-table vn-td:nth-child(1)',
|
2019-04-26 12:15:37 +00:00
|
|
|
logButton: 'vn-left-menu a[ui-sref="ticket.card.log"]',
|
2019-10-01 14:17:57 +00:00
|
|
|
changedBy: 'vn-ticket-log > vn-log vn-tr:nth-child(1) > vn-td:nth-child(2) > span',
|
|
|
|
actionTaken: 'vn-ticket-log > vn-log vn-td:nth-child(1) > div > div:nth-child(3) > span.value',
|
2020-08-14 13:35:50 +00:00
|
|
|
changes: 'vn-ticket-log vn-data-viewer vn-tbody > vn-tr > vn-td:nth-child(7)',
|
2019-10-01 14:17:57 +00:00
|
|
|
id: 'vn-ticket-log > vn-log vn-td.before > vn-one:nth-child(1) > div > span.value'
|
2019-01-11 11:41:07 +00:00
|
|
|
},
|
2019-01-14 10:19:39 +00:00
|
|
|
ticketService: {
|
2019-05-20 09:16:56 +00:00
|
|
|
addServiceButton: 'vn-ticket-service vn-icon-button[vn-tooltip="Add service"] > button',
|
2019-12-13 10:59:25 +00:00
|
|
|
firstAddServiceTypeButton: 'vn-ticket-service vn-icon-button[vn-tooltip="New service type"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
firstServiceType: 'vn-ticket-service vn-autocomplete[ng-model="service.ticketServiceTypeFk"]',
|
|
|
|
firstQuantity: 'vn-ticket-service vn-input-number[ng-model="service.quantity"]',
|
2020-03-17 10:00:16 +00:00
|
|
|
firstPrice: 'vn-ticket-service vn-horizontal:nth-child(1) vn-input-number[ng-model="service.price"]',
|
2019-10-11 15:38:04 +00:00
|
|
|
fistDeleteServiceButton: 'vn-ticket-service form vn-horizontal:nth-child(1) vn-icon-button[icon="delete"]',
|
2020-03-30 15:30:03 +00:00
|
|
|
newServiceTypeName: '.vn-dialog.shown vn-textfield[ng-model="newServiceType.name"]',
|
2019-10-23 15:38:35 +00:00
|
|
|
serviceLine: 'vn-ticket-service > form > vn-card > vn-one:nth-child(2) > vn-horizontal',
|
2020-02-04 15:21:10 +00:00
|
|
|
saveServiceButton: 'button[type=submit]',
|
2019-12-13 10:59:25 +00:00
|
|
|
saveServiceTypeButton: '.vn-dialog.shown tpl-buttons > button'
|
2019-01-14 10:19:39 +00:00
|
|
|
},
|
2018-04-05 12:14:34 +00:00
|
|
|
createStateView: {
|
2020-02-03 14:55:11 +00:00
|
|
|
state: 'vn-autocomplete[ng-model="$ctrl.stateFk"]',
|
|
|
|
worker: 'vn-autocomplete[ng-model="$ctrl.workerFk"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
saveStateButton: `button[type=submit]`
|
2018-09-04 09:38:48 +00:00
|
|
|
},
|
|
|
|
claimsIndex: {
|
2020-10-01 06:53:31 +00:00
|
|
|
searchResult: 'vn-claim-index vn-card > vn-table > div > vn-tbody > a'
|
2018-09-04 09:38:48 +00:00
|
|
|
},
|
2019-06-28 12:01:43 +00:00
|
|
|
claimDescriptor: {
|
2020-05-06 12:38:09 +00:00
|
|
|
moreMenu: 'vn-claim-descriptor vn-icon-button[icon=more_vert]',
|
|
|
|
moreMenuDeleteClaim: '.vn-menu [name="deleteClaim"]',
|
2019-10-30 15:57:14 +00:00
|
|
|
acceptDeleteClaim: '.vn-confirm.shown button[response="accept"]'
|
2019-06-28 12:01:43 +00:00
|
|
|
},
|
2019-06-28 10:51:34 +00:00
|
|
|
claimSummary: {
|
2019-10-23 15:38:35 +00:00
|
|
|
header: 'vn-claim-summary > vn-card > h5',
|
2019-06-28 10:51:34 +00:00
|
|
|
state: 'vn-claim-summary vn-label-value[label="State"] > section > span',
|
2020-02-03 14:55:11 +00:00
|
|
|
observation: 'vn-claim-summary vn-textarea[ng-model="$ctrl.summary.claim.observation"]',
|
2019-10-18 07:53:30 +00:00
|
|
|
firstSaleItemId: 'vn-claim-summary vn-horizontal > vn-auto:nth-child(4) vn-table > div > vn-tbody > vn-tr:nth-child(1) > vn-td:nth-child(1) > span',
|
2019-09-30 09:30:54 +00:00
|
|
|
firstSaleDescriptorImage: '.vn-popover.shown vn-item-descriptor img',
|
|
|
|
itemDescriptorPopover: '.vn-popover.shown vn-item-descriptor',
|
2020-05-08 17:56:39 +00:00
|
|
|
itemDescriptorPopoverItemDiaryButton: '.vn-popover vn-item-descriptor vn-quick-link[icon="icon-transaction"] > a',
|
2019-10-18 07:53:30 +00:00
|
|
|
firstDevelopmentWorker: 'vn-claim-summary vn-horizontal > vn-auto:nth-child(5) vn-table > div > vn-tbody > vn-tr:nth-child(1) > vn-td:nth-child(4) > span',
|
2020-05-08 17:56:39 +00:00
|
|
|
firstDevelopmentWorkerGoToClientButton: '.vn-popover vn-worker-descriptor vn-quick-link[icon="person"] > a',
|
2019-10-23 15:38:35 +00:00
|
|
|
firstActionTicketId: 'vn-claim-summary > vn-card > vn-horizontal > vn-auto:nth-child(6) vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(2) > span',
|
2019-09-30 09:30:54 +00:00
|
|
|
firstActionTicketDescriptor: '.vn-popover.shown vn-ticket-descriptor'
|
2019-06-28 10:51:34 +00:00
|
|
|
},
|
2018-09-04 09:38:48 +00:00
|
|
|
claimBasicData: {
|
2020-02-03 14:55:11 +00:00
|
|
|
claimState: 'vn-claim-basic-data vn-autocomplete[ng-model="$ctrl.claim.claimStateFk"]',
|
|
|
|
observation: 'vn-textarea[ng-model="$ctrl.claim.observation"]',
|
2020-06-03 12:46:58 +00:00
|
|
|
hasToPickUpCheckbox: 'vn-claim-basic-data vn-check[ng-model="$ctrl.claim.hasToPickUp"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
saveButton: `button[type=submit]`
|
2018-09-04 09:38:48 +00:00
|
|
|
},
|
2019-01-22 10:54:17 +00:00
|
|
|
claimDetail: {
|
2019-10-23 15:38:35 +00:00
|
|
|
secondItemDiscount: 'vn-claim-detail > vn-vertical > vn-card > vn-vertical > vn-table > div > vn-tbody > vn-tr:nth-child(2) > vn-td:nth-child(6) > span',
|
2020-02-03 14:55:11 +00:00
|
|
|
discount: '.vn-popover.shown vn-input-number[ng-model="$ctrl.newDiscount"]',
|
2019-09-30 09:30:54 +00:00
|
|
|
discoutPopoverMana: '.vn-popover.shown .content > div > vn-horizontal > h5',
|
2019-04-26 12:15:37 +00:00
|
|
|
addItemButton: 'vn-claim-detail a vn-float-button',
|
2019-10-28 16:31:33 +00:00
|
|
|
firstClaimableSaleFromTicket: '.vn-dialog.shown vn-tbody > vn-tr',
|
2019-10-23 15:38:35 +00:00
|
|
|
claimDetailLine: 'vn-claim-detail > vn-vertical > vn-card > vn-vertical > vn-table > div > vn-tbody > vn-tr',
|
|
|
|
totalClaimed: 'vn-claim-detail > vn-vertical > vn-card > vn-vertical > vn-horizontal > div > vn-label-value:nth-child(2) > section > span',
|
|
|
|
secondItemDeleteButton: 'vn-claim-detail > vn-vertical > vn-card > vn-vertical > vn-table > div > vn-tbody > vn-tr:nth-child(2) > vn-td:nth-child(8) > vn-icon-button > button > vn-icon > i'
|
2018-10-25 14:44:03 +00:00
|
|
|
},
|
2019-01-15 07:33:19 +00:00
|
|
|
claimDevelopment: {
|
2019-10-23 15:38:35 +00:00
|
|
|
addDevelopmentButton: 'vn-claim-development > vn-vertical > vn-card > vn-vertical > vn-one > vn-icon-button > button > vn-icon',
|
|
|
|
firstDeleteDevelopmentButton: 'vn-claim-development > vn-vertical > vn-card > vn-vertical > form > vn-horizontal:nth-child(2) > vn-icon-button > button > vn-icon',
|
2020-02-03 14:55:11 +00:00
|
|
|
firstClaimReason: 'vn-claim-development vn-horizontal:nth-child(1) vn-autocomplete[ng-model="claimDevelopment.claimReasonFk"]',
|
|
|
|
firstClaimResult: 'vn-claim-development vn-horizontal:nth-child(1) vn-autocomplete[ng-model="claimDevelopment.claimResultFk"]',
|
|
|
|
firstClaimResponsible: 'vn-claim-development vn-horizontal:nth-child(1) vn-autocomplete[ng-model="claimDevelopment.claimResponsibleFk"]',
|
|
|
|
firstClaimWorker: 'vn-claim-development vn-horizontal:nth-child(1) vn-autocomplete[ng-model="claimDevelopment.workerFk"]',
|
|
|
|
firstClaimRedelivery: 'vn-claim-development vn-horizontal:nth-child(1) vn-autocomplete[ng-model="claimDevelopment.claimRedeliveryFk"]',
|
|
|
|
secondClaimReason: 'vn-claim-development vn-horizontal:nth-child(2) vn-autocomplete[ng-model="claimDevelopment.claimReasonFk"]',
|
|
|
|
secondClaimResult: 'vn-claim-development vn-horizontal:nth-child(2) vn-autocomplete[ng-model="claimDevelopment.claimResultFk"]',
|
|
|
|
secondClaimResponsible: 'vn-claim-development vn-horizontal:nth-child(2) vn-autocomplete[ng-model="claimDevelopment.claimResponsibleFk"]',
|
|
|
|
secondClaimWorker: 'vn-claim-development vn-horizontal:nth-child(2) vn-autocomplete[ng-model="claimDevelopment.workerFk"]',
|
|
|
|
secondClaimRedelivery: 'vn-claim-development vn-horizontal:nth-child(2) vn-autocomplete[ng-model="claimDevelopment.claimRedeliveryFk"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
saveDevelopmentButton: 'button[type=submit]'
|
2019-01-15 07:33:19 +00:00
|
|
|
},
|
2019-02-25 10:47:28 +00:00
|
|
|
claimAction: {
|
|
|
|
importClaimButton: 'vn-claim-action vn-button[label="Import claim"]',
|
|
|
|
importTicketButton: 'vn-claim-action vn-button[label="Import ticket"]',
|
2019-09-30 09:30:54 +00:00
|
|
|
secondImportableTicket: '.vn-popover.shown .content > div > vn-table > div > vn-tbody > vn-tr:nth-child(2)',
|
2019-10-09 22:47:29 +00:00
|
|
|
firstLineDestination: 'vn-claim-action vn-tr:nth-child(1) vn-autocomplete[ng-model="saleClaimed.claimDestinationFk"]',
|
|
|
|
secondLineDestination: 'vn-claim-action vn-tr:nth-child(2) vn-autocomplete[ng-model="saleClaimed.claimDestinationFk"]',
|
2019-02-25 10:47:28 +00:00
|
|
|
firstDeleteLine: 'vn-claim-action vn-tr:nth-child(1) vn-icon-button[icon="delete"]',
|
2020-06-03 12:46:58 +00:00
|
|
|
isPaidWithManaCheckbox: 'vn-claim-action vn-check[ng-model="$ctrl.claim.isChargedToMana"]'
|
2019-02-25 10:47:28 +00:00
|
|
|
},
|
2019-01-09 12:49:37 +00:00
|
|
|
ordersIndex: {
|
2020-11-12 15:03:23 +00:00
|
|
|
secondSearchResultTotal: 'vn-order-index vn-card > vn-table > div > vn-tbody .vn-tr:nth-child(2) vn-td:nth-child(9)',
|
2020-05-19 09:49:09 +00:00
|
|
|
advancedSearchButton: 'vn-order-search-panel vn-submit[label="Search"]',
|
|
|
|
openAdvancedSearch: 'vn-searchbar vn-icon[icon="arrow_drop_down"]',
|
|
|
|
advancedSearchShowEmptyCheckbox: 'vn-order-search-panel vn-check[label="Show empty"]',
|
2019-12-11 13:14:44 +00:00
|
|
|
createOrderButton: 'vn-float-button',
|
2019-01-09 12:49:37 +00:00
|
|
|
},
|
2019-08-29 11:16:38 +00:00
|
|
|
orderDescriptor: {
|
2020-10-01 06:53:31 +00:00
|
|
|
returnToModuleIndexButton: 'vn-order-descriptor a[ui-sref="order.index"]'
|
2019-08-29 11:16:38 +00:00
|
|
|
},
|
2019-01-09 12:49:37 +00:00
|
|
|
createOrderView: {
|
2020-02-03 14:55:11 +00:00
|
|
|
client: 'vn-autocomplete[label="Client"]',
|
|
|
|
agency: 'vn-autocomplete[label="Agency"]',
|
2019-10-08 21:57:02 +00:00
|
|
|
landedDatePicker: 'vn-date-picker[label="Landed"]',
|
2020-10-01 08:38:02 +00:00
|
|
|
createButton: 'button[type=submit]'
|
2019-01-09 12:49:37 +00:00
|
|
|
},
|
2020-03-03 09:26:16 +00:00
|
|
|
orderSummary: {
|
|
|
|
id: 'vn-order-summary vn-one:nth-child(1) > vn-label-value:nth-child(1) span',
|
|
|
|
alias: 'vn-order-summary vn-one:nth-child(1) > vn-label-value:nth-child(2) span',
|
2020-11-25 06:50:02 +00:00
|
|
|
consignee: 'vn-order-summary vn-one:nth-child(2) > vn-label-value:nth-child(6) span',
|
2020-03-03 09:26:16 +00:00
|
|
|
subtotal: 'vn-order-summary vn-one.taxes > p:nth-child(1)',
|
|
|
|
vat: 'vn-order-summary vn-one.taxes > p:nth-child(2)',
|
|
|
|
total: 'vn-order-summary vn-one.taxes > p:nth-child(3)',
|
|
|
|
sale: 'vn-order-summary vn-tbody > vn-tr',
|
|
|
|
},
|
2018-11-15 13:15:34 +00:00
|
|
|
orderCatalog: {
|
2019-05-02 09:23:54 +00:00
|
|
|
plantRealmButton: 'vn-order-catalog > vn-side-menu vn-icon[icon="icon-plant"]',
|
2020-09-16 14:10:43 +00:00
|
|
|
type: 'vn-order-catalog vn-autocomplete[data="$ctrl.itemTypes"]',
|
|
|
|
itemTagValue: 'vn-order-catalog vn-textfield[vn-id="search"]',
|
|
|
|
openTagSearch: 'vn-order-catalog vn-vertical:nth-child(4) append > vn-icon > i',
|
2020-02-03 14:55:11 +00:00
|
|
|
tag: 'vn-order-catalog-search-panel vn-autocomplete[ng-model="filter.tagFk"]',
|
2020-09-16 14:10:43 +00:00
|
|
|
firstTagAutocomplete: 'vn-order-catalog-search-panel vn-horizontal:nth-child(2) vn-autocomplete[ng-model="tagValue.value"]',
|
|
|
|
secondTagAutocomplete: 'vn-order-catalog-search-panel vn-horizontal:nth-child(3) vn-autocomplete[ng-model="tagValue.value"]',
|
|
|
|
firstTagValue: 'vn-order-catalog-search-panel vn-horizontal:nth-child(2) vn-textfield[ng-model="tagValue.value"]',
|
|
|
|
secondTagValue: 'vn-order-catalog-search-panel vn-horizontal:nth-child(3) vn-textfield[ng-model="tagValue.value"]',
|
|
|
|
addTagButton: 'vn-order-catalog-search-panel vn-icon-button[icon="add_circle"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
searchTagButton: 'vn-order-catalog-search-panel button[type=submit]',
|
2020-01-30 12:53:14 +00:00
|
|
|
thirdFilterRemoveButton: 'vn-order-catalog > vn-side-menu .chips > vn-chip:nth-child(3) vn-icon[icon=cancel]',
|
|
|
|
fourthFilterRemoveButton: 'vn-order-catalog > vn-side-menu .chips > vn-chip:nth-child(4) vn-icon[icon=cancel]',
|
2020-09-16 14:10:43 +00:00
|
|
|
fifthFilterRemoveButton: 'vn-order-catalog > vn-side-menu .chips > vn-chip:nth-child(5) vn-icon[icon=cancel]',
|
|
|
|
sixthFilterRemoveButton: 'vn-order-catalog > vn-side-menu .chips > vn-chip:nth-child(6) vn-icon[icon=cancel]',
|
2019-01-09 12:49:37 +00:00
|
|
|
},
|
|
|
|
orderBasicData: {
|
2020-02-03 14:55:11 +00:00
|
|
|
client: 'vn-autocomplete[label="Client"]',
|
|
|
|
address: 'vn-autocomplete[label="Address"]',
|
|
|
|
agency: 'vn-autocomplete[label="Agency"]',
|
2020-11-25 06:50:02 +00:00
|
|
|
observation: 'vn-textarea[label="Notes"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
saveButton: `button[type=submit]`,
|
2019-10-30 15:57:14 +00:00
|
|
|
acceptButton: '.vn-confirm.shown button[response="accept"]'
|
2018-11-15 13:15:34 +00:00
|
|
|
},
|
2019-02-11 13:51:42 +00:00
|
|
|
orderLine: {
|
2019-10-28 16:31:33 +00:00
|
|
|
orderSubtotal: 'vn-order-line .header :first-child',
|
2019-02-11 13:51:42 +00:00
|
|
|
firstLineDeleteButton: 'vn-order-line vn-tbody > vn-tr:nth-child(1) vn-icon[icon="delete"]',
|
2019-10-28 16:31:33 +00:00
|
|
|
confirmOrder: 'vn-order-line vn-float-button',
|
2019-10-30 15:57:14 +00:00
|
|
|
confirmButton: '.vn-confirm.shown button[response="accept"]',
|
2019-02-11 13:51:42 +00:00
|
|
|
},
|
2019-03-29 15:29:18 +00:00
|
|
|
routeIndex: {
|
2020-12-24 12:15:14 +00:00
|
|
|
anyResult: 'vn-table a',
|
|
|
|
firstRouteCheckbox: 'a:nth-child(1) vn-td:nth-child(1) > vn-check',
|
|
|
|
addNewRouteButton: 'vn-route-index a[ui-sref="route.create"]',
|
|
|
|
cloneButton: 'vn-route-index button > vn-icon[icon="icon-clone"]',
|
|
|
|
submitClonationButton: 'tpl-buttons > button[response="accept"]',
|
|
|
|
openAdvancedSearchButton: 'vn-searchbar .append vn-icon[icon="arrow_drop_down"]',
|
|
|
|
searchAgencyAutocomlete: 'vn-route-search-panel vn-autocomplete[ng-model="filter.agencyModeFk"]',
|
|
|
|
advancedSearchButton: 'vn-route-search-panel button[type=submit]',
|
2019-03-29 15:29:18 +00:00
|
|
|
},
|
|
|
|
createRouteView: {
|
2020-02-03 14:55:11 +00:00
|
|
|
worker: 'vn-route-create vn-autocomplete[ng-model="$ctrl.route.workerFk"]',
|
2019-10-09 22:47:29 +00:00
|
|
|
createdDatePicker: 'vn-route-create vn-date-picker[ng-model="$ctrl.route.created"]',
|
2020-02-03 14:55:11 +00:00
|
|
|
vehicleAuto: 'vn-route-create vn-autocomplete[ng-model="$ctrl.route.vehicleFk"]',
|
|
|
|
agency: 'vn-route-create vn-autocomplete[ng-model="$ctrl.route.agencyModeFk"]',
|
|
|
|
description: 'vn-route-create [ng-model="$ctrl.route.description"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
submitButton: 'vn-route-create button[type=submit]'
|
2019-03-29 15:29:18 +00:00
|
|
|
},
|
2019-07-01 11:41:38 +00:00
|
|
|
routeDescriptor: {
|
|
|
|
volume: 'vn-route-descriptor vn-label-value[label="Volume"] > section > span'
|
|
|
|
},
|
2019-03-29 15:29:18 +00:00
|
|
|
routeSummary: {
|
2020-02-12 13:36:05 +00:00
|
|
|
header: 'vn-route-summary > vn-card > h5',
|
|
|
|
cost: 'vn-route-summary vn-label-value[label="Cost"]',
|
|
|
|
firstTicketID: 'vn-route-summary vn-tbody > vn-tr:nth-child(1) > vn-td:nth-child(2) > span',
|
|
|
|
firstTicketDescriptor: '.vn-popover.shown vn-ticket-descriptor',
|
|
|
|
firstAlias: 'vn-route-summary vn-tbody > vn-tr:nth-child(1) > vn-td:nth-child(3) > span',
|
|
|
|
firstClientDescriptor: '.vn-popover.shown vn-client-descriptor',
|
2019-03-29 15:29:18 +00:00
|
|
|
},
|
2019-03-25 09:07:10 +00:00
|
|
|
routeBasicData: {
|
2020-02-03 14:55:11 +00:00
|
|
|
worker: 'vn-route-basic-data vn-autocomplete[ng-model="$ctrl.route.workerFk"]',
|
|
|
|
vehicle: 'vn-route-basic-data vn-autocomplete[ng-model="$ctrl.route.vehicleFk"]',
|
|
|
|
kmStart: 'vn-route-basic-data vn-input-number[ng-model="$ctrl.route.kmStart"]',
|
|
|
|
kmEnd: 'vn-route-basic-data vn-input-number[ng-model="$ctrl.route.kmEnd"]',
|
|
|
|
createdDate: 'vn-route-basic-data vn-date-picker[ng-model="$ctrl.route.created"]',
|
|
|
|
startedHour: 'vn-route-basic-data vn-input-time[ng-model="$ctrl.route.started"]',
|
|
|
|
finishedHour: 'vn-route-basic-data vn-input-time[ng-model="$ctrl.route.finished"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
saveButton: 'vn-route-basic-data button[type=submit]'
|
2019-04-08 13:38:47 +00:00
|
|
|
},
|
|
|
|
routeTickets: {
|
2020-01-02 10:37:25 +00:00
|
|
|
firstTicketPriority: 'vn-route-tickets vn-tr:nth-child(1) vn-textfield[ng-model="ticket.priority"]',
|
2019-09-30 18:46:22 +00:00
|
|
|
firstTicketCheckbox: 'vn-route-tickets vn-tr:nth-child(1) vn-check',
|
2019-04-08 13:38:47 +00:00
|
|
|
buscamanButton: 'vn-route-tickets vn-button[icon="icon-buscaman"]',
|
|
|
|
firstTicketDeleteButton: 'vn-route-tickets vn-tr:nth-child(1) vn-icon[icon="delete"]',
|
2019-10-30 15:57:14 +00:00
|
|
|
confirmButton: '.vn-confirm.shown button[response="accept"]'
|
2019-06-04 05:57:01 +00:00
|
|
|
},
|
2020-03-02 14:37:17 +00:00
|
|
|
workerSummary: {
|
|
|
|
header: 'vn-worker-summary h5',
|
2021-01-14 08:26:50 +00:00
|
|
|
id: 'vn-worker-summary vn-one:nth-child(1) > vn-label-value:nth-child(3) > section > span',
|
|
|
|
email: 'vn-worker-summary vn-one:nth-child(1) > vn-label-value:nth-child(4) > section > span',
|
|
|
|
department: 'vn-worker-summary vn-one:nth-child(1) > vn-label-value:nth-child(5) > section > span',
|
2020-03-02 14:37:17 +00:00
|
|
|
userId: 'vn-worker-summary vn-one:nth-child(2) > vn-label-value:nth-child(2) > section > span',
|
|
|
|
userName: 'vn-worker-summary vn-one:nth-child(2) > vn-label-value:nth-child(3) > section > span',
|
|
|
|
role: 'vn-worker-summary vn-one:nth-child(2) > vn-label-value:nth-child(4) > section > span',
|
|
|
|
extension: 'vn-worker-summary vn-one:nth-child(2) > vn-label-value:nth-child(5) > section > span',
|
|
|
|
|
|
|
|
},
|
2020-02-07 09:34:24 +00:00
|
|
|
workerBasicData: {
|
|
|
|
name: 'vn-worker-basic-data vn-textfield[ng-model="$ctrl.worker.firstName"]',
|
|
|
|
surname: 'vn-worker-basic-data vn-textfield[ng-model="$ctrl.worker.lastName"]',
|
|
|
|
phone: 'vn-worker-basic-data vn-textfield[ng-model="$ctrl.worker.phone"]',
|
|
|
|
saveButton: 'vn-worker-basic-data button[type=submit]'
|
|
|
|
},
|
2019-06-04 05:57:01 +00:00
|
|
|
workerPbx: {
|
2020-02-03 14:55:11 +00:00
|
|
|
extension: 'vn-worker-pbx vn-textfield[ng-model="$ctrl.worker.sip.extension"]',
|
2019-10-18 19:36:30 +00:00
|
|
|
saveButton: 'vn-worker-pbx button[type=submit]'
|
2019-06-04 05:57:01 +00:00
|
|
|
},
|
|
|
|
workerTimeControl: {
|
2020-02-03 14:55:11 +00:00
|
|
|
timeDialog: '.vn-dialog.shown vn-input-time[ng-model="$ctrl.newTime"]',
|
2019-10-23 15:38:35 +00:00
|
|
|
mondayAddTimeButton: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(2) > vn-td:nth-child(1) > vn-icon-button',
|
|
|
|
tuesdayAddTimeButton: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(2) > vn-td:nth-child(2) > vn-icon-button',
|
|
|
|
wednesdayAddTimeButton: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(2) > vn-td:nth-child(3) > vn-icon-button',
|
|
|
|
thursdayAddTimeButton: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(2) > vn-td:nth-child(4) > vn-icon-button',
|
|
|
|
fridayAddTimeButton: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(2) > vn-td:nth-child(5) > vn-icon-button',
|
|
|
|
saturdayAddTimeButton: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(2) > vn-td:nth-child(6) > vn-icon-button',
|
|
|
|
sundayAddTimeButton: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(2) > vn-td:nth-child(7) > vn-icon-button',
|
2019-11-14 13:20:05 +00:00
|
|
|
firstEntryOfMonday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(1) > section:nth-child(1) > vn-chip > div',
|
|
|
|
firstEntryOfTuesday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(2) > section:nth-child(1) > vn-chip > div',
|
|
|
|
firstEntryOfWednesday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(3) > section:nth-child(1) > vn-chip > div',
|
|
|
|
firstEntryOfThursday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(4) > section:nth-child(1) > vn-chip > div',
|
|
|
|
firstEntryOfFriday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(5) > section:nth-child(1) > vn-chip > div',
|
|
|
|
firstEntryOfSaturday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(6) > section:nth-child(1) > vn-chip > div',
|
|
|
|
firstEntryOfSunday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(7) > section:nth-child(1) > vn-chip > div',
|
|
|
|
secondEntryOfMonday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(1) > section:nth-child(2) > vn-chip > div',
|
|
|
|
secondEntryOfTuesday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(2) > section:nth-child(2) > vn-chip > div',
|
|
|
|
secondEntryOfWednesday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(3) > section:nth-child(2) > vn-chip > div',
|
|
|
|
secondEntryOfThursday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(4) > section:nth-child(2) > vn-chip > div',
|
|
|
|
secondEntryOfFriday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(5) > section:nth-child(2) > vn-chip > div',
|
|
|
|
secondEntryOfSaturday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(6) > section:nth-child(2) > vn-chip > div',
|
|
|
|
secondEntryOfSunday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(7) > section:nth-child(2) > vn-chip > div',
|
|
|
|
thirdEntryOfMonday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(1) > section:nth-child(3) > vn-chip > div',
|
|
|
|
thirdEntryOfMondayDelete: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(1) > section:nth-child(3) > vn-chip > vn-icon[icon="cancel"]',
|
|
|
|
thirdEntryOfTuesday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(2) > section:nth-child(3) > vn-chip > div',
|
|
|
|
thirdEntryOfWednesday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(3) > section:nth-child(3) > vn-chip > div',
|
|
|
|
thirdEntryOfThursday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(4) > section:nth-child(3) > vn-chip > div',
|
|
|
|
thirdEntryOfFriday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(5) > section:nth-child(3) > vn-chip > div',
|
|
|
|
thirdEntryOfSaturday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(6) > section:nth-child(3) > vn-chip > div',
|
|
|
|
thirdEntryOfSunday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(7) > section:nth-child(3) > vn-chip > div',
|
|
|
|
fourthEntryOfMonday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(1) > section:nth-child(4) > vn-chip > div',
|
|
|
|
fourthEntryOfTuesday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(2) > section:nth-child(4) > vn-chip > div',
|
|
|
|
fourthEntryOfWednesday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(3) > section:nth-child(4) > vn-chip > div',
|
|
|
|
fourthEntryOfThursday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(4) > section:nth-child(4) > vn-chip > div',
|
|
|
|
fourthEntryOfFriday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(5) > section:nth-child(4) > vn-chip > div',
|
|
|
|
fourthEntryOfSaturday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(6) > section:nth-child(4) > vn-chip > div',
|
|
|
|
fourthEntryOfSunday: 'vn-worker-time-control vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(7) > section:nth-child(4) > vn-chip > div',
|
2019-10-23 15:38:35 +00:00
|
|
|
mondayWorkedHours: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(1) > vn-td:nth-child(1)',
|
|
|
|
tuesdayWorkedHours: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(1) > vn-td:nth-child(2)',
|
|
|
|
wednesdayWorkedHours: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(1) > vn-td:nth-child(3)',
|
|
|
|
thursdayWorkedHours: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(1) > vn-td:nth-child(4)',
|
|
|
|
fridayWorkedHours: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(1) > vn-td:nth-child(5)',
|
|
|
|
saturdayWorkedHours: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(1) > vn-td:nth-child(6)',
|
|
|
|
sundayWorkedHours: 'vn-worker-time-control vn-table > div > vn-tfoot > vn-tr:nth-child(1) > vn-td:nth-child(7)',
|
|
|
|
weekWorkedHours: 'vn-worker-time-control vn-side-menu vn-label-value > section > span',
|
|
|
|
nextMonthButton: 'vn-worker-time-control vn-side-menu vn-calendar vn-button[icon=keyboard_arrow_right]',
|
2019-10-23 16:39:44 +00:00
|
|
|
secondWeekDay: 'vn-worker-time-control vn-side-menu vn-calendar .day:nth-child(8) > .day-number',
|
2020-10-01 08:38:02 +00:00
|
|
|
navigateBackToIndex: 'vn-worker-descriptor [name="goToModuleIndex"]'
|
2019-06-10 14:58:08 +00:00
|
|
|
},
|
2020-08-14 07:23:23 +00:00
|
|
|
workerCalendar: {
|
|
|
|
year: 'vn-worker-calendar vn-autocomplete[ng-model="$ctrl.year"]',
|
|
|
|
totalHolidaysUsed: 'vn-worker-calendar div.totalBox > div',
|
2021-01-18 18:11:29 +00:00
|
|
|
penultimateMondayOfJanuary: 'vn-worker-calendar vn-calendar:nth-child(2) section:nth-child(22) > div',
|
|
|
|
lastMondayOfMarch: 'vn-worker-calendar vn-calendar:nth-child(4) section:nth-child(29) > div',
|
|
|
|
fistMondayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(8) > div',
|
2021-01-19 09:53:37 +00:00
|
|
|
secondFridayOfJun: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(12) > div',
|
2021-01-18 18:11:29 +00:00
|
|
|
secondTuesdayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(16) > div',
|
|
|
|
secondWednesdayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(17) > div',
|
|
|
|
secondThursdayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(18) > div',
|
2020-08-14 07:23:23 +00:00
|
|
|
holidays: 'vn-worker-calendar > vn-side-menu div:nth-child(3) > vn-chip:nth-child(1)',
|
|
|
|
absence: 'vn-worker-calendar > vn-side-menu div:nth-child(3) > vn-chip:nth-child(2)',
|
|
|
|
halfHoliday: 'vn-worker-calendar > vn-side-menu div:nth-child(3) > vn-chip:nth-child(3)',
|
|
|
|
furlough: 'vn-worker-calendar > vn-side-menu div:nth-child(3) > vn-chip:nth-child(4)',
|
|
|
|
halfFurlough: 'vn-worker-calendar > vn-side-menu div:nth-child(3) > vn-chip:nth-child(5)',
|
|
|
|
},
|
2019-06-10 14:58:08 +00:00
|
|
|
invoiceOutIndex: {
|
2020-02-03 14:55:11 +00:00
|
|
|
topbarSearch: 'vn-searchbar',
|
2019-10-23 15:38:35 +00:00
|
|
|
searchResult: 'vn-invoice-out-index vn-card > vn-table > div > vn-tbody > a.vn-tr',
|
2019-06-10 14:58:08 +00:00
|
|
|
},
|
|
|
|
invoiceOutDescriptor: {
|
2020-05-06 12:38:09 +00:00
|
|
|
moreMenu: 'vn-invoice-out-descriptor vn-icon-button[icon=more_vert]',
|
|
|
|
moreMenuDeleteInvoiceOut: '.vn-menu [name="deleteInvoice"]',
|
|
|
|
moreMenuBookInvoiceOut: '.vn-menu [name="bookInvoice"]',
|
|
|
|
moreMenuShowInvoiceOutPdf: '.vn-menu [name="showInvoicePdf"]',
|
2019-10-30 15:57:14 +00:00
|
|
|
acceptDeleteButton: '.vn-confirm.shown button[response="accept"]',
|
|
|
|
acceptBookingButton: '.vn-confirm.shown button[response="accept"]'
|
2019-06-10 14:58:08 +00:00
|
|
|
},
|
|
|
|
invoiceOutSummary: {
|
2020-02-07 14:42:11 +00:00
|
|
|
bookedLabel: 'vn-invoice-out-summary > vn-card > vn-horizontal > vn-one > vn-label-value:nth-child(4) > section > span',
|
|
|
|
company: 'vn-invoice-out-summary vn-label-value[label="Company"]',
|
|
|
|
taxOne: 'vn-invoice-out-summary > vn-card > vn-horizontal > vn-two > vn-table > div > vn-tbody > vn-tr:nth-child(1)',
|
|
|
|
taxTwo: 'vn-invoice-out-summary > vn-card > vn-horizontal > vn-two > vn-table > div > vn-tbody > vn-tr:nth-child(2)',
|
|
|
|
ticketOne: 'vn-invoice-out-summary > vn-card > vn-horizontal > vn-auto > vn-table > div > vn-tbody > vn-tr:nth-child(1)',
|
|
|
|
ticketTwo: 'vn-invoice-out-summary > vn-card > vn-horizontal > vn-auto > vn-table > div > vn-tbody > vn-tr:nth-child(2)'
|
2020-02-12 06:21:53 +00:00
|
|
|
},
|
2020-11-17 15:52:19 +00:00
|
|
|
travelIndex: {
|
|
|
|
anySearchResult: 'vn-travel-index vn-tbody > a',
|
2021-01-20 19:28:22 +00:00
|
|
|
firstSearchResult: 'vn-travel-index vn-tbody > a:nth-child(1)',
|
|
|
|
firstTravelAddEntryButton: 'vn-travel-index a:nth-child(1) vn-icon[icon="icon-ticket"]',
|
2020-11-17 15:52:19 +00:00
|
|
|
},
|
2020-11-23 17:27:32 +00:00
|
|
|
travelExtraCommunity: {
|
2020-12-30 13:54:51 +00:00
|
|
|
anySearchResult: 'vn-travel-extra-community > vn-data-viewer div > vn-tbody > vn-tr',
|
2021-01-20 12:27:03 +00:00
|
|
|
firstTravelReference: 'vn-travel-extra-community vn-tbody:nth-child(2) vn-td-editable[name="reference"]',
|
|
|
|
firstTravelLockedKg: 'vn-travel-extra-community vn-tbody:nth-child(2) vn-td-editable[name="lockedKg"]',
|
2020-11-23 17:27:32 +00:00
|
|
|
removeContinentFilter: 'vn-searchbar > form > vn-textfield > div.container > div.prepend > prepend > div > span:nth-child(3) > vn-icon > i'
|
|
|
|
},
|
2020-12-16 13:53:14 +00:00
|
|
|
travelBasicData: {
|
2020-02-28 15:49:39 +00:00
|
|
|
reference: 'vn-travel-basic-data vn-textfield[ng-model="$ctrl.travel.ref"]',
|
|
|
|
agency: 'vn-travel-basic-data vn-autocomplete[ng-model="$ctrl.travel.agencyModeFk"]',
|
|
|
|
deliveryDate: 'vn-travel-basic-data vn-date-picker[ng-model="$ctrl.travel.landed"]',
|
|
|
|
outputWarehouse: 'vn-travel-basic-data vn-autocomplete[ng-model="$ctrl.travel.warehouseOutFk"]',
|
|
|
|
inputWarehouse: 'vn-travel-basic-data vn-autocomplete[ng-model="$ctrl.travel.warehouseInFk"]',
|
|
|
|
delivered: 'vn-travel-basic-data vn-check[ng-model="$ctrl.travel.isDelivered"]',
|
|
|
|
received: 'vn-travel-basic-data vn-check[ng-model="$ctrl.travel.isReceived"]',
|
|
|
|
save: 'vn-travel-basic-data vn-submit[label="Save"]',
|
|
|
|
undoChanges: 'vn-travel-basic-data vn-button[label="Undo changes"]'
|
|
|
|
},
|
|
|
|
travelLog: {
|
2020-02-28 15:58:21 +00:00
|
|
|
firstLogFirstTD: 'vn-travel-log vn-tbody > vn-tr > vn-td:nth-child(1) > div'
|
2020-02-28 15:49:39 +00:00
|
|
|
},
|
2020-02-12 06:21:53 +00:00
|
|
|
travelThermograph: {
|
|
|
|
add: 'vn-travel-thermograph-index vn-float-button[icon="add"]',
|
2020-05-27 12:34:34 +00:00
|
|
|
addThermographIcon: 'vn-travel-thermograph-create vn-autocomplete vn-icon[icon="add_circle"]',
|
|
|
|
newThermographId: 'vn-textfield[ng-model="$ctrl.newThermograph.thermographId"]',
|
|
|
|
newThermographModel: 'vn-autocomplete[ng-model="$ctrl.newThermograph.model"]',
|
|
|
|
newThermographWarehouse: 'vn-autocomplete[ng-model="$ctrl.newThermograph.warehouseId"]',
|
|
|
|
newThermographTemperature: 'vn-autocomplete[ng-model="$ctrl.newThermograph.temperature"]',
|
|
|
|
createThermographButton: 'form button[response="accept"]',
|
2020-03-11 08:15:23 +00:00
|
|
|
uploadIcon: 'vn-travel-thermograph-create vn-icon[icon="icon-attach"]',
|
2020-02-12 06:21:53 +00:00
|
|
|
createdThermograph: 'vn-travel-thermograph-index vn-tbody > vn-tr',
|
|
|
|
upload: 'vn-travel-thermograph-create button[type=submit]'
|
2020-02-19 09:04:29 +00:00
|
|
|
},
|
2020-11-17 15:52:19 +00:00
|
|
|
travelDescriptor: {
|
|
|
|
filterByAgencyButton: 'vn-descriptor-content .quicklinks > div:nth-child(1) > vn-quick-link > a[vn-tooltip="All travels with current agency"]',
|
|
|
|
dotMenu: 'vn-travel-descriptor vn-icon-button[icon="more_vert"]',
|
2020-12-30 13:54:51 +00:00
|
|
|
dotMenuClone: '#clone',
|
|
|
|
dotMenuCloneWithEntries: '#cloneWithEntries',
|
2021-01-20 19:28:22 +00:00
|
|
|
dotMenuAddEntry: '[name="addEntry"]',
|
2020-12-30 13:54:51 +00:00
|
|
|
acceptClonation: 'tpl-buttons > button[response="accept"]'
|
2020-11-17 15:52:19 +00:00
|
|
|
},
|
2020-12-29 13:05:43 +00:00
|
|
|
travelCreate: {
|
|
|
|
reference: 'vn-travel-create vn-textfield[ng-model="$ctrl.travel.ref"]',
|
|
|
|
agency: 'vn-travel-create vn-autocomplete[ng-model="$ctrl.travel.agencyModeFk"]',
|
|
|
|
shipped: 'vn-travel-create vn-date-picker[ng-model="$ctrl.travel.shipped"]',
|
|
|
|
landed: 'vn-travel-create vn-date-picker[ng-model="$ctrl.travel.landed"]',
|
|
|
|
warehouseOut: 'vn-travel-create vn-autocomplete[ng-model="$ctrl.travel.warehouseOutFk"]',
|
|
|
|
warehouseIn: 'vn-travel-create vn-autocomplete[ng-model="$ctrl.travel.warehouseInFk"]',
|
|
|
|
saveButton: 'vn-travel-create vn-submit[label="Save"]'
|
2020-11-17 15:52:19 +00:00
|
|
|
},
|
2020-08-14 13:35:50 +00:00
|
|
|
zoneIndex: {
|
|
|
|
searchResult: 'vn-zone-index a.vn-tr',
|
|
|
|
},
|
|
|
|
zoneDescriptor: {
|
|
|
|
menu: 'vn-zone-descriptor vn-icon-button[vn-popover="menu"]',
|
|
|
|
deleteZone: 'slot-menu vn-item[ng-click="$ctrl.onDelete()"]'
|
|
|
|
},
|
2020-02-25 07:24:54 +00:00
|
|
|
zoneBasicData: {
|
2020-02-19 09:04:29 +00:00
|
|
|
name: 'vn-zone-basic-data vn-textfield[ng-model="$ctrl.zone.name"]',
|
|
|
|
agency: 'vn-zone-basic-data vn-autocomplete[ng-model="$ctrl.zone.agencyModeFk"]',
|
|
|
|
maxVolume: 'vn-zone-basic-data vn-input-number[ng-model="$ctrl.zone.m3Max"]',
|
|
|
|
travelingDays: 'vn-zone-basic-data vn-input-number[ng-model="$ctrl.zone.travelingDays"]',
|
|
|
|
closing: 'vn-zone-basic-data vn-input-time[ng-model="$ctrl.zone.hour"]',
|
|
|
|
price: 'vn-zone-basic-data vn-input-number[ng-model="$ctrl.zone.price"]',
|
|
|
|
bonus: 'vn-zone-basic-data vn-input-number[ng-model="$ctrl.zone.bonus"]',
|
|
|
|
inflation: 'vn-zone-basic-data vn-input-number[ng-model="$ctrl.zone.inflation"]',
|
|
|
|
volumetric: 'vn-zone-basic-data vn-check[ng-model="$ctrl.zone.isVolumetric"]',
|
|
|
|
saveButton: 'vn-zone-basic-data vn-submit > button',
|
2020-02-24 13:34:36 +00:00
|
|
|
},
|
2021-01-20 19:28:22 +00:00
|
|
|
entryCreate: {
|
|
|
|
travel: 'vn-entry-create vn-autocomplete[ng-model="$ctrl.entry.travelFk"]',
|
|
|
|
company: 'vn-entry-create vn-autocomplete[ng-model="$ctrl.entry.companyFk"]'
|
|
|
|
},
|
2020-02-24 13:34:36 +00:00
|
|
|
entrySummary: {
|
|
|
|
header: 'vn-entry-summary > vn-card > h5',
|
|
|
|
reference: 'vn-entry-summary vn-label-value[label="Reference"]',
|
|
|
|
confirmed: 'vn-entry-summary vn-check[label="Confirmed"]',
|
2020-09-09 11:07:06 +00:00
|
|
|
anyBuyLine: 'vn-entry-summary tr.dark-row'
|
2020-03-02 12:16:46 +00:00
|
|
|
},
|
2020-09-11 14:36:56 +00:00
|
|
|
entryBasicData: {
|
|
|
|
reference: 'vn-entry-basic-data vn-textfield[ng-model="$ctrl.entry.ref"]',
|
|
|
|
notes: 'vn-entry-basic-data vn-textfield[ng-model="$ctrl.entry.notes"]',
|
|
|
|
observations: 'vn-entry-basic-data vn-textarea[ng-model="$ctrl.entry.observation"]',
|
|
|
|
supplier: 'vn-entry-basic-data vn-autocomplete[ng-model="$ctrl.entry.supplierFk"]',
|
|
|
|
currency: 'vn-entry-basic-data vn-autocomplete[ng-model="$ctrl.entry.currencyFk"]',
|
|
|
|
commission: 'vn-entry-basic-data vn-input-number[ng-model="$ctrl.entry.commission"]',
|
|
|
|
company: 'vn-entry-basic-data vn-autocomplete[ng-model="$ctrl.entry.companyFk"]',
|
|
|
|
ordered: 'vn-entry-basic-data vn-check[ng-model="$ctrl.entry.isOrdered"]',
|
|
|
|
confirmed: 'vn-entry-basic-data vn-check[ng-model="$ctrl.entry.isConfirmed"]',
|
|
|
|
inventory: 'vn-entry-basic-data vn-check[ng-model="$ctrl.entry.isInventory"]',
|
|
|
|
raid: 'vn-entry-basic-data vn-check[ng-model="$ctrl.entry.isRaid"]',
|
|
|
|
booked: 'vn-entry-basic-data vn-check[ng-model="$ctrl.entry.isBooked"]',
|
|
|
|
save: 'vn-entry-basic-data button[type=submit]',
|
|
|
|
},
|
2020-03-02 12:16:46 +00:00
|
|
|
entryDescriptor: {
|
2020-07-30 15:08:35 +00:00
|
|
|
agency: 'vn-entry-descriptor div.body vn-label-value:nth-child(1) span',
|
2020-05-08 17:56:39 +00:00
|
|
|
travelsQuicklink: 'vn-entry-descriptor vn-quick-link[icon="local_airport"] > a',
|
|
|
|
entriesQuicklink: 'vn-entry-descriptor vn-quick-link[icon="icon-entry"] > a'
|
2020-08-28 17:52:54 +00:00
|
|
|
},
|
|
|
|
entryLatestBuys: {
|
|
|
|
firstBuy: 'vn-entry-latest-buys vn-tbody > a:nth-child(1)',
|
|
|
|
allBuysCheckBox: 'vn-entry-latest-buys vn-thead vn-check',
|
|
|
|
secondBuyCheckBox: 'vn-entry-latest-buys a:nth-child(2) vn-check[ng-model="buy.checked"]',
|
|
|
|
editBuysButton: 'vn-entry-latest-buys vn-button[icon="edit"]',
|
|
|
|
fieldAutocomplete: 'vn-autocomplete[ng-model="$ctrl.editedColumn.field"]',
|
|
|
|
newValueInput: 'vn-textfield[ng-model="$ctrl.editedColumn.newValue"]',
|
|
|
|
latestBuysSectionButton: 'a[ui-sref="entry.latestBuys"]',
|
|
|
|
acceptEditBuysDialog: 'button[response="accept"]'
|
2020-09-03 15:30:24 +00:00
|
|
|
},
|
|
|
|
entryIndex: {
|
|
|
|
createEntryButton: 'vn-entry-index vn-button[icon="add"]',
|
|
|
|
newEntrySupplier: 'vn-entry-create vn-autocomplete[ng-model="$ctrl.entry.supplierFk"]',
|
|
|
|
newEntryTravel: 'vn-entry-create vn-autocomplete[ng-model="$ctrl.entry.travelFk"]',
|
|
|
|
newEntryCompany: 'vn-entry-create vn-autocomplete[ng-model="$ctrl.entry.companyFk"]',
|
|
|
|
saveNewEntry: 'vn-entry-create button[type="submit"]'
|
2020-10-28 11:29:50 +00:00
|
|
|
},
|
2020-12-31 15:42:38 +00:00
|
|
|
entryObservations: {
|
|
|
|
addNewObservation: 'vn-entry-observation vn-icon-button[icon="add_circle"]',
|
|
|
|
firstObservationType: 'vn-entry-observation vn-horizontal:nth-child(1) > vn-autocomplete[ng-model="observation.observationTypeFk"]',
|
|
|
|
secondObservationType: 'vn-entry-observation vn-horizontal:nth-child(2) > vn-autocomplete[ng-model="observation.observationTypeFk"]',
|
|
|
|
firstObservationDescription: 'vn-entry-observation vn-horizontal:nth-child(1) > vn-textfield[ng-model="observation.description"]',
|
|
|
|
secondObservationDescription: 'vn-entry-observation vn-horizontal:nth-child(2) > vn-textfield[ng-model="observation.description"]',
|
|
|
|
saveObservationsButton: 'vn-entry-observation vn-submit > button'
|
|
|
|
},
|
2020-10-28 11:29:50 +00:00
|
|
|
supplierSummary: {
|
|
|
|
header: 'vn-supplier-summary > vn-card > h5',
|
|
|
|
basicDataId: 'vn-supplier-summary vn-label-value[label="Id"]',
|
|
|
|
fiscalAddressTaxNumber: 'vn-supplier-summary vn-label-value[label="Tax number"]',
|
|
|
|
billingDataPayMethod: 'vn-supplier-summary vn-label-value[label="Pay method"]'
|
|
|
|
},
|
|
|
|
supplierDescriptor: {
|
|
|
|
alias: 'vn-supplier-descriptor vn-label-value[label="Alias"]',
|
|
|
|
clientButton: 'vn-supplier-descriptor vn-icon[icon="person"]',
|
|
|
|
entriesButton: 'vn-supplier-descriptor vn-icon[icon="icon-entry"]',
|
2020-11-02 12:23:03 +00:00
|
|
|
},
|
|
|
|
supplierContact: {
|
|
|
|
anyContact: 'vn-supplier-contact > form > vn-card > div',
|
|
|
|
addNewContact: 'vn-supplier-contact vn-icon[icon="add_circle"]',
|
|
|
|
thirdContactName: 'vn-supplier-contact div:nth-child(3) vn-textfield[ng-model="contact.name"]',
|
|
|
|
thirdContactPhone: 'vn-supplier-contact div:nth-child(3) vn-textfield[ng-model="contact.phone"]',
|
|
|
|
thirdContactMobile: 'vn-supplier-contact div:nth-child(3) vn-textfield[ng-model="contact.mobile"]',
|
|
|
|
thirdContactEmail: 'vn-supplier-contact div:nth-child(3) vn-textfield[ng-model="contact.email"]',
|
|
|
|
thirdContactNotes: 'vn-supplier-contact div:nth-child(3) vn-textfield[ng-model="contact.observation"]',
|
|
|
|
saveButton: 'vn-supplier-contact button[type="submit"]',
|
|
|
|
thirdContactDeleteButton: 'vn-supplier-contact div:nth-child(3) vn-icon-button[icon="delete"]'
|
2020-11-04 17:14:08 +00:00
|
|
|
},
|
|
|
|
supplierBasicData: {
|
2020-11-05 12:53:19 +00:00
|
|
|
alias: 'vn-supplier-basic-data vn-textfield[ng-model="$ctrl.supplier.nickname"]',
|
2020-11-18 10:47:23 +00:00
|
|
|
isSerious: 'vn-supplier-basic-data vn-check[ng-model="$ctrl.supplier.isSerious"]',
|
2020-11-05 12:53:19 +00:00
|
|
|
isActive: 'vn-supplier-basic-data vn-check[ng-model="$ctrl.supplier.isActive"]',
|
|
|
|
notes: 'vn-supplier-basic-data vn-textarea[ng-model="$ctrl.supplier.note"]',
|
|
|
|
saveButton: 'vn-supplier-basic-data button[type="submit"]',
|
2020-11-04 17:14:08 +00:00
|
|
|
},
|
|
|
|
supplierFiscalData: {
|
|
|
|
socialName: 'vn-supplier-fiscal-data vn-textfield[ng-model="$ctrl.supplier.name"]',
|
|
|
|
taxNumber: 'vn-supplier-fiscal-data vn-textfield[ng-model="$ctrl.supplier.nif"]',
|
|
|
|
account: 'vn-supplier-fiscal-data vn-textfield[ng-model="$ctrl.supplier.account"]',
|
|
|
|
sageTaxType: 'vn-supplier-fiscal-data vn-autocomplete[ng-model="$ctrl.supplier.sageTaxTypeFk"]',
|
|
|
|
sageWihholding: 'vn-supplier-fiscal-data vn-autocomplete[ng-model="$ctrl.supplier.sageWithholdingFk"]',
|
|
|
|
postCode: 'vn-supplier-fiscal-data vn-datalist[ng-model="$ctrl.supplier.postCode"]',
|
|
|
|
city: 'vn-supplier-fiscal-data vn-datalist[ng-model="$ctrl.supplier.city"]',
|
|
|
|
province: 'vn-supplier-fiscal-data vn-autocomplete[ng-model="$ctrl.supplier.provinceFk"]',
|
|
|
|
country: 'vn-supplier-fiscal-data vn-autocomplete[ng-model="$ctrl.supplier.countryFk"]',
|
|
|
|
saveButton: 'vn-supplier-fiscal-data button[type="submit"]',
|
2020-12-16 15:37:53 +00:00
|
|
|
},
|
|
|
|
supplierBillingData: {
|
|
|
|
payMethod: 'vn-supplier-billing-data vn-autocomplete[ng-model="$ctrl.supplier.payMethodFk"]',
|
|
|
|
payDem: 'vn-supplier-billing-data vn-autocomplete[ng-model="$ctrl.supplier.payDemFk"]',
|
|
|
|
payDay: 'vn-supplier-billing-data vn-input-number[ng-model="$ctrl.supplier.payDay"]',
|
|
|
|
saveButton: 'vn-supplier-billing-data button[type=submit]'
|
2019-03-08 13:46:01 +00:00
|
|
|
}
|
2017-09-15 10:24:37 +00:00
|
|
|
};
|