diff --git a/resources/views/components/documents/index/card-body.blade.php b/resources/views/components/documents/index/card-body.blade.php
index f18b47cb6..f420fd471 100644
--- a/resources/views/components/documents/index/card-body.blade.php
+++ b/resources/views/components/documents/index/card-body.blade.php
@@ -13,7 +13,11 @@
@stack('document_number_th_inside_start')
- @sortablelink('document_number', trans_choice($textDocumentNumber, 1), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow'])
+ @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')
|
diff --git a/resources/views/partials/documents/index/card-table-row.blade.php b/resources/views/partials/documents/index/card-table-row.blade.php
index 91c1535ed..948b0db7b 100644
--- a/resources/views/partials/documents/index/card-table-row.blade.php
+++ b/resources/views/partials/documents/index/card-table-row.blade.php
@@ -12,7 +12,11 @@
@stack('document_number_td_inside_start')
- {{ $item->document_number }}
+ @if (!$hideBulkAction)
+ {{ $item->document_number }}
+ @else
+ {{ $item->document_number }}
+ @endif
@stack('document_number_td_inside_end')
|