Product Audit Report
Only pending orders are audited
#set($ordersearcher = $mediaarchive.getSearcher("storeOrder"))
#set($productsearcher = $mediaarchive.getSearcher("product"))
#foreach($hit in $hits)
#set($order = $ordersearcher.searchById("$!{hit.id}"))
#if($order)
#set($shippingdatestr = $order.get("shippingdate"))
#set($shippingdatestr = $DateStorageUtil.getStorageUtil().checkFormat($shippingdatestr))
#set($shippingdate = $DateStorageUtil.getStorageUtil().parseFromStorage($shippingdatestr))
####set($shippingdate = $order.getDate("shippingdate"))
#if($shippingdate)
#if($order.getId().startsWith("DRFT"))
$order.id
- Customer: $!order.getCustomer().getCompany()
- Shipping Date: $!context.getDate($shippingdate)
- Total: $!order.getTotalPrice()
#set($conflict = false)
#if($conflict == false)
#end
#end
#end
#set($shippingdate = false)
#end
#set($order = false)
#end
$pages.include("/${applicationid}/manage/modal/edit.html",$context)