Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
19877 naman 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
		<form class="navbar-form" role="search" method="GET" name="search" action="<?php echo $base_url;?>admin/itemcashbacks/index">
8
        		<div class="input-group col-xs-6 text-left">
9
        			Search By:         			
10
                    <input type="radio" name="type" value="sku"/>SkuId
11
                    <input type="radio" name="type" value="skuBundleId"/>SkuBundleId
12
        		</div>
13
                <div class="input-group col-xs-6 text-right" id="remote">
14
                    <input autocomplete="off" type="text" class="form-control" placeholder="Search for item" name="search" id="srch-term">
15
                    <div class="input-group-btn w25px">
16
                        <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
17
                    </div>
18
                </div>
19
            </form>
20
 
21
			<h2><?php echo __('Item Cashbacks'); ?></h2>
22
			<table cellpadding="0" cellspacing="0" class="table table-striped" >
23
			<tr>
24
 
25
					<th><?php echo __('skuId'); ?></th>
26
					<th><?php echo __('cash_back_description'); ?></th>
27
					<th><?php echo __('cash_back');?></th>
28
					<th><?php echo __('cash_back_status');?>
29
					<th><?php echo __('cash_back_type');?>
30
					<th><?php echo __('Action');?>
31
			</tr>
32
			<?php foreach ($cashbacks as $cashback): ?>
33
			<tr>
34
				<td><?php echo h($cashback['sku']); ?></td>
35
				<td><?php echo h($cashback['cash_back_description']); ?></td>
36
				<td><?php echo h($cashback['cash_back']); ?></td>
37
				<td><?php echo h($cashback['cash_back_status']); ?></td>
38
				<td><?php echo h($cashback['cash_back_type']); ?></td>
39
				<td class="actions">
40
					<?php //echo $this->Html->link(__('View'), array('action' => 'view', $objects['_id'])); ?>
41
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $cashback['_id']['$oid'])); ?>
42
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $cashback['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $cashback['_id']['$oid'])); ?>
43
				</td>
44
			</tr>
45
		<?php endforeach; ?>
46
 
47
			</table>			
48
		</div>
49
	</div>
50
	<ul class="pager">
51
	  	<?php if($page>1):?>
52
	    <li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
53
		<?php endif;?>
54
	    <li><a href="?page=<?php echo $page+1;?>">Next</a></li>
55
  	</ul>
56
</div>