-
-
Notifications
You must be signed in to change notification settings - Fork 392
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-5076 Add missing translation labels on stock movement #3672
OBPIH-5076 Add missing translation labels on stock movement #3672
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmiranda do we want to go with g:message
-> warehouse:message
change, or we're waiting with the g:message
investigation?
I would prefer to wait on the investigation so we don't needlessly change this all around. |
c79ef9d
to
dbef1e2
Compare
I have rolled back my changes where I changed |
grails-app/views/returns/show.gsp
Outdated
@@ -130,7 +130,12 @@ | |||
<g:message code="stockMovement.status.label"/> | |||
</td> | |||
<td class="value"> | |||
<format:metadata obj="${stockMovement?.shipment?.status?:stockMovement?.statusCode}"/> | |||
<g:if test="${stockMovement?.shipment?.status}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drodzewicz Is there a reason behind this change into if-else
? You could add the ?.code
to the first part and have the same result:
<format:metadata obj="${stockMovement?.shipment?.status?.code ?: stockMovement?.statusCode}"/>
@@ -166,7 +166,12 @@ | |||
<warehouse:message code="stockMovement.status.label"/> | |||
</td> | |||
<td class="value"> | |||
<format:metadata obj="${stockMovement?.shipment?.status?:stockMovement?.requisition?.status }"/> | |||
<g:if test="${stockMovement?.shipment?.status}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as above
dbef1e2
to
e421632
Compare
No description provided.