diff --git a/src/pages/Ticket/Card/TicketSale.vue b/src/pages/Ticket/Card/TicketSale.vue
index 215380f44..932fd9afe 100644
--- a/src/pages/Ticket/Card/TicketSale.vue
+++ b/src/pages/Ticket/Card/TicketSale.vue
@@ -507,6 +507,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
>
{{ t('ticketSale.transferLines') }}
{},
},
});
+const _transfer = ref(null);
+onMounted(() => (_transfer.value = $props.transfer));
const emit = defineEmits(['refreshData']);
const router = useRouter();
const { t } = useI18n();
const QPopupProxyRef = ref(null);
-const _transfer = ref(null);
-
const transferLinesColumns = computed(() => [
{
label: t('ticketSale.id'),
@@ -98,13 +99,11 @@ const transferSales = async (ticketId) => {
if (data && data.id === $props.ticket.id) emit('refreshData');
else router.push({ name: 'TicketSale', params: { id: data.id } });
};
-
-onMounted(() => (_transfer.value = $props.transfer));
-
-
+
+
(_transfer.value = $props.transfer));
:columns="destinationTicketColumns"
:title="t('Destination ticket')"
row-key="id"
- :pagination="{ rowsPerPage: 0 }"
class="full-width q-mt-md"
:no-data-label="t('globals.noResults')"
+ :pagination="{ rowsPerPage: 0 }"
+ @row-click="(_, row) => transferSales(row.id)"
>
@@ -158,35 +158,21 @@ onMounted(() => (_transfer.value = $props.transfer));
+
+
+
-
-
-
-
-
-
-
-
+
-
+
es:
Sales to transfer: Líneas a transferir
diff --git a/src/pages/Ticket/Card/TicketTransferForm.vue b/src/pages/Ticket/Card/TicketTransferForm.vue
new file mode 100644
index 000000000..db46bbcf6
--- /dev/null
+++ b/src/pages/Ticket/Card/TicketTransferForm.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+es:
+ Sales to transfer: Líneas a transferir
+ Destination ticket: Ticket destinatario
+ Transfer to ticket: Transferir a ticket
+ New ticket: Nuevo ticket
+
diff --git a/src/pages/Ticket/Negative/TicketLackDetail.vue b/src/pages/Ticket/Negative/TicketLackDetail.vue
index a21ad1a57..b0bdec17e 100644
--- a/src/pages/Ticket/Negative/TicketLackDetail.vue
+++ b/src/pages/Ticket/Negative/TicketLackDetail.vue
@@ -247,8 +247,10 @@ function freeFirst({ alertLevel: a }, { alertLevel: b }) {
}
const { store } = useArrayData(URL_KEY);
const handleRows = (rows) => {
+ rows.forEach((row) => (row.concept = item.value.name));
+ rows = rows.sort(freeFirst);
if (showFree.value) return rows.filter(({ alertLevel }) => alertLevel === 0);
- return rows.sort(freeFirst);
+ return rows;
};
const itemProposalEvt = ({ itemProposal }) => {
@@ -364,9 +366,15 @@ const replaceItem = () => {
{{ t('globals.split') }}
-->
-
+
{{ t('ticketSale.transferLines') }}
- row.ticketFk),
+ }"
+ >