Skip to content

Commit

Permalink
Merge pull request #15059 from Godmartinz/export_options
Browse files Browse the repository at this point in the history
Fixed missing print user assigned filter
  • Loading branch information
snipe authored Jul 10, 2024
2 parents 6932a63 + 624632d commit c58c592
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions resources/views/users/print.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

<link rel="shortcut icon" type="image/ico" href="{{ ($snipeSettings) && ($snipeSettings->favicon!='') ? Storage::disk('public')->url(e($snipeSettings->favicon)) : config('app.url').'/favicon.ico' }}">

<link rel="stylesheet" href="{{ url(mix('css/dist/bootstrap-table.css')) }}">

{{-- stylesheets --}}
<link rel="stylesheet" href="{{ url(mix('css/dist/all.css')) }}">

Expand Down Expand Up @@ -386,18 +388,16 @@ class="snipe-table table table-striped inventory"
<script src="{{ url(mix('js/dist/all.js')) }}" nonce="{{ csrf_token() }}"></script>


@push('css')
<link rel="stylesheet" href="{{ url(mix('css/dist/bootstrap-table.css')) }}">
@endpush

@push('js')



<script src="{{ url(mix('js/dist/bootstrap-table.js')) }}"></script>

<script>
$('.snipe-table').bootstrapTable('destroy').each(function () {
console.log('BS table loaded');
data_export_options = $(this).attr('data-export-options');
export_options = data_export_options ? JSON.parse(data_export_options) : {};
export_options['htmlContent'] = false; // this is already the default; but let's be explicit about it
Expand Down Expand Up @@ -469,7 +469,7 @@ classes: 'table table-responsive table-no-bordered',
});
});
</script>
@endpush



</body>
Expand Down

0 comments on commit c58c592

Please sign in to comment.