diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml
index 3ac3d18a0..5ccf72371 100644
--- a/src/i18n/locale/en.yml
+++ b/src/i18n/locale/en.yml
@@ -417,6 +417,7 @@ ticket:
boxing: Boxing
sms: Sms
notes: Notes
+ negative: Tickets negative
list:
nickname: Nickname
state: State
diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml
index 4ecbcdbc0..cf8ea51ca 100644
--- a/src/i18n/locale/es.yml
+++ b/src/i18n/locale/es.yml
@@ -415,6 +415,7 @@ ticket:
boxing: Encajado
sms: Sms
notes: Notas
+ negative: Tickets negativos
list:
nickname: Alias
state: Estado
diff --git a/src/pages/Ticket/Negative/NegativeOriginDialog.vue b/src/pages/Ticket/Negative/NegativeOriginDialog.vue
index bc1fe03a2..b65ed39cb 100644
--- a/src/pages/Ticket/Negative/NegativeOriginDialog.vue
+++ b/src/pages/Ticket/Negative/NegativeOriginDialog.vue
@@ -43,13 +43,13 @@ const updateNegativeOrigin = async () => {
v-if="icon"
/>
{{
- t('ticket.negative.modalOrigin.title')
+ t('negative.modalOrigin.title')
}}
- {{ t('ticket.negative.modalOrigin.question') }}
+ {{ t('negative.modalOrigin.question') }}
({
const columns = computed(() => [
{
name: 'ticketFk',
- label: t('ticket.negative.detail.ticketFk'),
+ label: t('negative.detail.ticketFk'),
field: 'ticketFk',
align: 'left',
},
{
name: 'shipped',
- label: t('ticket.negative.detail.shipped'),
+ label: t('negative.detail.shipped'),
field: 'shipped',
align: 'left',
format: (val) => toDate(val),
},
{
name: 'theoreticalhour',
- label: t('ticket.negative.detail.theoreticalhour'),
+ label: t('negative.detail.theoreticalhour'),
field: 'theoreticalhour',
align: 'left',
format: (val) => toHour(val),
},
{
name: 'state',
- label: t('ticket.negative.detail.state'),
+ label: t('negative.detail.state'),
field: 'code',
align: 'left',
},
{
name: 'agName',
- label: t('ticket.negative.detail.agName'),
+ label: t('negative.detail.agName'),
field: 'agName',
align: 'left',
},
{
name: 'zoneName',
- label: t('ticket.negative.detail.zoneName'),
+ label: t('negative.detail.zoneName'),
field: 'zoneName',
align: 'left',
},
{
name: 'nickname',
- label: t('ticket.negative.detail.nickname'),
+ label: t('negative.detail.nickname'),
field: 'nickname',
align: 'left',
},
{
name: 'quantity',
- label: t('ticket.negative.detail.quantity'),
+ label: t('negative.detail.quantity'),
field: 'quantity',
align: 'left',
},
{
name: 'alertLevelCode',
- label: t('ticket.negative.detail.alertLevelCode'),
+ label: t('negative.detail.alertLevelCode'),
field: 'alertLevelCode',
align: 'left',
},
{
name: 'isRookie',
- label: t('ticket.negative.detail.isRookie'),
+ label: t('negative.detail.isRookie'),
field: 'isRookie',
align: 'center',
},
{
name: 'turno',
- label: t('ticket.negative.detail.turno'),
+ label: t('negative.detail.turno'),
field: 'turno',
align: 'center',
},
{
name: 'peticionCompra',
- label: t('ticket.negative.detail.peticionCompra'),
+ label: t('negative.detail.peticionCompra'),
field: 'peticionCompra',
align: 'center',
},
diff --git a/src/pages/Ticket/Negative/TicketLackFilter.vue b/src/pages/Ticket/Negative/TicketLackFilter.vue
index e22bbe3be..79d44f6cc 100644
--- a/src/pages/Ticket/Negative/TicketLackFilter.vue
+++ b/src/pages/Ticket/Negative/TicketLackFilter.vue
@@ -33,18 +33,14 @@ const warehouses = ref();
-
+
@@ -53,7 +49,7 @@ const warehouses = ref();
@@ -62,7 +58,7 @@ const warehouses = ref();
@@ -71,7 +67,7 @@ const warehouses = ref();
@@ -80,7 +76,7 @@ const warehouses = ref();
diff --git a/src/pages/Ticket/Negative/TicketLackList.vue b/src/pages/Ticket/Negative/TicketLackList.vue
index 868af6114..8eb41b299 100644
--- a/src/pages/Ticket/Negative/TicketLackList.vue
+++ b/src/pages/Ticket/Negative/TicketLackList.vue
@@ -29,19 +29,19 @@ const totalNegativeDialogRef = ref();
const columns = computed(() => [
{
name: 'minTimed',
- label: t('ticket.negative.minTimed'),
+ label: t('negative.minTimed'),
field: ({ minTimed }) => minTimed,
sortable: true,
},
{
name: 'itemFk',
- label: t('ticket.negative.id'),
+ label: t('negative.id'),
field: ({ itemFk }) => itemFk,
sortable: true,
},
{
name: 'longName',
- label: t('ticket.negative.longName'),
+ label: t('negative.longName'),
field: ({ longName }) => longName,
align: 'center',
sortable: true,
@@ -49,32 +49,32 @@ const columns = computed(() => [
},
{
name: 'producer',
- label: t('ticket.negative.supplier'),
+ label: t('negative.supplier'),
field: ({ producer }) => producer,
sortable: true,
},
{
name: 'inkFk',
- label: t('ticket.negative.colour'),
+ label: t('negative.colour'),
field: ({ inkFk }) => inkFk,
sortable: true,
},
{
name: 'size',
- label: t('ticket.negative.size'),
+ label: t('negative.size'),
field: ({ size }) => size,
sortable: true,
},
{
name: 'category',
- label: t('ticket.negative.origen'),
+ label: t('negative.origen'),
field: ({ category }) => category,
align: 'left',
sortable: true,
},
{
name: 'lack',
- label: t('ticket.negative.lack'),
+ label: t('negative.lack'),
field: ({ lack }) => lack,
align: 'center',
sortable: true,
@@ -115,16 +115,16 @@ const columns = computed(() => [
color="primary"
:disable="!selectedRows?.length"
@click="showNegativeOriginDialog = true"
- :label="t('ticket.negative.negativeAction')"
+ :label="t('negative.negativeAction')"
>
- {{ t('ticket.negative.negativeAction') }}
+ {{ t('negative.negativeAction') }}
- {{ t('ticket.negative.totalNegative') }}
+ {{ t('negative.totalNegative') }}
@@ -161,9 +161,7 @@ const columns = computed(() => [
diff --git a/src/pages/Ticket/Negative/TotalNegativeOriginDialog.vue b/src/pages/Ticket/Negative/TotalNegativeOriginDialog.vue
index 324b5e1c1..6f9971ddb 100644
--- a/src/pages/Ticket/Negative/TotalNegativeOriginDialog.vue
+++ b/src/pages/Ticket/Negative/TotalNegativeOriginDialog.vue
@@ -12,31 +12,31 @@ const { dialogRef, onDialogHide } = useDialogPluginComponent();
const columns = computed(() => [
{
name: 'id',
- label: t('ticket.negative.id'),
+ label: t('negative.id'),
field: ({ id }) => id,
sortable: true,
},
{
name: 'itemFk',
- label: t('ticket.negative.detail.itemFk'),
+ label: t('negative.detail.itemFk'),
field: ({ itemFk }) => itemFk,
sortable: true,
},
{
name: 'type',
- label: t('ticket.negative.type'),
+ label: t('negative.type'),
field: ({ type }) => type,
sortable: true,
},
{
name: 'dated',
- label: t('ticket.negative.detail.shipped'),
+ label: t('negative.detail.shipped'),
field: ({ dated }) => dated,
sortable: true,
},
{
name: 'quantity',
- label: t('ticket.negative.detail.quantity'),
+ label: t('negative.detail.quantity'),
field: ({ quantity }) => quantity,
sortable: true,
},
@@ -47,9 +47,7 @@ const columns = computed(() => [
- {{
- t('ticket.negative.totalNegative')
- }}
+ {{ t('negative.totalNegative') }}
diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml
new file mode 100644
index 000000000..e6deffd6e
--- /dev/null
+++ b/src/pages/Ticket/locale/en.yml
@@ -0,0 +1,40 @@
+negative:
+ hour: 'Hour'
+ id: 'Id Article'
+ longName: 'Article'
+ supplier: 'Supplier'
+ colour: 'Colour'
+ size: 'Size'
+ origen: 'Origin'
+ value: 'Negative'
+ itemFk: 'Article'
+ warehouseFk: 'Warehouse'
+ producer: 'Producer'
+ category: 'category'
+ warehouse: 'warehouse'
+ lack: 'Negative'
+ inkFk: 'inkFk'
+ timed: 'timed'
+ minTimed: 'minTimed'
+ type: 'Type'
+ negativeAction: 'Negative'
+ totalNegative: 'Total negatives'
+ modalOrigin:
+ title: 'Update negatives'
+ question: 'Select a state to update'
+ detail:
+ itemFk: 'Article'
+ ticketFk: 'Id_Ticket'
+ code: 'Code'
+ nickname: 'Alias'
+ name: 'Name'
+ zoneName: 'Agency name'
+ shipped: 'Date'
+ theoreticalhour: 'Theoretical hour'
+ agName: 'Agency'
+ quantity: 'Quantity'
+ alertLevelCode: 'Group state'
+ state: 'State'
+ peticionCompra: 'Ticket request'
+ isRookie: 'Is rookie'
+ turno: 'Turn line'
diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml
new file mode 100644
index 000000000..ce255ca3b
--- /dev/null
+++ b/src/pages/Ticket/locale/es.yml
@@ -0,0 +1,40 @@
+negative:
+ hour: 'Hora'
+ id: 'Id Articulo'
+ longName: 'Articulo'
+ supplier: 'Productor'
+ colour: 'Color'
+ size: 'Medida'
+ origen: 'Origen'
+ value: 'Negativo'
+ warehouseFk: 'Almacen'
+ producer: 'Producer'
+ category: 'Categoria'
+ warehouse: 'Almacen'
+ lack: 'Negativo'
+ inkFk: 'Color'
+ timed: 'Timed'
+ minTimed: 'Hora'
+ type: 'Tipo'
+ negativeAction: 'Negativo'
+ totalNegative: 'Total negativos'
+ modalOrigin:
+ title: 'Actualizar negativos'
+ question: 'Seleccione un estado para guardar'
+
+ detail:
+ itemFk: 'Articulo'
+ ticketFk: 'Id_Ticket'
+ code: 'code'
+ nickname: 'Alias'
+ name: 'Nombre'
+ zoneName: 'Nombre Agencia'
+ shipped: 'Fecha'
+ theoreticalhour: 'Hora teórica'
+ agName: 'Agencia'
+ quantity: 'Cantidad'
+ alertLevelCode: 'Estado agrupado'
+ state: 'Estado'
+ peticionCompra: 'Petición compra'
+ isRookie: 'Cliente nuevo'
+ turno: 'Linea turno'