public function _getHtmlOrderItems(Ecm_Model_Order $order)
    {
        ob_start();
        ?>
    	<div style="font-size: 12px;">
    	<table border="1" cellpadding="0" cellspacing="0" width="100%" >
<tr style="background-color: menu;">
  <th >Model</th>
  <th>Details</th>
  <th>Attributes</th>
  <th>Qty</th>
  <th>Price</th>
</tr>
<?php 
        foreach ($order->getProductItems() as $item) {
            ?>
<tr>
  <td ><?php 
            echo $item->itemCode;
            ?>
</td>
  <td ><?php 
            echo $item->itemName;
            ?>
</td>
  <td><?php 
            echo $item->attributes;
            ?>
</td>
  <td><?php 
            echo $item->quantity;
            ?>
</td>
   <td><?php 
            echo $this->view->printmoney($item->price);
            ?>
</td>
</tr>
<?php 
        }
        ?>
</table>
<br/><br/><br/>
<table  cellpadding="0" cellspacing="0" width="40%" style="margin-left: 60%" >
<tr>
  <th align="left" style="width: 70%;background-color: menu;">จำนวนทั้งหมด</th>
  <td align="right" ><?php 
        echo $order->getTotalItems();
        ?>
</td>
</tr>
<tr>
  <th align="left" style="background-color: menu;">รวมราคาสินค้า(Ext.Vat)</th>
  <td align="right"><?php 
        echo $this->view->printmoney($order->getTotalPrice());
        ?>
</tr>
<tr>
  <th align="left" style="background-color: menu;">ภาษี (7%)</th>
  <td align="right"><?php 
        echo $this->view->printmoney($order->getTotalVatPrice());
        ?>
</td>
</tr>
<tr>
<tr>
  <th align="left" style="background-color: menu;">ค่าจัดส่งสินค้า</th>
  <td align="right"><?php 
        echo $this->view->printmoney($order->getShippingPrice());
        ?>
</td>
</tr>
<tr>

  <th align="left" style="background-color: menu;">จำนวนเงินที่เรียกเก็บ (Inc. Vat)</th>
  <td style="color: green;" align="right"><?php 
        echo $this->view->printmoney($order->getNetPrice());
        ?>
</td>
</tr>
</table>
</div>




  <?php 
        return ob_get_clean();
    }