diff --git a/src/pages/Entry/Card/EntryBuys.vue b/src/pages/Entry/Card/EntryBuys.vue
index 679afff1b..64793eb70 100644
--- a/src/pages/Entry/Card/EntryBuys.vue
+++ b/src/pages/Entry/Card/EntryBuys.vue
@@ -43,7 +43,7 @@ const tableColumnComponents = computed(() => ({
item: {
component: QBtn,
props: {
- color: 'blue',
+ color: 'primary',
flat: true,
},
event: () => ({}),
@@ -54,6 +54,7 @@ const tableColumnComponents = computed(() => ({
type: 'number',
min: 0,
class: 'input-number',
+ dense: true,
},
event: getInputEvents,
},
@@ -67,6 +68,7 @@ const tableColumnComponents = computed(() => ({
'use-input': true,
'hide-selected': true,
options: packagingsOptions.value,
+ dense: true,
},
event: getInputEvents,
},
@@ -76,6 +78,7 @@ const tableColumnComponents = computed(() => ({
type: 'number',
min: 0,
class: 'input-number',
+ dense: true,
},
event: getInputEvents,
},
@@ -84,6 +87,7 @@ const tableColumnComponents = computed(() => ({
props: {
type: 'number',
min: 0,
+ dense: true,
},
event: getInputEvents,
},
@@ -92,6 +96,7 @@ const tableColumnComponents = computed(() => ({
props: {
type: 'number',
min: 0,
+ dense: true,
},
event: getInputEvents,
},
@@ -100,6 +105,7 @@ const tableColumnComponents = computed(() => ({
props: {
type: 'number',
min: 0,
+ dense: true,
},
event: getInputEvents,
},
@@ -108,6 +114,7 @@ const tableColumnComponents = computed(() => ({
props: {
type: 'number',
min: 0,
+ dense: true,
},
event: getInputEvents,
},
@@ -116,6 +123,7 @@ const tableColumnComponents = computed(() => ({
props: {
type: 'number',
min: 0,
+ dense: true,
},
event: getInputEvents,
},
@@ -124,6 +132,7 @@ const tableColumnComponents = computed(() => ({
props: {
type: 'number',
min: 0,
+ dense: true,
},
event: getInputEvents,
},
@@ -320,17 +329,21 @@ const showLockIcon = (groupingMode, mode) => {
:columns="entriesTableColumns"
selection="multiple"
row-key="id"
- hide-bottom
class="full-width q-mt-md"
:grid="$q.screen.lt.md"
v-model:selected="rowsSelected"
+ :no-results-label="t('No results')"
>
-
+
{
showLockIcon(props.row.groupingMode, col.name)
"
@click="toggleGroupingMode(props.row, col.name)"
- class="cursor-pointer"
+ class="cursor-pointer test"
size="sm"
flat
dense
@@ -397,7 +410,7 @@ const showLockIcon = (groupingMode, mode) => {
-
+
@@ -464,4 +477,5 @@ es:
Confirm deletion: Confirmar eliminación
Are you sure you want to delete this buy?: Seguro que quieres eliminar esta compra?
Are you sure you want to delete this buys?: Seguro que quieres eliminar estas compras?
+ No results: Sin resultados
diff --git a/src/pages/Entry/Card/EntryDescriptor.vue b/src/pages/Entry/Card/EntryDescriptor.vue
index 6d166c431..d1df63c3b 100644
--- a/src/pages/Entry/Card/EntryDescriptor.vue
+++ b/src/pages/Entry/Card/EntryDescriptor.vue
@@ -7,6 +7,7 @@ import CardDescriptor from 'components/ui/CardDescriptor.vue';
import VnLv from 'src/components/ui/VnLv.vue';
import useCardDescription from 'src/composables/useCardDescription';
+import { useState } from 'src/composables/useState';
import { toDate } from 'src/filters';
import { usePrintService } from 'composables/usePrintService';
@@ -25,6 +26,7 @@ const $props = defineProps({
const route = useRoute();
const { t } = useI18n();
const { openReport } = usePrintService();
+const state = useState();
const entryFilter = {
include: [
@@ -71,6 +73,8 @@ const data = ref(useCardDescription());
const setData = (entity) =>
(data.value = useCardDescription(entity.supplier.nickname, entity.id));
+const currentEntry = computed(() => state.get('entry'));
+
const getEntryRedirectionFilter = (entry) => {
let entryTravel = entry && entry.travel;
@@ -126,17 +130,17 @@ const showEntryReport = () => {
:value="entity.travel?.warehouseOut?.name"
/>
-
+
{{ t('Inventory entry') }}
-
+
{{ t('Virtual entry') }}
diff --git a/src/pages/Entry/EntryLatestBuys.vue b/src/pages/Entry/EntryLatestBuys.vue
index f4a423f3b..6b2cb47ab 100644
--- a/src/pages/Entry/EntryLatestBuys.vue
+++ b/src/pages/Entry/EntryLatestBuys.vue
@@ -288,7 +288,7 @@ onMounted(async () => {
-
+
{{ row.itemFk }}
@@ -300,7 +300,7 @@ onMounted(async () => {
-
+
{{ row.entryFk }}