Merge pull request 'fix: P&L percentage line understates tax cost when taxDue > 0 (#504)' (#505) from fix/issue-504 into master
This commit is contained in:
commit
1302feef82
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ const grossReturn = computed(() => {
|
|||
|
||||
const taxCostPercent = computed(() => {
|
||||
try {
|
||||
const taxPaid = BigInt(props.position.taxPaid);
|
||||
const taxPaid = props.position.taxPaid + taxDue.value;
|
||||
const deposit = BigInt(props.position.harbDeposit);
|
||||
|
||||
if (deposit === 0n) return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue