public function render(Varien_Object $row)
 {
     $html = '';
     $permission = Mage::helper('inventoryplus')->getPermission($row->getWarehouseId(), 'can_physical');
     if ($row->getPhysicalStatus() == 0 && $permission) {
         $html = '<a href="' . $this->getUrl('inventoryphysicalstocktakingadmin/adminhtml_physicalstocktaking/edit', array('id' => $row->getId())) . '">' . Mage::helper('inventoryphysicalstocktaking')->__('Edit') . '</a>';
     } else {
         $html = '<a href="' . $this->getUrl('inventoryphysicalstocktakingadmin/adminhtml_physicalstocktaking/edit', array('id' => $row->getId())) . '">' . Mage::helper('inventoryphysicalstocktaking')->__('View') . '</a>';
     }
     return $html;
 }