Merge pull request #2280 from sevannerse/CU-1m1g6y4_Hiding-bulk-actions-on-document-components_Sevan-Nerse

adding col-aka depends to hiding bulk actions #1m1g6y4
This commit is contained in:
Denis Duliçi 2021-10-27 11:23:35 +03:00 committed by GitHub
commit 4853e09653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>