Skip to content

Commit

Permalink
Remove the Details buttons from Reports Collection template.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed Feb 13, 2024
1 parent 01add7c commit 8e3b627
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/Views/reportsCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<table class="table <?= $GLOBALS['table'] ?> table-striped table-hover dataTable" data-order='[[1,"asc"],[2,"asc"],[3,"asc"]]'>
<thead>
<tr>
<th data-orderable="false" class="text-center"><?= __('Details') ?></th>
<th data-orderable="false" class="text-center"><?= __('Execute') ?></th>
<?php foreach ($meta->data_order as $key) {
if ($key === 'id' or $key === 'orgs.id') {
Expand All @@ -28,7 +27,6 @@
<?php if (!empty($data)) { ?>
<?php foreach ($data as $item) { ?>
<tr>
<?= collection_button_read($meta->collection, $item->id) ?>
<?= collection_button_execute($meta->collection, intval($item->id)) ?>
<?php foreach ($meta->data_order as $key) {
if ($key === 'id' or $key === 'orgs.id') {
Expand Down

0 comments on commit 8e3b627

Please sign in to comment.