{{ row.refFk }}
@@ -477,32 +463,33 @@ const openTab = (id) =>
>
{{ row.state }}
-
+
-
-
- {{ $t('salesTicketsTable.isFragile') }}
-
-
+
+ {{ $t('salesTicketsTable.isFragile') }}
+
-
+
{{ row.zoneName }}
-
+
-
-
- {{ toCurrency(row.totalWithVat) }}
-
-
+
+ {{ toCurrency(row.totalWithVat) }}
+
+
diff --git a/src/pages/Supplier/SupplierList.vue b/src/pages/Supplier/SupplierList.vue
index d8404632c..ad668f0c0 100644
--- a/src/pages/Supplier/SupplierList.vue
+++ b/src/pages/Supplier/SupplierList.vue
@@ -75,6 +75,19 @@ const columns = computed(() => [
},
visible: false,
},
+ {
+ align: 'left',
+ label: t('supplier.list.tableVisibleColumns.country'),
+ name: 'country',
+ columnFilter: {
+ component: 'select',
+ name: 'countryFk',
+ attrs: {
+ url: 'countries',
+ fields: ['id', 'name'],
+ },
+ },
+ },
]);
diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml
index 305228669..06699e00b 100644
--- a/src/pages/Ticket/locale/en.yml
+++ b/src/pages/Ticket/locale/en.yml
@@ -39,6 +39,7 @@ ticketSale:
agency: Agency
address: Address
advanceTickets:
+ preparation: Preparation
origin: Origin
destination: Destination
originAgency: 'Origin agency: {agency}'
diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml
index 30c5550be..0a27519ad 100644
--- a/src/pages/Ticket/locale/es.yml
+++ b/src/pages/Ticket/locale/es.yml
@@ -86,6 +86,7 @@ weeklyTickets:
search: Buscar por tickets programados
searchInfo: Buscar tickets programados por el identificador o el identificador del cliente
advanceTickets:
+ preparation: Preparación
origin: Origen
destination: Destinatario
originAgency: 'Agencia origen: {agency}'
diff --git a/src/pages/Travel/Card/TravelThermographsForm.vue b/src/pages/Travel/Card/TravelThermographsForm.vue
index 7f40873b1..4f16b0a49 100644
--- a/src/pages/Travel/Card/TravelThermographsForm.vue
+++ b/src/pages/Travel/Card/TravelThermographsForm.vue
@@ -28,18 +28,8 @@ const route = useRoute();
const router = useRouter();
const state = useState();
const { notify } = useNotify();
-
-const thermographFilter = {
- fields: ['thermographFk'],
- where: {
- travelFk: null,
- },
- order: 'thermographFk ASC',
-};
-const fetchTravelThermographsRef = ref(null);
const allowedContentTypes = ref('');
const user = state.getUser();
-const thermographsOptions = ref([]);
const dmsTypesOptions = ref([]);
const companiesOptions = ref([]);
const warehousesOptions = ref([]);
@@ -168,24 +158,15 @@ const updateThermograph = async () => {
};
const onThermographCreated = async (data) => {
- await fetchTravelThermographsRef.value.fetch();
- thermographForm.thermographId = data.thermographId;
+ thermographForm.thermographId = data.id;
};
-
(allowedContentTypes = data.join(', '))"
auto-load
/>
- (thermographsOptions = data)"
- :filter="thermographFilter"
- auto-load
- />
{
(thermographForm.thermographId = data.id)
+ "
/>
@@ -323,7 +309,6 @@ const onThermographCreated = async (data) => {
-
es:
Select files: Selecciona ficheros
diff --git a/src/pages/Zone/Card/ZoneBasicData.vue b/src/pages/Zone/Card/ZoneBasicData.vue
index 512d07636..535f2393d 100644
--- a/src/pages/Zone/Card/ZoneBasicData.vue
+++ b/src/pages/Zone/Card/ZoneBasicData.vue
@@ -64,6 +64,15 @@ const agencyOptions = ref([]);
type="number"
min="0"
/>
+
+
@@ -128,4 +137,5 @@ es:
Bonus: Bonificación
Inflation: Inflación
Volumetric: Volumétrico
+ Max length m³: Medida máxima tumbado
diff --git a/test/cypress/integration/claim/claimDevelopment.spec.js b/test/cypress/integration/claim/claimDevelopment.spec.js
index 3b73a24d9..81fc33ecd 100755
--- a/test/cypress/integration/claim/claimDevelopment.spec.js
+++ b/test/cypress/integration/claim/claimDevelopment.spec.js
@@ -37,7 +37,7 @@ describe('ClaimDevelopment', () => {
cy.wait(['@workers', '@workers']);
cy.addCard();
- cy.get(thirdRow).should('exist');
+ cy.waitForElement(thirdRow);
const rowData = [
false,
diff --git a/test/cypress/integration/vnComponent/vnLocation.spec.js b/test/cypress/integration/vnComponent/vnLocation.spec.js
index 3533a3c1f..1872d3591 100644
--- a/test/cypress/integration/vnComponent/vnLocation.spec.js
+++ b/test/cypress/integration/vnComponent/vnLocation.spec.js
@@ -34,22 +34,25 @@ describe('VnLocation', () => {
cy.visit('/#/supplier/567/fiscal-data', { timeout: 7000 });
cy.waitForElement('.q-form');
});
- it('Fin by postalCode', () => {
+ it('Find by postalCode', () => {
const postCode = '46600';
+ const postCodeLabel = '46600, Valencia(Province one), España';
const firstOption = '[role="listbox"] .q-item:nth-child(1)';
cy.get(inputLocation).click();
cy.get(inputLocation).clear();
cy.get(inputLocation).type(postCode);
- cy.get(locationOptions).should('have.length.at.least', 2);
+ cy.get(locationOptions)
+ .get(':nth-child(1)')
+ .should('have.length.at.least', 2);
+ cy.get(
+ firstOption.concat(' > .q-item__section > .q-item__label--caption')
+ ).should('have.text', postCodeLabel);
cy.get(firstOption).click();
cy.get('.q-btn-group > .q-btn--standard > .q-btn__content > .q-icon').click();
cy.reload();
cy.waitForElement('.q-form');
- cy.get(inputLocation).should(
- 'have.value',
- '46600 - Valencia(Province one), España'
- );
+ cy.get(inputLocation).should('have.value', postCodeLabel);
});
it('Create postCode', () => {
diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js
index a9a405313..43788f59f 100755
--- a/test/cypress/support/commands.js
+++ b/test/cypress/support/commands.js
@@ -140,6 +140,7 @@ Cypress.Commands.add('removeCard', () => {
});
Cypress.Commands.add('addCard', () => {
cy.waitForElement('tbody');
+ cy.waitForElement('.q-page-sticky > div > .q-btn');
cy.get('.q-page-sticky > div > .q-btn').click();
});
Cypress.Commands.add('clickConfirm', () => {