#-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <#if security.hasEntityPermission("ORDERMGR", "_UPDATE", session) && (!orderHeader.salesChannelEnumId?? || orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL")>
${uiLabelMap.OrderItemId} | ${uiLabelMap.ProductProduct} | ${uiLabelMap.CommonQuantity} | ${uiLabelMap.ProductQuantityNotAvailable} | ||||
${product.internalName!} [${orderItem.productId!}] |
${quantityOrdered} |
${quantityNotAvailable} |
<#if !orderItem.statusId?exists || orderItem.statusId == "ITEM_CREATED" || orderItem.statusId == "ITEM_APPROVED"> #if> | ||||
[${OISG.shipGroupSeqId}] <#if OISG.shipByDate?has_content>, ${uiLabelMap.OrderShipBeforeDate} : ${OISG.shipByDate?date}#if>
<#if orderType == "SALES_ORDER">
<#list orderShipments as orderShipment>
${uiLabelMap.OrderPlannedInShipment} : ${orderShipment.shipmentId!}:${orderShipment.shipmentItemSeqId!} - ${orderShipment.quantity!}
#list>
<#elseif orderType == "PURCHASE_ORDER">
<#list orderShipments as orderShipment>
<#if orderShipment.quantity?has_content & orderShipment.quantity!=0.0 >
${uiLabelMap.OrderPlannedInReceive} : ${orderShipment.shipmentId!}:${orderShipment.shipmentItemSeqId!} - ${orderShipment.quantity!}
<#else>
<#assign shipmentItem = orderShipment.getShipmentItem()>
${uiLabelMap.OrderPlannedRejected} : ${orderShipment.shipmentId!}:${orderShipment.shipmentItemSeqId!} - ${shipmentItem.quantity!}
#if>
#list>
#if>
|
${OISGAssContent.quantity!}
<#if (orderShipments.size()?default(0)) == 0>
<#else>
#if>
|
||||||
|
${uiLabelMap.DeleteOrderItemShipGroup}
|
||||||
${uiLabelMap.ProductDropShipment} - ${uiLabelMap.PartySupplier} | ${Static["org.apache.ofbiz.party.party.PartyHelper"].getPartyName(delegator, shipGroup.supplierPartyId, false)!shipGroup.supplierPartyId} | |||||
|
||||||
${uiLabelMap.OrderTrackingNumber} |
<#-- TODO: add links to UPS/FEDEX/etc based on carrier partyId -->
<#if shipGroup.trackingNumber?has_content>
${shipGroup.trackingNumber}
#if>
<#if orderShipmentInfoSummaryList?has_content>
<#list orderShipmentInfoSummaryList as orderShipmentInfoSummary>
<#if orderShipmentInfoSummary.shipGroupSeqId! == shipGroup.shipGroupSeqId!>
<#if (orderShipmentInfoSummaryList?size > 1)>${orderShipmentInfoSummary.shipmentPackageSeqId}: #if>
${uiLabelMap.CommonIdCode}: ${orderShipmentInfoSummary.trackingCode?default("[${uiLabelMap.OrderNotYetKnown}]")}
<#if orderShipmentInfoSummary.boxNumber?has_content> ${uiLabelMap.ProductBox} #${orderShipmentInfoSummary.boxNumber}#if>
<#if orderShipmentInfoSummary.carrierPartyId?has_content>(${uiLabelMap.ProductCarrier}: ${orderShipmentInfoSummary.carrierPartyId})#if>
#if>
#list>
#if>
|
|||||
${uiLabelMap.OrderSplittingPreference} |
<#if shipGroup.maySplit?upper_case == "N">
${uiLabelMap.FacilityWaitEntireOrderReady}
<#if security.hasEntityPermission("ORDERMGR", "_UPDATE", session)>
<#if orderHeader.statusId != "ORDER_COMPLETED" && orderHeader.statusId != "ORDER_CANCELLED">
|
|||||
${uiLabelMap.OrderInstructions} |
<#if (!orderHeader.statusId.equals("ORDER_COMPLETED")) && !(orderHeader.statusId.equals("ORDER_REJECTED")) && !(orderHeader.statusId.equals("ORDER_CANCELLED"))>
|
|||||
${uiLabelMap.OrderGiftMessage} |
|
|||||
${uiLabelMap.OrderShipAfterDate} ${uiLabelMap.OrderShipBeforeDate} |
<@htmlTemplate.renderDateTimeField name="shipByDate" event="" action="" value="${shipGroup.shipByDate!}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="shipByDate_${shipGroup.shipGroupSeqId}" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/> |
|||||
${uiLabelMap.ProductEstimatedShipDate} | <#if shipGroup.estimatedShipDate?has_content><#assign estimatedShipDate=shipGroup.estimatedShipDate?date><#else><#assign estimatedShipDate="-"/>#if> <@htmlTemplate.renderDisplayField type="date" imageLocation="" idName="" description="${estimatedShipDate}" title="" class="" alert=""/> | |||||
${uiLabelMap.OrderOrderQuoteEstimatedDeliveryDate} | <#if shipGroup.estimatedDeliveryDate?has_content><#assign estimatedDeliveryDate=shipGroup.estimatedDeliveryDate?date><#else><#assign estimatedDeliveryDate="-"/>#if> <@htmlTemplate.renderDisplayField type="date" imageLocation="" idName="" description="${estimatedDeliveryDate}" title="" class="" alert=""/> | |||||
${uiLabelMap.FacilityShipments} |
<#list shipGroupShipments as shipment>
${uiLabelMap.CommonNbr}${shipment.shipmentId}
${uiLabelMap.ProductPackingSlip}
<#if "SALES_ORDER" == orderHeader.orderTypeId && "ORDER_COMPLETED" == orderHeader.statusId>
<#assign shipmentRouteSegments = delegator.findByAnd("ShipmentRouteSegment", {"shipmentId" : shipment.shipmentId}, null, false)>
<#if shipmentRouteSegments?has_content>
<#assign shipmentRouteSegment = Static["org.apache.ofbiz.entity.util.EntityUtil"].getFirst(shipmentRouteSegments)>
<#if "UPS" == (shipmentRouteSegment.carrierPartyId)!>
${uiLabelMap.ProductEmailReturnShippingLabelUPS}
#if>
#list>
|
|||||
<#if orderHeader.orderTypeId == "SALES_ORDER">
<#if !shipGroup.supplierPartyId?has_content>
<#if orderHeader.statusId == "ORDER_APPROVED">
${uiLabelMap.OrderPackShipmentForShipGroup}
#if> ${uiLabelMap.OrderNewShipmentForShipGroup} |