I see no dealer info at the order page

To solve the problem, please add line

<?php echo $this->getLayout()->createBlock('amperm/adminhtml_info')->setOrderId($_order->getId())->toHtml() ?>

 

in the file

app/design/adminhtml/default/default/template/sales/order/view/info.phtml

 

so it will look like

................

................

 <?php foreach ($this->getCustomerAccountData() as $data):?>
<tr>
<td class="label"><label><?php echo $data['label'] ?></label></td>
<td class="value"><strong><?php echo $data['value'] ?></strong></td>
</tr>
<?php endforeach;?>
<!-- added by amasty -->
<?php echo $this->getLayout()->createBlock('amperm/adminhtml_info')->setOrderId($_order->getId())->toHtml() ?>
<!-- /added by amasty -->
</table>

....................

....................

Rate the answer?