Rev 13646 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="skuschemes index"><h2><?php echo __('Skuschemes'); ?></h2><table cellpadding="0" cellspacing="0"><tr><th><?php echo __('sku'); ?></th><th><?php echo __('startDate'); ?></th><th><?php echo __('endDate'); ?></th><th><?php echo __('scheme_amount'); ?></th><th class="actions"><?php echo __('Actions'); ?></th></tr><?php foreach ($skuschemes as $skuscheme): ?><?php $skuscheme = json_decode($skuscheme,1);print_r($skuscheme);?><tr><td><?php echo h($skuscheme['sku']); ?> </td><td><?php echo h($skuscheme['startDate']); ?> </td><td><?php echo h($skuscheme['endDate']); ?> </td><td><?php echo h($skuscheme['scheme_amount']); ?> </td><td class="actions"><?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $skuscheme['sku'])); ?><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $skuscheme['sku']), null, __('Are you sure you want to delete # %s?', $skuscheme['sku'])); ?></td></tr><?php endforeach; ?></table><p><?php// echo $this->Paginator->counter(array(// 'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')// ));?> </p><div class="paging"><?phpecho $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));echo $this->Paginator->numbers(array('separator' => ''));echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));?></div></div><div class="actions"><h3><?php echo __('Actions'); ?></h3><ul><li><?php echo $this->Html->link(__('New Skuscheme'), array('action' => 'add')); ?></li></ul></div>