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

OBPIH-5216 Add missing translations to EXPIRING stock raport #3750

Merged
merged 2 commits into from
Jan 3, 2023

Conversation

kchelstowski
Copy link
Collaborator

No description provided.

@@ -171,7 +171,7 @@
${quantityMap[inventoryItem]}
</td>
<td class="checkable center" >
${inventoryItem?.product?.unitOfMeasure?:"EA" }
<g:message code="default.uom.${inventoryItem?.product?.unitOfMeasure?.toLowerCase()}.uppercase.label" default="EA"/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not sure that this is how we want to translate unit of measure variables.
We still have yet to discuss the best approach for this on one of the upcoming tech huddles.
We also have an open ticket for UOM translations OBPIH-5187

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thanks for pointing that out, I haven't known about this ticket before. So I'm gonna revert this change for now, and it will be covered later.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for catching that @drodzewicz. As I mentioned in a PR earlier today we should never have a label for uppercase vs lowercase. We can wrap these values with StringUtils.lowerCase() vs StringUtils.upperCase() or StringUtils.capitalize().

@jmiranda jmiranda merged commit 3af3687 into develop Jan 3, 2023
@jmiranda jmiranda deleted the OBPIH-5216 branch January 3, 2023 21:27
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.

None yet

3 participants