Fix Calc in Banking Index

Show Document Ref instead of Partner Ref
This commit is contained in:
2025-04-14 15:11:18 +02:00
parent 7750415e9a
commit dd10760da1
2 changed files with 4 additions and 4 deletions

View File

@@ -523,7 +523,7 @@ const archiveStatement = async () => {
>
<template #header>
<div class="flex flex-row justify-between">
<span>{{vendors.find(i => i.id === item.ii_id.vendor).vendorNumber}} - {{vendors.find(i => i.id === item.ii_id.vendor).name}}</span>
<span>{{item.ii_id.reference}} - {{vendors.find(i => i.id === item.ii_id.vendor).name}}</span>
<span class="font-semibold text-nowrap">{{displayCurrency(item.amount)}}</span>
</div>
</template>
@@ -543,7 +543,7 @@ const archiveStatement = async () => {
>
<template #header>
<div class="flex flex-row justify-between">
<span v-if="customers.find(i => i.id === item.cd_id.customer)">{{customers.find(i => i.id === item.cd_id.customer).customerNumber}} - {{customers.find(i => i.id === item.cd_id.customer).name}}</span>
<span v-if="customers.find(i => i.id === item.cd_id.customer)">{{item.cd_id.customer.documentNumber}} - {{customers.find(i => i.id === item.cd_id.customer).name}}</span>
<span class="font-semibold text-nowrap">{{displayCurrency(item.amount)}}</span>
</div>
</template>