@@ -261,19 +648,43 @@ onMounted(async () => {
+
+
+
+
+
redirectToEntryBuys(row.entryFk)"
>
+
+
+
+
+
+
+
+
{
-
+
{{ row.itemFk }}
+
@@ -300,7 +712,7 @@ onMounted(async () => {
-
+
{{ row.entryFk }}
diff --git a/src/pages/Entry/EntryLatestBuysFilter.vue b/src/pages/Entry/EntryLatestBuysFilter.vue
new file mode 100644
index 000000000..23361ffb3
--- /dev/null
+++ b/src/pages/Entry/EntryLatestBuysFilter.vue
@@ -0,0 +1,474 @@
+
+
+
+ (itemCategories = data)"
+ />
+ (itemTypeWorkersOptions = data)"
+ />
+ (suppliersOptions = data)"
+ />
+ (tagOptions = data)"
+ />
+
+
+
+ {{ t(selectedCategory?.name || '') }}
+
+
+ {{ t(selectedType?.name || '') }}
+
+
+ {{ t(`params.${tag.label}`) }}:
+ {{ formatFn(tag.value) }}
+
+
+
+
+
+
+ {{ chip.tagName }}:
+ "{{ chip.value }}"
+
+
+
+
+
+
+
+
+ {{ t(category.name) }}
+
+
+
+
+
+ {
+ selectedTypeFk = value;
+ searchFn();
+ }
+ "
+ >
+
+
+
+ {{ opt.name }}
+
+ {{ opt.categoryName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ opt.name }}
+
+ {{ opt.nickname }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+en:
+ params:
+ supplier: Supplier
+ from: From
+ to: To
+ active: Is active
+ visible: Is visible
+ floramondo: Is floramondo
+ salesPersonFk: Buyer
+ categoryFk: Category
+ typeFk: Type
+ tag: Tag
+ value: Value
+es:
+ params:
+ supplier: Proveedor
+ from: Desde
+ to: Hasta
+ active: Activo
+ visible: Visible
+ floramondo: Floramondo
+ salesPersonFk: Comprador
+ categoryFk: Categoría
+ typeFk: Tipo
+ tag: Etiqueta
+ value: Valor
+ Plant: Planta
+ Flower: Flor
+ Handmade: Confección
+ Green: Verde
+ Accessories: Complemento
+ Fruit: Fruta
+
diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue
index e8eff584b..6f146e21a 100644
--- a/src/pages/Entry/EntryList.vue
+++ b/src/pages/Entry/EntryList.vue
@@ -74,7 +74,7 @@ onMounted(async () => {
diff --git a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue
index edfd93a2e..e36cd97b6 100644
--- a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue
+++ b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue
@@ -75,7 +75,12 @@ async function insert() {
}
- (banks = data)" />
+ (banks = data)"
+ />
-
+
{{ invoiceOut.ref }} - {{ invoiceOut.client?.socialName }}
diff --git a/src/pages/Route/Card/RouteSummary.vue b/src/pages/Route/Card/RouteSummary.vue
index df4495d3a..9801f3d28 100644
--- a/src/pages/Route/Card/RouteSummary.vue
+++ b/src/pages/Route/Card/RouteSummary.vue
@@ -132,12 +132,11 @@ const openBuscaman = async (route, ticket) => {
-
-
-
-
-
-
+
{{ `${entity?.route.id} - ${entity?.route?.description}` }}
diff --git a/src/pages/Route/Cmr/CmrList.vue b/src/pages/Route/Cmr/CmrList.vue
index dc5602c1c..eb1901ab8 100644
--- a/src/pages/Route/Cmr/CmrList.vue
+++ b/src/pages/Route/Cmr/CmrList.vue
@@ -91,6 +91,24 @@ function downloadPdfs() {
}
+
+
+
+
+
+
+ {{ t('globals.collapseMenu') }}
+
+
+
+
+
{
- bankEntitiesOptions.value.push(data);
+const onBankEntityCreated = async (dataSaved, rowData) => {
+ await bankEntitiesRef.value.fetch();
+ rowData.bankEntityFk = dataSaved.id;
};
const onChangesSaved = () => {
@@ -63,6 +66,7 @@ onMounted(() => {
(bankEntitiesOptions = data)"
auto-load
@@ -114,13 +118,16 @@ onMounted(() => {
:label="t('worker.create.bankEntity')"
v-model="row.bankEntityFk"
:options="bankEntitiesOptions"
- option-label="name"
+ option-label="bic"
option-value="id"
hide-selected
>
+ onBankEntityCreated(requestResponse, row)
+ "
:show-entity-field="false"
/>
diff --git a/src/pages/Supplier/Card/SupplierAddresses.vue b/src/pages/Supplier/Card/SupplierAddresses.vue
index c6b08075f..735b50625 100644
--- a/src/pages/Supplier/Card/SupplierAddresses.vue
+++ b/src/pages/Supplier/Card/SupplierAddresses.vue
@@ -83,8 +83,13 @@ const redirectToUpdateView = (addressData) => {
- {{ t('supplier.list.newSupplier') }}
+ {{ t('New address') }}
+
+
+es:
+ New address: Nueva dirección
+
diff --git a/src/pages/Supplier/Card/SupplierBasicData.vue b/src/pages/Supplier/Card/SupplierBasicData.vue
index bc50deb9b..01741dd77 100644
--- a/src/pages/Supplier/Card/SupplierBasicData.vue
+++ b/src/pages/Supplier/Card/SupplierBasicData.vue
@@ -26,6 +26,7 @@ const workersOptions = ref([]);
:url-update="`Suppliers/${route.params.id}`"
model="supplier"
auto-load
+ :clear-store-on-unmount="false"
>
diff --git a/src/pages/Supplier/Card/SupplierBillingData.vue b/src/pages/Supplier/Card/SupplierBillingData.vue
index bf5ccb115..26b6e5461 100644
--- a/src/pages/Supplier/Card/SupplierBillingData.vue
+++ b/src/pages/Supplier/Card/SupplierBillingData.vue
@@ -33,6 +33,7 @@ const formatPayDems = (data) => {
:url-update="`Suppliers/${route.params.id}`"
model="supplier"
auto-load
+ :clear-store-on-unmount="false"
>
diff --git a/src/pages/Supplier/Card/SupplierContacts.vue b/src/pages/Supplier/Card/SupplierContacts.vue
index d69b74a4c..3abe5a9cc 100644
--- a/src/pages/Supplier/Card/SupplierContacts.vue
+++ b/src/pages/Supplier/Card/SupplierContacts.vue
@@ -1,5 +1,5 @@
+
+
+ (deviceProductionsOptions = data)"
+ />
+ setCurrentPDA(data[0])"
+ />
+
+ setCurrentPDA(data)"
+ >
+
+
+
+
+ {{ currentPDA.description }}
+
+
+
+
+
+ {{ t('worker.pda.removePDA') }}
+
+
+
+
+
+
+
+
+
+ ID: {{ scope.opt?.id }}
+
+ {{ scope.opt?.modelFk }},
+ {{ scope.opt?.serialNumber }}
+
+
+
+
+
+
+
+
+
+
+
+es:
+ PDA deallocated: PDA desasignada
+
diff --git a/src/router/modules/Supplier.js b/src/router/modules/Supplier.js
index d341ddc25..379a2c2c2 100644
--- a/src/router/modules/Supplier.js
+++ b/src/router/modules/Supplier.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'suppliers',
icon: 'vn:supplier',
+ moduleName: 'Supplier',
},
component: RouterView,
redirect: { name: 'SupplierMain' },
diff --git a/src/router/modules/claim.js b/src/router/modules/claim.js
index 67313cd44..65c714418 100644
--- a/src/router/modules/claim.js
+++ b/src/router/modules/claim.js
@@ -6,15 +6,15 @@ export default {
meta: {
title: 'claims',
icon: 'vn:claims',
+ moduleName: 'Claim',
},
component: RouterView,
redirect: { name: 'ClaimMain' },
menus: {
- main: ['ClaimList', 'ClaimRmaList'],
+ main: ['ClaimList'],
card: [
'ClaimBasicData',
'ClaimLines',
- 'ClaimRma',
'ClaimPhotos',
'ClaimNotes',
'ClaimDevelopment',
@@ -38,16 +38,6 @@ export default {
},
component: () => import('src/pages/Claim/ClaimList.vue'),
},
- {
- name: 'ClaimRmaList',
- path: 'rma',
- meta: {
- title: 'rmaList',
- icon: 'vn:barcode',
- roles: ['claimManager'],
- },
- component: () => import('src/pages/Claim/ClaimRmaList.vue'),
- },
],
},
{
@@ -84,16 +74,6 @@ export default {
},
component: () => import('src/pages/Claim/Card/ClaimLines.vue'),
},
- {
- name: 'ClaimRma',
- path: 'rma',
- meta: {
- title: 'rma',
- icon: 'vn:barcode',
- roles: ['claimManager'],
- },
- component: () => import('src/pages/Claim/Card/ClaimRma.vue'),
- },
{
name: 'ClaimPhotos',
path: 'photos',
diff --git a/src/router/modules/customer.js b/src/router/modules/customer.js
index 716b0fa6c..75188bd32 100644
--- a/src/router/modules/customer.js
+++ b/src/router/modules/customer.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'customers',
icon: 'vn:client',
+ moduleName: 'Customer',
},
component: RouterView,
redirect: { name: 'CustomerMain' },
diff --git a/src/router/modules/entry.js b/src/router/modules/entry.js
index 2f6c8cb4c..50a651af5 100644
--- a/src/router/modules/entry.js
+++ b/src/router/modules/entry.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'entries',
icon: 'vn:entry',
+ moduleName: 'Entry',
},
component: RouterView,
redirect: { name: 'EntryMain' },
diff --git a/src/router/modules/invoiceIn.js b/src/router/modules/invoiceIn.js
index 01ed37036..869a3555a 100644
--- a/src/router/modules/invoiceIn.js
+++ b/src/router/modules/invoiceIn.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'invoiceIns',
icon: 'vn:invoice-in',
+ moduleName: 'InvoiceIn',
},
component: RouterView,
redirect: { name: 'InvoiceInMain' },
diff --git a/src/router/modules/invoiceOut.js b/src/router/modules/invoiceOut.js
index 084cf6ac3..386e04ed8 100644
--- a/src/router/modules/invoiceOut.js
+++ b/src/router/modules/invoiceOut.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'invoiceOuts',
icon: 'vn:invoice-out',
+ moduleName: 'InvoiceOut',
},
component: RouterView,
redirect: { name: 'InvoiceOutMain' },
diff --git a/src/router/modules/order.js b/src/router/modules/order.js
index 4599394cd..16d73281b 100644
--- a/src/router/modules/order.js
+++ b/src/router/modules/order.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'order',
icon: 'vn:basket',
+ moduleName: 'Order',
},
component: RouterView,
redirect: { name: 'OrderMain' },
diff --git a/src/router/modules/route.js b/src/router/modules/route.js
index 614345913..fad991fc6 100644
--- a/src/router/modules/route.js
+++ b/src/router/modules/route.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'routes',
icon: 'vn:delivery',
+ moduleName: 'Route',
},
component: RouterView,
redirect: { name: 'RouteMain' },
diff --git a/src/router/modules/shelving.js b/src/router/modules/shelving.js
index 494f286c3..d32c7d9f3 100644
--- a/src/router/modules/shelving.js
+++ b/src/router/modules/shelving.js
@@ -1,17 +1,18 @@
-import {RouterView} from "vue-router";
+import { RouterView } from 'vue-router';
export default {
path: '/shelving',
name: 'Shelving',
meta: {
title: 'shelving',
- icon: 'vn:inventory'
+ icon: 'vn:inventory',
+ moduleName: 'Shelving',
},
component: RouterView,
redirect: { name: 'ShelvingMain' },
menus: {
main: ['ShelvingList'],
- card: ['ShelvingBasicData', 'ShelvingLog']
+ card: ['ShelvingBasicData', 'ShelvingLog'],
},
children: [
{
@@ -51,8 +52,7 @@ export default {
meta: {
title: 'summary',
},
- component: () =>
- import('pages/Shelving/Card/ShelvingSummary.vue'),
+ component: () => import('pages/Shelving/Card/ShelvingSummary.vue'),
},
{
name: 'ShelvingBasicData',
@@ -75,6 +75,5 @@ export default {
},
],
},
- ]
+ ],
};
-
diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js
index 6c3a20216..d8d156760 100644
--- a/src/router/modules/ticket.js
+++ b/src/router/modules/ticket.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'tickets',
icon: 'vn:ticket',
+ moduleName: 'Ticket',
},
component: RouterView,
redirect: { name: 'TicketMain' },
diff --git a/src/router/modules/travel.js b/src/router/modules/travel.js
index 792b393e4..2f1e2150e 100644
--- a/src/router/modules/travel.js
+++ b/src/router/modules/travel.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'travel',
icon: 'local_airport',
+ moduleName: 'Travel',
},
component: RouterView,
redirect: { name: 'TravelMain' },
diff --git a/src/router/modules/wagon.js b/src/router/modules/wagon.js
index 238e482dd..6f9a4c819 100644
--- a/src/router/modules/wagon.js
+++ b/src/router/modules/wagon.js
@@ -6,6 +6,7 @@ export default {
meta: {
title: 'wagons',
icon: 'vn:trolley',
+ moduleName: 'Wagon',
},
component: RouterView,
redirect: { name: 'WagonMain' },
diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js
index 27a6f19a9..1c722afe8 100644
--- a/src/router/modules/worker.js
+++ b/src/router/modules/worker.js
@@ -6,12 +6,13 @@ export default {
meta: {
title: 'workers',
icon: 'vn:worker',
+ moduleName: 'Worker',
},
component: RouterView,
redirect: { name: 'WorkerMain' },
menus: {
main: ['WorkerList', 'WorkerDepartment'],
- card: ['WorkerNotificationsManager'],
+ card: ['WorkerNotificationsManager', 'WorkerPda'],
departmentCard: ['BasicData'],
},
children: [
@@ -75,6 +76,15 @@ export default {
component: () =>
import('src/pages/Worker/Card/WorkerNotificationsManager.vue'),
},
+ {
+ name: 'WorkerPda',
+ path: 'pda',
+ meta: {
+ title: 'pda',
+ icon: 'phone_android',
+ },
+ component: () => import('src/pages/Worker/Card/WorkerPda.vue'),
+ },
],
},
],