BulkAction re-factoring for module use core bulk action

This commit is contained in:
Cüneyt Şentürk
2020-09-22 00:37:00 +03:00
parent 61b7510ffc
commit 9abda76d22
12 changed files with 136 additions and 61 deletions

View File

@ -48,6 +48,16 @@
@if(!empty($action['message']))
data-message="{{ trans_choice($action['message'], 2, ['type' => $text]) }}"
@endif
@if(isset($action['path']) && !empty($action['path']))
data-path="{{ route('bulk-actions.action', $action['path']) }}"
@else
data-path=""
@endif
@if(isset($action['type']) && !empty($action['type']))
data-type="{{ $action['type'] }}"
@else
data-type=""
@endif
>{{ trans($action['name']) }}</option>
@endif
@endforeach