Commit 86b99787 by hannan

laravel excel and media query screen report summary

parent 67010dde
......@@ -165,6 +165,7 @@ return [
/*
* Package Service Providers...
*/
Maatwebsite\Excel\ExcelServiceProvider::class,
/*
* Application Service Providers...
......@@ -226,6 +227,7 @@ return [
'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class,
'Curl' => Ixudra\Curl\Facades\Curl::class,
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
],
......
......@@ -6,11 +6,16 @@
<div class="ui purple left ribbon label">
Report Summary
</div>
<br>
<br>
<button class="right floated center aligned ui violet compact labeled icon button">
<i class="file excel outline icon"></i>
Export to Excel
</button>
<br><br>
<div class="ui styled fluid">
<div class="" style="width: 1200px; overflow-x: auto">
<div class="ringkasantable">
<table class="ui unstackable celled table">
<thead>
<tr>
......@@ -56,7 +61,7 @@
<td>{{$key+1}}</td>
<td>{{data_get($staff,'deptCode')}}</td>
<td>{{data_get($staff,'staffid')}}</td>
<td>{{data_get($staff,'name')}}</td>
<td class="single line">{{data_get($staff,'name')}}</td>
<td></td>
<?php $totalc = 0; ?>
@foreach($chargeproject as $key => $chargeable)
......@@ -113,6 +118,65 @@
</div>
<style>
@media only screen and (max-width: 1092px){
.ringkasantable{
overflow-x: auto;
width: 750px;
}
}
@media only screen and (min-width: 1093px){
.ringkasantable{
overflow-x: auto;
width: 870px;
}
}
@media only screen and (min-width: 1241px){
.ringkasantable{
overflow-x: auto;
width: 1000px;
}
}
@media only screen and (min-width: 1366px){
.ringkasantable{
overflow-x: auto;
width: 1145px;
}
}
@media only screen and (min-width: 1516px){
.ringkasantable{
overflow-x: auto;
width: 1332px;
}
}
@media only screen and (min-width: 1706px){
.ringkasantable{
overflow-x: auto;
width: 1424px;
}
}
@media only screen and (min-width: 1819px){
.ringkasantable{
overflow-x: auto;
width: 1685px;
}
}
@media only screen and (min-width: 2047px){
.ringkasantable{
overflow-x: auto;
width: 2372px;
}
}
</style>
@endsection
@push('script')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment