diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml
index fa0a14f45..8fd495e68 100644
--- a/src/i18n/locale/en.yml
+++ b/src/i18n/locale/en.yml
@@ -308,6 +308,7 @@ globals:
email: Email
SSN: SSN
fi: FI
+ packing: ITP
changePass: Change password
deleteConfirmTitle: Delete selected elements
errors:
diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml
index 5dfe90e98..f777089a6 100644
--- a/src/i18n/locale/es.yml
+++ b/src/i18n/locale/es.yml
@@ -312,6 +312,7 @@ globals:
email: Correo
SSN: NSS
fi: NIF
+ packing: ITP
changePass: Cambiar contraseña
deleteConfirmTitle: Eliminar los elementos seleccionados
errors:
diff --git a/src/pages/Monitor/Ticket/MonitorTicketFilter.vue b/src/pages/Monitor/Ticket/MonitorTicketFilter.vue
index ae5dc7a56..f952850d2 100644
--- a/src/pages/Monitor/Ticket/MonitorTicketFilter.vue
+++ b/src/pages/Monitor/Ticket/MonitorTicketFilter.vue
@@ -222,6 +222,18 @@ const getLocale = (label) => {
/>
+
+
+
+
+
[
align: 'left',
format: (row) => row.practicalHour,
columnFilter: false,
+ dense: true,
},
{
label: t('salesTicketsTable.preparation'),
@@ -227,22 +233,32 @@ const columns = computed(() => [
label: t('salesTicketsTable.department'),
name: 'department',
align: 'left',
- component: 'select',
- attrs: {
- url: 'Departments',
- optionValue: 'name',
- optionLabel: 'name',
- },
columnFilter: {
component: 'select',
url: 'Departments',
attrs: {
+ options: DepartmentOpts.value,
optionValue: 'name',
optionLabel: 'name',
dense: true,
},
},
},
+ {
+ label: t('salesTicketsTable.packing'),
+ name: 'packing',
+ align: 'left',
+ columnFilter: {
+ component: 'select',
+ url: 'ItemPackingTypes',
+ attrs: {
+ options: ItemPackingTypeOpts.value,
+ 'option-value': 'code',
+ 'option-label': 'code',
+ dense: true,
+ },
+ },
+ },
{
align: 'right',
name: 'tableActions',
@@ -349,6 +365,24 @@ const openTab = (id) =>
auto-load
@on-fetch="(data) => (zoneOpts = data)"
/>
+ (ItemPackingTypeOpts = data)"
+ />
+ (DepartmentOpts = data)"
+ />
diff --git a/src/pages/Monitor/locale/en.yml b/src/pages/Monitor/locale/en.yml
index 083c24e4e..309bfadad 100644
--- a/src/pages/Monitor/locale/en.yml
+++ b/src/pages/Monitor/locale/en.yml
@@ -44,6 +44,7 @@ salesTicketsTable:
preparation: Preparation
payMethod: Pay method
department: Department
+ packing: ITP
searchBar:
label: Search tickets
info: Search tickets by id or alias
diff --git a/src/pages/Monitor/locale/es.yml b/src/pages/Monitor/locale/es.yml
index a3037d75b..6889c5db1 100644
--- a/src/pages/Monitor/locale/es.yml
+++ b/src/pages/Monitor/locale/es.yml
@@ -44,6 +44,7 @@ salesTicketsTable:
preparation: Preparación
payMethod: Método de pago
department: Departamento
+ packing: ITP
searchBar:
label: Buscar tickets
info: Buscar tickets por identificador o alias