fix: Misleading 'Tax Paid' label — value includes unpaid tax due (#374)

taxPaidGes = taxDue + taxPaid, so the displayed value includes both
outstanding tax and historically paid tax. Rename the UI label from
'Tax Paid' to 'Tax Cost' to accurately reflect the combined amount.
Update the matching E2E test selector accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-06 11:51:45 +00:00
parent 98dac2f67e
commit 18a2d4138e
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@
</div>
<div v-if="!error || taxPaidGes !== undefined" class="profit-stats-wrapper">
<div class="profit-stats-item">
<div><b>Tax Paid</b></div>
<div><b>Tax Cost</b></div>
<div>{{ taxPaidGes !== undefined ? formatTokenAmount(taxPaidGes) : '...' }} $KRK</div>
</div>
<div class="profit-stats-item">