Rev 20446 | 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"><form class="navbar-form" role="search" method="GET" name="search" action="<?php echo $base_url;?>admin/itemcashbacks/index"><div class="input-group col-xs-6 text-left">Search By:<input type="radio" name="type" value="sku"/>SkuId<input type="radio" name="type" value="skuBundleId"/>SkuBundleId</div><div class="input-group col-xs-6 text-right" id="remote"><input autocomplete="off" type="text" class="form-control" placeholder="Search for item" name="search" id="srch-term"><div class="input-group-btn w25px"><button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button></div></div></form><h2><?php echo __('Item Cashbacks'); ?></h2><form class="navbar-form" name="cache" action="<?php echo $base_url;?>admin/itemcashbacks" method="POST"><input type="submit" name="clear-cache" value="Clear Cache"/><?php if(isset($clear)){echo '<span>'.$clear.'</span>';}?></form><table cellpadding="0" cellspacing="0" class="table table-striped" ><tr><th><?php echo __('sku'); ?></th><th><?php echo __('source'); ?></th><th><?php echo __('Product'); ?></th><th><?php echo __('Cashback');?></th><th><?php echo __('Status');?><th><?php echo __('Type');?><th><?php echo __('Action');?></tr><?php foreach ($cashbacks as $cashback): ?><tr><td><?php echo h($cashback['sku']); ?></td><td><?php echo h($cashback['source']); ?></td><td><?php echo h($cashback['product_name']); ?></td><td><?php echo h($cashback['cash_back']); ?></td><td><?php echo h($cashback['cash_back_status']); ?></td><td><?php echo h($cashback['cash_back_type']); ?></td><td class="actions"><?php //echo $this->Html->link(__('View'), array('action' => 'view', $objects['_id'])); ?><?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $cashback['_id']['$oid'])); ?><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $cashback['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $cashback['_id']['$oid'])); ?></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>