diff --git a/src/pages/Claim/Card/ClaimRma.vue b/src/pages/Claim/Card/ClaimRma.vue
deleted file mode 100644
index bba901d7b..000000000
--- a/src/pages/Claim/Card/ClaimRma.vue
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ t('claim.rma.user') }}
-
-
- {{ row?.worker?.user?.name }}
-
-
-
-
-
-
- {{ t('claim.rma.created') }}
-
-
- {{
- toDate(row.created, {
- timeStyle: 'medium',
- })
- }}
-
-
-
-
-
-
-
- {{ t('globals.remove') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-es:
- This claim is not associated to any RMA: Esta reclamación no está asociada a ninguna ARM
-
diff --git a/src/pages/Claim/ClaimRmaList.vue b/src/pages/Claim/ClaimRmaList.vue
deleted file mode 100644
index b906e32fa..000000000
--- a/src/pages/Claim/ClaimRmaList.vue
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ arrayData.totalRows }} {{ t('claim.rmaList.records') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{
- t('claim.rmaList.code')
- }}
- {{ row.code }}
-
-
-
-
-
-
- {{ t('globals.remove') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/pages/Entry/EntryLatestBuys.vue b/src/pages/Entry/EntryLatestBuys.vue
index 09a6a2f27..217a25870 100644
--- a/src/pages/Entry/EntryLatestBuys.vue
+++ b/src/pages/Entry/EntryLatestBuys.vue
@@ -1,5 +1,5 @@
(rows = data)"
+ url="ItemTypes"
+ :filter="{ fields: ['code'], order: 'code ASC', limit: 30 }"
auto-load
+ @on-fetch="(data) => (itemTypesOptions = data)"
+ />
+ (originsOptions = data)"
+ />
+ (itemFamiliesOptions = data)"
+ />
+ (packagingsOptions = data)"
+ />
+ (intrastatOptions = data)"
/>
@@ -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/router/modules/claim.js b/src/router/modules/claim.js
index 67313cd44..0aa26cadf 100644
--- a/src/router/modules/claim.js
+++ b/src/router/modules/claim.js
@@ -10,11 +10,10 @@ export default {
component: RouterView,
redirect: { name: 'ClaimMain' },
menus: {
- main: ['ClaimList', 'ClaimRmaList'],
+ main: ['ClaimList'],
card: [
'ClaimBasicData',
'ClaimLines',
- 'ClaimRma',
'ClaimPhotos',
'ClaimNotes',
'ClaimDevelopment',
@@ -38,16 +37,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 +73,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',