#set ( $orderNumber = $order.orderNumber ) #set ( $customer = $order.customer ) #set( $moduleid = $context.findValue("module") ) #set( $viewid = $context.findValue("viewid") ) #set( $viewpath = $context.findValue("viewpath") ) #set($title = "Refund details for $orderNumber") #set($description = "Confirm the following refund details the press Submit.")

$title


$description


#set($itemCounter = 0) #foreach ( $item in $order.items ) #set( $refundstate = $item.getRefundState() ) #if( $refundstate.getRefundStatus() == "Pending" ) #set($itemCounter = $itemCounter + 1) #set($bkgrnd = $itemCounter % 2) #if ( $bkgrnd == 0 ) #else #end #set($price = $refundstate.getPendingPrice()) #set($quantity = $refundstate.getPendingQuantity()) #set($unitprice = $price.divide("$quantity")) #if($refundstate.getPendingQuantity() && $refundstate.getPendingPrice()) #end #end #end #if($shipping) #set($shippingmethod = $order.getShippingMethod()) #set($itemCounter = $itemCounter + 1) #set($bkgrnd = $itemCounter % 2) #if ( $bkgrnd == 0 ) #else #end #end #foreach ($info in $taxes) #end
Product ID Quantity Unit Price Price

$item

$quantity

$unitprice

$price

Shipping Method: $shippingmethod.getDescription()

1

$shipping

$shipping


Subtotal:

$subtotal

$info.get(0):

$info.get(1)


Total:

$total