This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial changes commit * Feature Implementation - LoanDetailsScreen displays list of all records involving records that increase and decrease total loan amount - LoanDetailsScreenState contains calculated `loanTotalAmount` - LoanRecordModal provides a selection if loan record decrease or increase loan amount. Provided loan record increase total amount, `Mark as interest` checkbox disappears. * Feature Implementation - DisplayLoan includes loanTotalAmount - LoanViewModel calculates total amount paid as well as loan total amount. - LoanScreen displays correct information about each loan. * CI pipeline fix - Tests were failing due to the missing field in backup test. Now by default `loanRecordType` in `LoanRecordEntity` has DECRESE value. This fixes the issue with the backup, and is the simplest fix. This makes sense because before this pull request all loan records were implicitly of type DECREASE. * Fix detekt errors. * Suppress detekt. Suppressed detekt errors that were forcing this pull request to make changes unrelated to scope of this issue or keeping this pull request inconsistent with the rest of the codebase. - Suppressed LongMethod for LoanInfoCard - Suppressed DataClassDefaultValues for LoanRecordEntity, since there is a few default values already, and `LoanRecordEntity.loanRecordType` default value is the easiest fix for the backup problem. - Suppressed MagicNumber and ClassNaming for Migration class to keep it consistent with the rest of migration classes. * Fix Lint issue. * Resolved part of the review requests. * Fixed detekt. * DB migration test * Add check for LoanRecordType * Fix broken test.
- Loading branch information
1 parent
b5450a3
commit f5012fb
Showing
19 changed files
with
1,226 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.