fix: remove onafterprint()
This commit is contained in:
parent
04676604c6
commit
3fe95fcda0
@ -16,7 +16,7 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="display" id="datatable">
|
||||
<table class="display" id="datatable" data-ajax="{{ url(url()->current()) }}">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
@ -36,7 +36,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($transactions as $transaction)
|
||||
{{-- @foreach ($transactions as $transaction)
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $transaction->cashier->biography->full_name ?? '-deleted-' }}</td>
|
||||
@ -111,7 +111,7 @@
|
||||
</td>
|
||||
@endif
|
||||
</tr>
|
||||
@endforeach
|
||||
@endforeach --}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@ -196,8 +196,12 @@
|
||||
</div>
|
||||
@endsection
|
||||
@section('afterScripts')
|
||||
<script>
|
||||
let userRole = {!! auth()->user()->role_id !!};
|
||||
</script>
|
||||
<script src="{{ asset('assets/admin/js/datatable/jquery.dataTables.min.js?ver=1.0.0') }}"></script>
|
||||
<script src="{{ asset('assets/admin/js/datatable/client-side.js?ver=1.0.0') }}"></script>
|
||||
<script src="{{ asset('assets/admin/js/datatable/custom-table/transaction.js?ver=1.1.0') }}"></script>
|
||||
<script src="{{ asset('assets/admin/js/datatable/server-side.js?ver=1.0.0') }}"></script>
|
||||
<script src="{{ asset('assets/js/interactions/confirmation.js?ver=1.0.0') }}"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<script src="{{ asset('assets/admin/js/custom/transaction.js?ver=1.0.0') }}"></script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user