Ticket basic data #474

Merged
jsegarra merged 15 commits from :feature/TicketBasicData into dev 2024-06-25 20:28:01 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 0816105e5f - Show all commits

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);