adding col-aka depends to hiding bulk actions #1m1g6y4

This commit is contained in:
Sevan Nerse 2021-10-08 14:01:27 +03:00
parent 9ad3d8d731
commit 67e349b3ed
2 changed files with 10 additions and 2 deletions

View File

@ -13,7 +13,11 @@
<th class="{{ $classDocumentNumber }}">
@stack('document_number_th_inside_start')
@if (!$hideBulkAction)
@sortablelink('document_number', trans_choice($textDocumentNumber, 1), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow'])
@else
@sortablelink('document_number', trans_choice($textDocumentNumber, 1), ['filter' => 'active, visible'], ['rel' => 'nofollow'])
@endif
@stack('document_number_th_inside_end')
</th>

View File

@ -12,7 +12,11 @@
<td class="{{ $classDocumentNumber }}">
@stack('document_number_td_inside_start')
@if (!$hideBulkAction)
<a class="col-aka" href="{{ route($routeButtonShow , $item->id) }}">{{ $item->document_number }}</a>
@else
<a href="{{ route($routeButtonShow , $item->id) }}">{{ $item->document_number }}</a>
@endif
@stack('document_number_td_inside_end')
</td>