Update index.blade.php Print Button
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
@extends('backend.layout.main')
|
||||
@section('content')
|
||||
|
||||
@if ($errors->has('title'))
|
||||
<div class="alert alert-danger alert-dismissible text-center">
|
||||
@if ($errors->has('title'))
|
||||
<div class="alert alert-danger alert-dismissible text-center">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
|
||||
aria-hidden="true">×</span></button>{{ $errors->first('title') }}
|
||||
</div>
|
||||
@endif
|
||||
@if (session()->has('message'))
|
||||
<div class="alert alert-success alert-dismissible text-center">
|
||||
</div>
|
||||
@endif
|
||||
@if (session()->has('message'))
|
||||
<div class="alert alert-success alert-dismissible text-center">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>{{ session()->get('message') }}
|
||||
</div>
|
||||
@endif
|
||||
@if (session()->has('not_permitted'))
|
||||
<div class="alert alert-danger alert-dismissible text-center">
|
||||
</div>
|
||||
@endif
|
||||
@if (session()->has('not_permitted'))
|
||||
<div class="alert alert-danger alert-dismissible text-center">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>{{ session()->get('not_permitted') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<section>
|
||||
<section>
|
||||
<div class="container-fluid">
|
||||
<div style="border-radius: 30px;" class="card pb-4 ">
|
||||
<link rel="stylesheet" href="{{ asset('public/css/cloudma.css') }}">
|
||||
@@ -62,9 +62,9 @@
|
||||
<button class="btn btn-info" onclick="exportFullReport('csv')" style="border-radius: 10px;">
|
||||
<i class="fa fa-file-text-o"></i> Export CSV
|
||||
</button>
|
||||
<button class="btn btn-secondary" onclick="window.print()" style="border-radius: 10px;">
|
||||
<!-- <button class="btn btn-secondary" onclick="window.print()" style="border-radius: 10px;">
|
||||
<i class="fa fa-print"></i> Print Report
|
||||
</button>
|
||||
</button> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -248,9 +248,9 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
<style>
|
||||
.bootstrap-select.form-control,
|
||||
.form-control,
|
||||
.input-group-text {
|
||||
@@ -273,12 +273,12 @@
|
||||
table {
|
||||
border-collapse: collapse !important;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||||
@@ -295,5 +295,5 @@
|
||||
|
||||
window.location.href = exportUrl;
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user