📄 viewshipmentinfo.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.4 $
*@since 3.0
-->
<#assign uiLabelMap = requestAttributes.uiLabelMap>
<#if shipment?exists>
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductShipmentId}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left"><span class="tabletext">${shipment.shipmentId}</span></td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductShipmentType}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left"><span class="tabletext">${(shipmentType.description)?default(shipment.shipmentTypeId?if_exists)}</span></td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductStatus}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left"><span class="tabletext">${(statusItem.description)?default(shipment.statusId?if_exists)}</span></td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductPrimaryOrderId}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left"><span class="tabletext">${shipment.primaryOrderId?if_exists}</span></td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductEstimatedDates}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left">
<span class="tabletext">
<span class="tableheadtext">${uiLabelMap.CommonReady}: </span>${(shipment.estimatedReadyDate.toString())?if_exists}
<span class="tableheadtext">Ship: </span>${(shipment.estimatedShipDate.toString())?if_exists}
<span class="tableheadtext">${uiLabelMap.ProductArrival}: </span>${(shipment.estimatedArrivalDate.toString())?if_exists}
</span>
</td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductLatestCancelDate}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left"><span class="tabletext">${(shipment.latestCancelDate.toString())?if_exists}</span></td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductEstimatedShipCost}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left"><span class="tabletext">${(shipment.estimatedShipCost?string.currency)?if_exists}</span></td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductHandlingInstructions}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left"><span class="tabletext">${shipment.handlingInstructions?if_exists}</span></td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductFacilities}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left">
<div class="tabletext"><span class="tableheadtext">${uiLabelMap.ProductOrigin}: </span>${(originFacility.facilityName)?if_exists} [${(shipment.originFacilityId?if_exists)}]</div>
<div class="tabletext"><span class="tableheadtext">${uiLabelMap.ProductDestination}: </span>${(destinationFacility.facilityName)?if_exists} [${(shipment.destinationFacilityId?if_exists)}]</div>
</td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.PartyParties}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left">
<span class="tabletext">
<span class="tableheadtext">${uiLabelMap.CommonTo}: </span>${(toPerson.firstName)?if_exists} ${(toPerson.middleName)?if_exists} ${(toPerson.lastName)?if_exists} ${(toPartyGroup.groupName)?if_exists} [${shipment.partyIdTo?if_exists}]
<span class="tableheadtext">${uiLabelMap.CommonFrom}: </span>${(fromPerson.firstName)?if_exists} ${(fromPerson.middleName)?if_exists} ${(fromPerson.lastName)?if_exists} ${(fromPartyGroup.groupName)?if_exists} [${shipment.partyIdFrom?if_exists}]
</span>
</td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductAddresses}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left">
<div class="tabletext"><span class="tableheadtext">${uiLabelMap.ProductOrigin}: </span>${shipment.originContactMechId?if_exists} <#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"><span class="tableheadtext">${uiLabelMap.ProductDestination}: </span>${shipment.destinationContactMechId?if_exists} <#if destinationPostalAddress?has_content>[${uiLabelMap.CommonTo} : ${destinationPostalAddress.toName?if_exists}, ${uiLabelMap.CommonAttn} : ${destinationPostalAddress.attnName?if_exists}, ${destinationPostalAddress.address1?if_exists}, ${destinationPostalAddress.address2?if_exists}, ${destinationPostalAddress.city?if_exists}, ${destinationPostalAddress.stateProvinceGeoId?if_exists}, ${destinationPostalAddress.postalCode?if_exists}, ${destinationPostalAddress.countryGeoId?if_exists}]</#if></div>
</td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.ProductPhoneNumbers}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left">
<div class="tabletext"><span class="tableheadtext">${uiLabelMap.ProductOrigin}: </span>${shipment.originTelecomNumberId?if_exists} <#if originTelecomNumber?has_content>[${originTelecomNumber.countryCode?if_exists} ${originTelecomNumber.areaCode?if_exists} ${originTelecomNumber.contactNumber?if_exists}]</#if></div>
<div class="tabletext"><span class="tableheadtext">${uiLabelMap.ProductDestination}: </span>${shipment.destinationTelecomNumberId?if_exists} <#if destinationTelecomNumber?has_content>[${destinationTelecomNumber.countryCode?if_exists} ${destinationTelecomNumber.areaCode?if_exists} ${destinationTelecomNumber.contactNumber?if_exists}]</#if></div>
</td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.CommonCreated}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left">
<div class="tabletext">${uiLabelMap.CommonBy} [${shipment.createdByUserLogin?if_exists}] ${uiLabelMap.CommonOn} ${(shipment.createdDate.toString())?if_exists}</div>
</td>
</tr>
<tr>
<td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.CommonLastUpdated}</span></td>
<td><span class="tabletext"> </span></td>
<td width="80%" align="left">
<div class="tabletext">${uiLabelMap.CommonBy} [${shipment.lastModifiedByUserLogin?if_exists}] ${uiLabelMap.CommonOn} ${(shipment.lastModifiedDate.toString())?if_exists}</div>
</td>
</tr>
</table>
</#if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -