diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php index 63efac9b5998..1b7ac5b630c9 100644 --- a/resources/views/list.blade.php +++ b/resources/views/list.blade.php @@ -3,9 +3,10 @@ @section('content') {!! Former::open($entityType . 's/bulk')->addClass('listForm') !!} +
{!! Former::text('action') !!} - {!! Former::text('public_id') !!} + {!! Former::text('public_id') !!}
@if ($entityType == ENTITY_TASK) @@ -23,7 +24,8 @@
- + @if (Auth::user()->isPro() && $entityType == ENTITY_INVOICE) {!! Button::normal(trans('texts.quotes'))->asLinkTo(URL::to('/quotes'))->appendIcon(Icon::create('list')) !!} {!! Button::normal(trans('texts.recurring'))->asLinkTo(URL::to('/recurring_invoices'))->appendIcon(Icon::create('list')) !!} @@ -117,9 +119,13 @@ searchTimeout = setTimeout(function() { filterTable($('#tableFilter').val()); - }, 500); + }, 500); }) + if ($('#tableFilter').val()) { + filterTable($('#tableFilter').val()); + } + window.onDatatableReady = function() { $(':checkbox').click(function() { setBulkActionsEnabled();