Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="paymentMethods index container">
- <div class="row">
- <h1>
- <?= __('Payment Methods'); ?>
- </h1>
- </div>
- <div class="row">
- <div class="col-md-12">
- <table class="table table-striped table-hover">
- <thead>
- <tr>
- <th><?= $this->Paginator->sort('id'); ?></th>
- <th><?= $this->Paginator->sort('name'); ?></th>
- <th><?= $this->Paginator->sort('slug'); ?></th>
- <th><?= $this->Paginator->sort('fee'); ?></th>
- <th><?= $this->Paginator->sort('active'); ?></th>
- <th><?= $this->Paginator->sort('created'); ?></th>
- <th><?= $this->Paginator->sort('modified'); ?></th>
- <th class="actions"><?= __('Actions'); ?></th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($paymentMethods as $paymentMethod): ?>
- <tr>
- <td><?= h($paymentMethod['PaymentMethod']['id']); ?></td>
- <td><?= h($paymentMethod['PaymentMethod']['name']); ?></td>
- <td><?= h($paymentMethod['PaymentMethod']['slug']); ?></td>
- <td><?= h($paymentMethod['PaymentMethod']['fee']); ?></td>
- <td><?= $this->Boolean->display($paymentMethod['PaymentMethod']['active']); ?></td>
- <td><?= h($paymentMethod['PaymentMethod']['created']); ?></td>
- <td><?= h($paymentMethod['PaymentMethod']['modified']); ?></td>
- <td class="actions">
- <?= $this->Html->link(
- __('Edit'),
- ['action' => 'edit', $paymentMethod['PaymentMethod']['id'], 'plugin' => 'cart'],
- ['class' => 'btn btn-xs btn-primary']
- ); ?>
- </td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement