This is an automated email from the ASF dual-hosted git repository.
pawan pushed a commit to branch release17.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/release17.12 by this push:
new f45c3ce Fixed: ViewShipment in facility does not show phone details(OFBIZ-11785)
f45c3ce is described below
commit f45c3ce988df1c4e3d43d9a0716fed4921f413e6
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