remove ids from indexes and on attributes view
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?= $this->Paginator->sort('id') ?></th>
|
||||
<th><?= $this->Paginator->sort('name') ?></th>
|
||||
<th><?= $this->Paginator->sort('product_category_id') ?></th>
|
||||
<th><?= $this->Paginator->sort('product_type_id') ?></th>
|
||||
@@ -21,7 +20,6 @@
|
||||
<tbody>
|
||||
<?php foreach ($products as $product): ?>
|
||||
<tr>
|
||||
<td><?= $this->Number->format($product->id) ?></td>
|
||||
<td><?= h($product->name) ?></td>
|
||||
<td><?= $product->hasValue('product_category') ? $this->Html->link($product->product_category->name, ['controller' => 'ProductCategories', 'action' => 'view', $product->product_category->id]) : '' ?></td>
|
||||
<td><?= $product->product_type_id->name ?></td>
|
||||
|
||||
Reference in New Issue
Block a user