📄 viewshipmentrouteinfo.ftl
字号:
<#--
* Copyright (c) 2003 The Open For Business Project - www.ofbiz.org
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*@author Andy Zeneski (jaz@ofbiz.org)
*@author David E. Jones (jonesde@ofbiz.org)
*@author Catherine.Heintz@nereide.biz (migration to UiLabel)
*@version $Revision: 1.2 $
*@since 3.0
-->
<#assign uiLabelMap = requestAttributes.uiLabelMap>
<#if shipmentRouteSegmentDatas?has_content>
<table width="100%" cellspacing="0" cellpadding="2" border="1">
<tr>
<td><div class="tableheadtext">${uiLabelMap.ProductSegment}</div></td>
<td>
<div class="tableheadtext">${uiLabelMap.ProductCarrierShipmentMethod}</div>
<div class="tableheadtext">${uiLabelMap.ProductOriginDestinationFacility}</div>
<div class="tableheadtext">${uiLabelMap.ProductOriginDestinationAddressId}</div>
<div class="tableheadtext">${uiLabelMap.ProductOriginDestinationPhoneId}</div>
</td>
<td>
<div class="tableheadtext">${uiLabelMap.ProductCarrierStatus}</div>
<div class="tableheadtext">${uiLabelMap.ProductTrackingNumber}</div>
<div class="tableheadtext">${uiLabelMap.ProductEstimatedStartArrive}</div>
<div class="tableheadtext">${uiLabelMap.ProductActualStartArrive}</div>
</td>
<td>
<div class="tableheadtext">${uiLabelMap.ProductBillingWeightUom}</div>
<div class="tableheadtext">${uiLabelMap.ProductCurrencyUom}</div>
<div class="tableheadtext">${uiLabelMap.ProductActualTransport}</div>
<div class="tableheadtext">${uiLabelMap.ProductActualServices}</div>
<div class="tableheadtext">${uiLabelMap.ProductActualOther}</div>
<div class="tableheadtext">${uiLabelMap.ProductActualTotal}</div>
</td>
</tr>
<#list shipmentRouteSegmentDatas as shipmentRouteSegmentData>
<#assign shipmentRouteSegment = shipmentRouteSegmentData.shipmentRouteSegment>
<#assign shipmentPackageRouteSegs = shipmentRouteSegmentData.shipmentPackageRouteSegs?if_exists>
<#assign originFacility = shipmentRouteSegmentData.originFacility?if_exists>
<#assign destFacility = shipmentRouteSegmentData.destFacility?if_exists>
<#assign shipmentMethodType = shipmentRouteSegmentData.shipmentMethodType?if_exists>
<#assign carrierPerson = shipmentRouteSegmentData.carrierPerson?if_exists>
<#assign carrierPartyGroup = shipmentRouteSegmentData.carrierPartyGroup?if_exists>
<#assign originPostalAddress = shipmentRouteSegmentData.originPostalAddress?if_exists>
<#assign destPostalAddress = shipmentRouteSegmentData.destPostalAddress?if_exists>
<#assign originTelecomNumber = shipmentRouteSegmentData.originTelecomNumber?if_exists>
<#assign destTelecomNumber = shipmentRouteSegmentData.destTelecomNumber?if_exists>
<#assign carrierServiceStatusItem = shipmentRouteSegmentData.carrierServiceStatusItem?if_exists>
<#assign currencyUom = shipmentRouteSegmentData.currencyUom?if_exists>
<#assign billingWeightUom = shipmentRouteSegmentData.billingWeightUom?if_exists>
<#assign carrierServiceStatusValidChangeToDetails = shipmentRouteSegmentData.carrierServiceStatusValidChangeToDetails?if_exists>
<tr>
<td><div class="tabletext">${shipmentRouteSegment.shipmentRouteSegmentId}</div></td>
<td>
<span class="tabletext">${(carrierPerson.firstName)?if_exists} ${(carrierPerson.middleName)?if_exists} ${(carrierPerson.lastName)?if_exists} ${(carrierPartyGroup.groupName)?if_exists} [${shipmentRouteSegment.carrierPartyId?if_exists}]</span>
<span class="tabletext">${shipmentMethodType.description?default(shipmentRouteSegment.shipmentMethodTypeId?if_exists)}</span>
<br/>
<span class="tabletext">${uiLabelMap.ProductOrigin} : ${(originFacility.facilityName)?if_exists} [${originFacility.facilityId?if_exists}]</span>
<span class="tabletext">${uiLabelMap.ProductDest} : ${(destFacility.facilityName)?if_exists} [${destFacility.facilityId?if_exists}]</span>
<br/>
<div class="tabletext">
${uiLabelMap.ProductOrigin} : <b>${shipmentRouteSegment.originContactMechId?if_exists}</b>
<#if originPostalAddress?has_content>[${uiLabelMap.CommonTo} : ${originPostalAddress.toName?if_exists}, ${uiLabelMap.CommonAttn} : ${originPostalAddress.attnName?if_exists}, ${originPostalAddress.address1?if_exists}, ${originPostalAddress.address2?if_exists}, ${originPostalAddress.city?if_exists}, ${originPostalAddress.stateProvinceGeoId?if_exists}, ${originPostalAddress.postalCode?if_exists}, ${originPostalAddress.countryGeoId?if_exists}]</#if>
</div>
<div class="tabletext">
${uiLabelMap.ProductDest}: <b>${shipmentRouteSegment.destContactMechId?if_exists}</b>
<#if destPostalAddress?has_content>[${uiLabelMap.CommonTo} : ${destPostalAddress.toName?if_exists}, ${uiLabelMap.CommonAttn} : ${destPostalAddress.attnName?if_exists}, ${destPostalAddress.address1?if_exists}, ${destPostalAddress.address2?if_exists}, ${destPostalAddress.city?if_exists}, ${destPostalAddress.stateProvinceGeoId?if_exists}, ${destPostalAddress.postalCode?if_exists}, ${destPostalAddress.countryGeoId?if_exists}]</#if>
</div>
<div class="tabletext">
${uiLabelMap.ProductOrigin} : <b>${shipmentRouteSegment.originTelecomNumberId?if_exists}</b>
<#if originTelecomNumber?has_content>[${originTelecomNumber.countryCode?if_exists} ${originTelecomNumber.areaCode?if_exists} ${originTelecomNumber.contactNumber?if_exists}]</#if>
</div>
<div class="tabletext">
${uiLabelMap.ProductDest} : <b>${shipmentRouteSegment.destTelecomNumberId?if_exists}</b>
<#if destTelecomNumber?has_content>[${destTelecomNumber.countryCode?if_exists} ${destTelecomNumber.areaCode?if_exists} ${destTelecomNumber.contactNumber?if_exists}]</#if>
</div>
</td>
<td>
<div class="tabletext">${(carrierServiceStatus.description)?default(" ")}</div>
<div class="tabletext">${shipmentRouteSegment.trackingIdNumber?default(" ")}</div>
<div class="tabletext">[${(shipmentRouteSegment.estimatedStartDate.toString())?if_exists} - ${(shipmentRouteSegment.estimatedArrivalDate.toString())?if_exists}]</span>
<div class="tabletext">[${(shipmentRouteSegment.actualStartDate.toString())?if_exists} - ${(shipmentRouteSegment.actualArrivalDate.toString())?if_exists}]</span>
</td>
<td>
<div class="tabletext">${shipmentRouteSegment.billingWeight?if_exists} ${(billingWeightUom.description)?if_exists} [${(billingWeightUom.abbreviation)?if_exists}]</div>
<div class="tabletext">${(currencyUom.description)?default(" ")}</div>
<div class="tabletext">${(shipmentRouteSegment.actualTransportCost?string.currency)?default(" ")}</div>
<div class="tabletext">${(shipmentRouteSegment.actualServiceCost?string.currency)?default(" ")}</div>
<div class="tabletext">${(shipmentRouteSegment.actualOtherCost?string.currency)?default(" ")}</div>
<div class="tabletext">${(shipmentRouteSegment.actualCost?string.currency)?default(" ")}</div>
</td>
</tr>
<#list shipmentPackageRouteSegs as shipmentPackageRouteSeg>
<tr>
<td><div class="tabletext"> </div></td>
<td><div class="tabletext">${uiLabelMap.ProductPackage} :${shipmentPackageRouteSeg.shipmentPackageSeqId}</div></td>
<td><span class="tabletext">${uiLabelMap.ProductTracking} : ${shipmentPackageRouteSeg.trackingCode?if_exists}</span></td>
<td><span class="tabletext">${uiLabelMap.ProductBox} : ${shipmentPackageRouteSeg.boxNumber?if_exists}</span></td>
</tr>
</#list>
</#list>
</table>
</#if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -