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