Merge branch 'dev' into 7893-wasteRecalc
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
commit
a6944561de
|
@ -49,7 +49,13 @@ async function handleSave() {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<FetchData
|
<FetchData
|
||||||
@on-fetch="(data) => (observationTypes = data)"
|
@on-fetch="
|
||||||
|
(data) =>
|
||||||
|
(observationTypes = data.map((type) => {
|
||||||
|
type.label = t(`ticketNotes.observationTypes.${type.description}`);
|
||||||
|
return type;
|
||||||
|
}))
|
||||||
|
"
|
||||||
auto-load
|
auto-load
|
||||||
url="ObservationTypes"
|
url="ObservationTypes"
|
||||||
/>
|
/>
|
||||||
|
@ -76,7 +82,7 @@ async function handleSave() {
|
||||||
:label="t('ticketNotes.observationType')"
|
:label="t('ticketNotes.observationType')"
|
||||||
:options="observationTypes"
|
:options="observationTypes"
|
||||||
hide-selected
|
hide-selected
|
||||||
option-label="description"
|
option-label="label"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
v-model="row.observationTypeFk"
|
v-model="row.observationTypeFk"
|
||||||
:disable="!!row.id"
|
:disable="!!row.id"
|
||||||
|
|
|
@ -269,7 +269,11 @@ function toTicketUrl(section) {
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<span class="label" style="margin-right: 4px">
|
<span class="label" style="margin-right: 4px">
|
||||||
({{ t(item.observationType.description) }}):
|
({{
|
||||||
|
t(
|
||||||
|
`ticketNotes.observationTypes.${item.observationType.description}`
|
||||||
|
)
|
||||||
|
}}):
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span>{{ item.description }}</span>
|
<span>{{ item.description }}</span>
|
||||||
|
@ -603,28 +607,3 @@ function toTicketUrl(section) {
|
||||||
color: $primary-light;
|
color: $primary-light;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<i18n>
|
|
||||||
en:
|
|
||||||
ItemPicker: Item Picker
|
|
||||||
Packager: Packager
|
|
||||||
Delivery: Delivery
|
|
||||||
SalesPerson: Sales Person
|
|
||||||
Administrative: Administrative
|
|
||||||
Weight: Weight
|
|
||||||
InvoiceOut: Invoice Out
|
|
||||||
DropOff: Drop Off
|
|
||||||
Sustitución: Sustitution
|
|
||||||
es:
|
|
||||||
ItemPicker: Items
|
|
||||||
Packager: Encajador
|
|
||||||
Delivery: Envío
|
|
||||||
SalesPerson: Comercial
|
|
||||||
Administrative: Administrativa
|
|
||||||
Weight: Peso
|
|
||||||
InvoiceOut: Facturas
|
|
||||||
DropOff: Despacho
|
|
||||||
Sustitución: Sustitución
|
|
||||||
Accepted: Aceptado
|
|
||||||
Denied: Denegado
|
|
||||||
</i18n>
|
|
||||||
|
|
|
@ -14,6 +14,16 @@ ticketNotes:
|
||||||
description: Description
|
description: Description
|
||||||
removeNote: Remove note
|
removeNote: Remove note
|
||||||
addNote: Add note
|
addNote: Add note
|
||||||
|
observationTypes:
|
||||||
|
ItemPicker: Item picker
|
||||||
|
Packager: Packager
|
||||||
|
Delivery: Delivery
|
||||||
|
SalesPerson: Sales person
|
||||||
|
Administrative: Administrative
|
||||||
|
Weight: Weight
|
||||||
|
InvoiceOut: Invoice Out
|
||||||
|
DropOff: Drop Off
|
||||||
|
Sustitución: Sustitution
|
||||||
ticketSale:
|
ticketSale:
|
||||||
id: Id
|
id: Id
|
||||||
visible: Visible
|
visible: Visible
|
||||||
|
|
|
@ -29,6 +29,18 @@ ticketNotes:
|
||||||
description: Descripción
|
description: Descripción
|
||||||
removeNote: Quitar nota
|
removeNote: Quitar nota
|
||||||
addNote: Añadir nota
|
addNote: Añadir nota
|
||||||
|
observationTypes:
|
||||||
|
ItemPicker: Sacador
|
||||||
|
Packager: Encajador
|
||||||
|
Delivery: Envío
|
||||||
|
SalesPerson: Comercial
|
||||||
|
Administrative: Administrativa
|
||||||
|
Weight: Peso
|
||||||
|
InvoiceOut: Facturas
|
||||||
|
DropOff: Despacho
|
||||||
|
Sustitución: Sustitución
|
||||||
|
Accepted: Aceptado
|
||||||
|
Denied: Denegado
|
||||||
purchaseRequest:
|
purchaseRequest:
|
||||||
Id: Id
|
Id: Id
|
||||||
description: Descripción
|
description: Descripción
|
||||||
|
|
Loading…
Reference in New Issue