Rev 14561 | 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"><?php echo $this->element('adminsearch');?><h2><?php echo __('Sku Schemes'); ?></h2><table cellpadding="0" cellspacing="0"><tr><!-- <th><?php //echo __('sku'); ?></th> --><th><?php echo __('Name'); ?></th><!-- <th><?php //echo __('startDate'); ?></th> --><th><?php echo __('Bundle Id'); ?></th><th><?php echo __('schemeAmount'); ?></th><th class="actions"><?php echo __('Actions'); ?></th></tr><?php foreach ($skuschemes as $skuscheme): ?><?phpif(!is_array($skuscheme)){$skuscheme = json_decode($skuscheme,1);}?><tr><!-- <td><?php //echo h($skuscheme['sku']); ?> </td> --><td><?php echo h($skuscheme['source_product_name']); ?> </td><!-- <td><?php //echo date('d-m-Y',$skuscheme['startDate']/1000); ?> </td> --><td><?php echo $skuscheme['skuBundleId']; ?> </td><td class="edit" id="schemeAmount" data-oid="<?php echo $skuscheme['_id']['$oid'];?>" ><?php echo h($skuscheme['schemeAmount']); ?></td><td class="actions"><?php //echo $this->Html->link(__('Edit'), array('action' => 'edit', $skuscheme['_id']['$oid'])); ?><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $skuscheme['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $skuscheme['_id']['$oid'])); ?></td></tr><?php endforeach; ?></table></div></div><nav><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></nav></div>