0
0
Fork 0

Merge branch 'feature/TicketBasicData' of https://gitea.verdnatura.es/hyervoni/salix-front-mindshore into feature/TicketBasicData

This commit is contained in:
Javier Segarra 2024-06-25 13:35:49 +02:00
commit 0816105e5f
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ const totalNewPrice = computed(() => {
});
const totalDifference = computed(() => {
return rows.value.reduce((acc, item) => acc + item.component.difference, 0);
return rows.value.reduce((acc, item) => acc + item.component?.difference || 0, 0);
});
const showMovablecolumn = computed(() => (haveDifferences.value > 0 ? ['movable'] : []));
const haveDifferences = computed(() => _ticketData.value.sale.haveDifferences);