diff --git a/src/components/EditTableCellValueForm.vue b/src/components/EditTableCellValueForm.vue
index 6d3b7b08b..9e48889a0 100644
--- a/src/components/EditTableCellValueForm.vue
+++ b/src/components/EditTableCellValueForm.vue
@@ -71,13 +71,9 @@ const closeForm = () => {
-
- {{
- t('editBuyTitle', {
- buysAmount: rows.length,
- })
- }}
-
+ {{ t('Edit') }}
+ {{ ` ${rows.length} ` }}
+ {{ t('buy(s)') }}
{
-
+
@@ -129,13 +125,18 @@ const closeForm = () => {
right: 20px;
cursor: pointer;
}
+
+.countLines {
+ font-size: 24px;
+ color: $primary;
+ font-weight: bold;
+}
- en:
- editBuyTitle: Edit {buysAmount} buy(s)
- es:
- editBuyTitle: Editar {buysAmount} compra(s)
- Field to edit: Campo a editar
- Value: Valor
-
+es:
+ Edit: Editar
+ buy(s): compra(s)
+ Field to edit: Campo a editar
+ Value: Valor
+
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
+