diff --git a/src/pages/Ticket/Card/BasicData/TicketBasicData.vue b/src/pages/Ticket/Card/BasicData/TicketBasicData.vue new file mode 100644 index 000000000..61337a3c9 --- /dev/null +++ b/src/pages/Ticket/Card/BasicData/TicketBasicData.vue @@ -0,0 +1,263 @@ + + + + (ticketUpdateActions = data)" + auto-load + /> + + + + + + {{ t('basicData.total') }} + + + + + {{ t('basicData.price') }}: + {{ toCurrency(totalPrice) }} + + + + + {{ t('basicData.newPrice') }}: {{ toCurrency(totalNewPrice) }} + + + + + {{ t('basicData.difference') }}: {{ toCurrency(totalDifference) }} + + + + + + + {{ t('basicData.chargeDifference') }} + + + + + + + + + + + + {{ t('basicData.withoutNegativesInfo') }} + + + + + + + + + + + {{ row.itemFk }} + + + + + + + + {{ row.item.name }} + {{ row.item.subName }} + + + + + + + + + + + diff --git a/src/pages/Ticket/Card/BasicData/TicketBasicDataView.vue b/src/pages/Ticket/Card/BasicData/TicketBasicDataView.vue index af47761a2..a88e5e6d6 100644 --- a/src/pages/Ticket/Card/BasicData/TicketBasicDataView.vue +++ b/src/pages/Ticket/Card/BasicData/TicketBasicDataView.vue @@ -3,7 +3,7 @@ import { ref, onBeforeMount } from 'vue'; import { useI18n } from 'vue-i18n'; import { useRoute, useRouter } from 'vue-router'; -import BasicDataTable from './BasicDataTable.vue'; +import TicketBasicData from './TicketBasicData.vue'; import TicketBasicDataForm from './TicketBasicDataForm.vue'; import { useVnConfirm } from 'composables/useVnConfirm'; @@ -168,7 +168,7 @@ onBeforeMount(async () => await getTicketData()); /> - (formData = $event)"