Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: blocktower write off logic #39

Merged
merged 6 commits into from
Nov 22, 2023
Merged

fix: blocktower write off logic #39

merged 6 commits into from
Nov 22, 2023

Conversation

jpangelle
Copy link
Contributor

@jpangelle jpangelle commented Nov 22, 2023

Description

This pull request fixes issues with Blocktower pool write off logic.

Approvals

  • Dev
  • Product

Screenshots

image

Impact

Asset list and asset page

@jpangelle jpangelle requested review from AStox and annamehr November 22, 2023 00:38
@jpangelle jpangelle force-pushed the fix-blocktower-write-off branch 3 times, most recently from 77d081c to b5d3bc2 Compare November 22, 2023 00:48
@jpangelle jpangelle force-pushed the fix-blocktower-write-off branch from b5d3bc2 to 629aa5c Compare November 22, 2023 00:52
Copy link

github-actions bot commented Nov 22, 2023

🚀 Deployed on https://pr-39--goerli-dev-tinlake.netlify.app

@github-actions github-actions bot temporarily deployed to pull request November 22, 2023 01:02 Inactive
Copy link

github-actions bot commented Nov 22, 2023

🚀 Deployed on https://pr-39--dev-tinlake.netlify.app

@github-actions github-actions bot temporarily deployed to pull request November 22, 2023 01:02 Inactive
Copy link

@annamehr annamehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpangelle to summarize the changes

  • Double check the amounts for total financed and total repaid
  • Add additional line Total write-off value below Total repaid in the UI
  • Write off logic should be (Total financed + interest) - Total repaid = Total write-off amount
  • this should apply to all detail pages of assets that have write-offs

@sirjared
Copy link

Now the percent write off works and it shows repaid which is good. What is missing is we can not see the value written off. It should be approx 130k. And the amount repaid seems off.

In the past when an asset has an amount written off it shows it in the outstanding section.

In order for this to correct it should be listed in the outstanding or be given its own data row in risk section where it shows write off value. Given we don't intend to make real changes tinlake the first option is fine.

@github-actions github-actions bot temporarily deployed to pull request November 22, 2023 16:02 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 22, 2023 16:19 Inactive
Copy link
Contributor

@AStox AStox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@github-actions github-actions bot temporarily deployed to pull request November 22, 2023 19:26 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 22, 2023 19:34 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 22, 2023 19:35 Inactive
@jpangelle jpangelle merged commit 391f14c into main Nov 22, 2023
8 checks passed
@jpangelle jpangelle deleted the fix-blocktower-write-off branch November 22, 2023 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants