Rev 14509 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="container"><div class="row"><div class="col-lg-3"><?php echo $this->Element('adminactions');?></div><div class="col-lg-9"><h2><?php echo __('Master Data'); ?></h2><table cellpadding="0" cellspacing="0" class="table table-striped"><tr><!-- <th><?php echo __('id'); ?></th> --><th><?php echo __('name'); ?></th><th><?php echo __('category_id'); ?></th><th><?php echo __('brand'); ?></th><th><?php echo __('available_price'); ?></th><th><?php echo __('Source'); ?></th><th><?php echo __('Image'); ?></th><!-- <th> </th> --></tr><?php foreach ($masterdata as $product): ?><tr><!-- <td><?php echo h($product['MasterData']['id']); ?> </td> --><td class="medit" id="source_product_name" data-oid="<?php echo $product['MasterData']['id'];?>"><?php echo h($product['MasterData']['source_product_name']); ?> </td><td><?php echo $this->Html->link($categories[$product['MasterData']['category_id']], array('controller' => 'categories', 'action' => 'view', $product['MasterData']['category_id'])); ?></td><td><?php echo h($product['MasterData']['brand']); ?></td><td class="edit" class="medit" id="available_price" data-oid="<?php echo $product['MasterData']['id'];?>"><?php echo h($product['MasterData']['available_price']); ?></td><td><?php echo h($storemapping[$product['MasterData']['source_id']]); ?></td><td class="medit" id="thumbnail" data-oid="<?php echo $product['MasterData']['id'];?>"><img src="<?php echo $product['MasterData']['thumbnail'];?>" class="thumbnail"/></td><!-- <td><?php //echo $this->Html->link(__('Edit'), array('action' => 'edit', $product['MasterData']['id'])); ?></td> --></tr><?php endforeach; ?></table></div></div><ul class="pager"><?php if($page>1):?><li><a href="?page=<?php echo $page-1;?>">Previous</a></li><?php endif;?><li><a href="?page=<?php echo $page+1;?>">Next</a></li></ul></div>