This is an automated email from the ASF dual-hosted git repository.
pawan pushed a commit to branch release18.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/release18.12 by this push:
new 523a84f Fixed: ViewShipment in facility does not show phone details(OFBIZ-11785)
523a84f is described below
commit 523a84f0bd04aae225b0926ffbdbea4198bba2d4
Author: Pawan Verma <
[hidden email]>
AuthorDate: Tue Jun 2 15:33:56 2020 +0530
Fixed: ViewShipment in facility does not show phone details(OFBIZ-11785)
Thanks, Pierre for the report.
---
.../product/groovyScripts/facility/shipment/ViewShipment.groovy | 2 ++
1 file changed, 2 insertions(+)
diff --git a/applications/product/groovyScripts/facility/shipment/ViewShipment.groovy b/applications/product/groovyScripts/facility/shipment/ViewShipment.groovy
index 0573679..4084132 100644
--- a/applications/product/groovyScripts/facility/shipment/ViewShipment.groovy
+++ b/applications/product/groovyScripts/facility/shipment/ViewShipment.groovy
@@ -40,6 +40,8 @@ if (shipment) {
context.destinationFacility = shipment.getRelatedOne("DestinationFacility", false)
context.originPostalAddress = shipment.getRelatedOne("OriginPostalAddress", false)
context.destinationPostalAddress = shipment.getRelatedOne("DestinationPostalAddress", false)
+ context.originTelecomNumber = shipment.getRelatedOne("OriginTelecomNumber", false)
+ context.destinationTelecomNumber = shipment.getRelatedOne("DestinationTelecomNumber", false)
}
// check permission