diff --git a/index.html b/index.html index 17306d2..2e532b6 100644 --- a/index.html +++ b/index.html @@ -10163,7 +10163,7 @@ Bitcoin.Util = { fundBlock.querySelector('.end-date').textContent = endDate fundBlock.querySelector('.base-usd').textContent = `₹${baseUsd}` fundBlock.querySelector('.base-btc').textContent = `$${baseBtc}` - fundBlock.querySelector('.total-investment').textContent = `$${totalInvestment}` + fundBlock.querySelector('.total-investment').textContent = `₹${totalInvestment}` const tapoutsFrag = document.createDocumentFragment() for(tapout in tapouts){ @@ -10760,7 +10760,6 @@ Bitcoin.Util = { endDate: dateFormat(dateAdder(startDate, term["maxPeriod"])), baseUsd: f.USD_base, baseBtc: f.BTC_base, - totalInvestment: f.totalInvestment, tapouts, } @@ -10775,11 +10774,8 @@ Bitcoin.Util = { smOption.setAttribute('value', funds[k][0].txid) fundsFrag.append(smOption) - const fundBlock = render.fundBlock(fundObj).firstElementChild - const fundList = fundBlock.querySelector('.investors-group-list') - const investorsFrag = document.createDocumentFragment() - + let total_invested = total_net = 0; for (let i in f.amounts) { const investorGroup = document.createElement('li') investorGroup.classList.add('investor-group') @@ -10788,8 +10784,7 @@ Bitcoin.Util = { See transaction