diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml
index 20a612a82..68214129f 100644
--- a/src/i18n/locale/en.yml
+++ b/src/i18n/locale/en.yml
@@ -105,6 +105,7 @@ globals:
campaign: Campaign
weight: Weight
error: Ups! Something went wrong
+ recalc: Recalculate
pageTitles:
logIn: Login
addressEdit: Update address
@@ -275,6 +276,7 @@ globals:
serial: Serial
medical: Mutual
RouteExtendedList: Router
+ wasteRecalc: Waste recaclulate
supplier: Supplier
created: Created
worker: Worker
@@ -465,6 +467,10 @@ entry:
landing: Landing
isExcludedFromAvailable: Es inventory
isRaid: Raid
+ wasteRecalc:
+ dateRequired: The date fields are required
+ dateIncoherent: The "from" date cannot be later than the "to" date
+ recalcOk: The wastes were successfully recalculated
ticket:
pageTitles:
tickets: Tickets
diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml
index ae0274415..7e1671fbf 100644
--- a/src/i18n/locale/es.yml
+++ b/src/i18n/locale/es.yml
@@ -107,6 +107,7 @@ globals:
campaign: Campaña
weight: Peso
error: ¡Ups! Algo salió mal
+ recalc: Recalcular
pageTitles:
logIn: Inicio de sesión
addressEdit: Modificar consignatario
@@ -279,6 +280,7 @@ globals:
clientsActionsMonitor: Clientes y acciones
serial: Facturas por serie
medical: Mutua
+ wasteRecalc: Recalcular mermas
supplier: Proveedor
created: Fecha creación
worker: Trabajador
@@ -467,6 +469,10 @@ entry:
landing: Llegada
isExcludedFromAvailable: Es inventario
isRaid: Redada
+ wasteRecalc:
+ dateRequired: Los campos de tipo fecha son obligatorios
+ dateIncoherent: La fecha "desde" no puede ser superior a la fecha "hasta"
+ recalcOk: Se han recalculado las mermas correctamente
ticket:
pageTitles:
tickets: Tickets
diff --git a/src/pages/Entry/EntryWasteRecalc.vue b/src/pages/Entry/EntryWasteRecalc.vue
new file mode 100644
index 000000000..2fb9c3abf
--- /dev/null
+++ b/src/pages/Entry/EntryWasteRecalc.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/modules/entry.js b/src/router/modules/entry.js
index 4750a4301..3add239df 100644
--- a/src/router/modules/entry.js
+++ b/src/router/modules/entry.js
@@ -12,7 +12,13 @@ export default {
component: RouterView,
redirect: { name: 'EntryMain' },
menus: {
- main: ['EntryList', 'MyEntries', 'EntryLatestBuys', 'EntryStockBought'],
+ main: [
+ 'EntryList',
+ 'MyEntries',
+ 'EntryLatestBuys',
+ 'EntryStockBought',
+ 'EntryWasteRecalc',
+ ],
card: ['EntryBasicData', 'EntryBuys', 'EntryNotes', 'EntryDms', 'EntryLog'],
},
children: [
@@ -67,6 +73,15 @@ export default {
},
component: () => import('src/pages/Entry/EntryStockBought.vue'),
},
+ {
+ path: 'waste-recalc',
+ name: 'EntryWasteRecalc',
+ meta: {
+ title: 'wasteRecalc',
+ icon: 'compost',
+ },
+ component: () => import('src/pages/Entry/EntryWasteRecalc.vue'),
+ },
],
},
{