fix: refs #7449 translations
This commit is contained in:
parent
e10abbef92
commit
64decbfdbc
|
@ -157,7 +157,7 @@ async function saveAndGo() {
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="save"
|
icon="save"
|
||||||
@click="saveAndGo"
|
@click="saveAndGo"
|
||||||
data-cy="save-continue-note-button"
|
data-cy="saveContinueNoteButton"
|
||||||
/>
|
/>
|
||||||
</Teleport>
|
</Teleport>
|
||||||
<FetchData
|
<FetchData
|
||||||
|
|
|
@ -78,8 +78,8 @@ const columns = computed(() => [
|
||||||
label: t('Quantity'),
|
label: t('Quantity'),
|
||||||
field: ({ sale }) => sale.quantity,
|
field: ({ sale }) => sale.quantity,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
style: 'padding-right: 20px;',
|
style: 'padding-right: 2%;',
|
||||||
headerStyle: 'padding-right: 20px;'
|
headerStyle: 'padding-right: 2%;'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'claimed',
|
name: 'claimed',
|
||||||
|
@ -112,8 +112,8 @@ const columns = computed(() => [
|
||||||
field: ({ sale }) => totalRow(sale),
|
field: ({ sale }) => totalRow(sale),
|
||||||
format: (value) => toCurrency(value),
|
format: (value) => toCurrency(value),
|
||||||
sortable: true,
|
sortable: true,
|
||||||
style: 'padding-right: 20px;',
|
style: 'padding-right: 2%;',
|
||||||
headerStyle: 'padding-right: 20px;'
|
headerStyle: 'padding-right: 2%;'
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -170,13 +170,13 @@ function fillClaimedQuantities() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasChanges) {
|
if (hasChanges) {
|
||||||
quasar.notify({
|
quasar.notify({
|
||||||
message: t('Cantidades rellenadas automáticamente'),
|
message: t('Quantities filled automatically'),
|
||||||
type: 'positive',
|
type: 'positive',
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
quasar.notify({
|
quasar.notify({
|
||||||
message: t('No hay cantidades para rellenar'),
|
message: t('No quantities to fill'),
|
||||||
type: 'info',
|
type: 'info',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -212,7 +212,7 @@ function fillClaimedQuantities() {
|
||||||
<div class="q-pa-md">
|
<div class="q-pa-md">
|
||||||
|
|
||||||
<CrudModel
|
<CrudModel
|
||||||
data-key="ClaimLines"
|
data-key="claimLines"
|
||||||
ref="claimLinesForm"
|
ref="claimLinesForm"
|
||||||
:go-to="`photos`"
|
:go-to="`photos`"
|
||||||
:url="`Claims/${route.params.id}/lines`"
|
:url="`Claims/${route.params.id}/lines`"
|
||||||
|
@ -392,6 +392,8 @@ es:
|
||||||
Delete claimed sales: Eliminar ventas reclamadas
|
Delete claimed sales: Eliminar ventas reclamadas
|
||||||
Discount updated: Descuento actualizado
|
Discount updated: Descuento actualizado
|
||||||
Claimed quantity: Cantidad reclamada
|
Claimed quantity: Cantidad reclamada
|
||||||
|
Quantities filled automatically: Cantidades rellenadas automáticamente
|
||||||
|
No quantities to fill: No hay cantidades para rellenar
|
||||||
You are about to remove {count} rows: '
|
You are about to remove {count} rows: '
|
||||||
Vas a eliminar <strong>{count}</strong> línea |
|
Vas a eliminar <strong>{count}</strong> línea |
|
||||||
Vas a eliminar <strong>{count}</strong> líneas'
|
Vas a eliminar <strong>{count}</strong> líneas'
|
||||||
|
|
|
@ -18,8 +18,8 @@ describe('ClaimLines', () => {
|
||||||
it('should autofill claimed quantity if 0 or null', () => {
|
it('should autofill claimed quantity if 0 or null', () => {
|
||||||
cy.get('thead > tr > .q-table--col-auto-width > .q-checkbox > .q-checkbox__inner > .q-checkbox__bg').click();
|
cy.get('thead > tr > .q-table--col-auto-width > .q-checkbox > .q-checkbox__inner > .q-checkbox__bg').click();
|
||||||
cy.get('.q-btn--unelevated').click();
|
cy.get('.q-btn--unelevated').click();
|
||||||
cy.checkNotification('Cantidades rellenadas automáticamente');
|
cy.checkNotification('Quantities filled automatically');
|
||||||
cy.get('.q-btn--unelevated').click();
|
cy.get('.q-btn--unelevated').click();
|
||||||
cy.checkNotification('No hay cantidades para rellenar');
|
cy.checkNotification('No quantities to fill');
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
|
@ -12,7 +12,7 @@ describe('ClaimNotes', () => {
|
||||||
.should('not.be.disabled')
|
.should('not.be.disabled')
|
||||||
.type(message, "{{enter}}");
|
.type(message, "{{enter}}");
|
||||||
|
|
||||||
cy.dataCy("save-continue-note-button").click();
|
cy.dataCy("saveContinueNoteButton").click();
|
||||||
cy.get(firstNote).should('have.text', message);
|
cy.get(firstNote).should('have.text', message);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue