Commit b38143ce authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 9b77745f
......@@ -143,10 +143,10 @@ async function run() {
}
arrDate = _.orderBy(arrDate, ['sum'])
balance=lastBalance
for (let i = 0; i < dates.length; i++) {
balance = balance + dates[i].profit
dates[i].balance = balance
}
// for (let i = 0; i < dates.length; i++) {
// balance = balance + dates[i].profit
// dates[i].balance = balance
// }
// console.log(arr)
// console.log('Balance ->',balance)
// console.log('Worth ->',arrNew[0])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment