Subversion Repositories SmartDukaan

Rev

Rev 14509 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14098 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-3">
4
			<?php echo $this->Element('adminactions');?>
5
		</div>
6
		<div class="col-lg-9">
7
			<h2><?php echo __('Master Data'); ?></h2>
8
			<table cellpadding="0" cellspacing="0" class="table table-striped">
9
			<tr>
10
					<!-- <th><?php echo __('id'); ?></th> -->
11
					<th><?php echo __('name'); ?></th>
12
					<th><?php echo __('category_id'); ?></th>
13
					<th><?php echo __('brand'); ?></th>
14
					<th><?php echo __('available_price'); ?></th>
15
					<th><?php echo __('Source'); ?></th>
16
					<th><?php echo __('Image'); ?></th>
17
					<!-- <th>&nbsp;</th> -->
18
			</tr>
19
			<?php foreach ($masterdata as $product): ?>
20
			<tr>
21
				<!-- <td><?php echo h($product['MasterData']['id']); ?>&nbsp;</td> -->
22
				<td class="medit" id="source_product_name" data-oid="<?php echo $product['MasterData']['id'];?>"><?php echo h($product['MasterData']['source_product_name']); ?>&nbsp;</td>
23
				<td>
24
					<?php echo $this->Html->link($categories[$product['MasterData']['category_id']], array('controller' => 'categories', 'action' => 'view', $product['MasterData']['category_id'])); ?>
25
				</td>
26
				<td><?php echo h($product['MasterData']['brand']); ?></td>
27
				<td class="edit" class="medit" id="available_price" data-oid="<?php echo $product['MasterData']['id'];?>"><?php echo h($product['MasterData']['available_price']); ?></td>
28
				<td><?php echo h($storemapping[$product['MasterData']['source_id']]); ?></td>
29
				<td class="medit" id="thumbnail" data-oid="<?php echo $product['MasterData']['id'];?>">
30
					<img src="<?php echo $product['MasterData']['thumbnail'];?>" class="thumbnail"/>
31
				</td>
32
				<!-- <td><?php //echo $this->Html->link(__('Edit'), array('action' => 'edit', $product['MasterData']['id'])); ?></td> -->
33
			</tr>
34
		<?php endforeach; ?>
35
			</table>			
36
		</div>
37
	</div>
38
	<ul class="pager">
39
	  	<?php if($page>1):?>
40
	    <li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
41
		<?php endif;?>
42
	    <li><a href="?page=<?php echo $page+1;?>">Next</a></li>
43
  	</ul>
44
</div>