Skip to content

OBPIH-6035 New triangle icons for adjustments in stock history#4469

Merged
awalkowiak merged 3 commits intofeature/upgrade-to-grails-3.3.10from
OBPIH-6035
Jan 26, 2024
Merged

OBPIH-6035 New triangle icons for adjustments in stock history#4469
awalkowiak merged 3 commits intofeature/upgrade-to-grails-3.3.10from
OBPIH-6035

Conversation

@alannadolny
Copy link
Collaborator

No description provided.

}

Boolean isAdjustment() {
compareName("Adjustment")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's move "Adjustment" to the const, and please add a comment here why it's determined like that.

return name.split(regex)[0] == transactionTypeName.split(regex)[0]
}

// Checking whether the transaction type is adjustment for displaying the appropriate icon on the stock history page
Copy link
Collaborator

Choose a reason for hiding this comment

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

@alannadolny I meant rather to put a comment here "why it's determined by doing compareName(Constants.ADJUSTMENT)", not "for what it is used"

@awalkowiak awalkowiak merged commit dfb9bea into feature/upgrade-to-grails-3.3.10 Jan 26, 2024
@awalkowiak awalkowiak deleted the OBPIH-6035 branch January 26, 2024 17:07
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