diffrent reports status tables updated

This commit is contained in:
batuhanbas
2019-11-28 11:18:58 +03:00
parent 9439e7061c
commit 99c56e261a
11 changed files with 23 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
@php $chart = $class->getChart(); @endphp
<div class="card-body" id="report-chart">
<div id="report-chart" class="card-body pt-0">
{!! $chart->container() !!}
</div>

View File

@@ -6,13 +6,13 @@
'class' => 'mb-0',
]) !!}
<div id="items" class="float-left box-filter">
{!! Form::select('year', $class->filters['years'], request('year', $class->year), ['class' => 'form-control form-control-sm table-header-search ml--2']) !!}
<div id="items" class="float-left">
{!! Form::select('year', $class->filters['years'], request('year', $class->year), ['class' => 'form-control form-control-sm table-header-search']) !!}
@php unset($class->filters['years']) @endphp
@foreach($class->filters as $name => $values)
{!! Form::select($name . '[]', $values, request($name), ['id' => 'filter-' . $name, 'class' => 'form-control form-control-sm table-header-search']) !!}
{!! Form::select($name . '[]', $values, request($name), ['id' => 'filter-' . $name, 'class' => 'form-control form-control-sm table-header-search']) !!}
@endforeach
{!! Form::button('<span class="fa fa-filter"></span> &nbsp;' . trans('general.filter'), ['type' => 'submit', 'class' => 'btn btn-secondary btn-sm card-buttons ml-1']) !!}
{!! Form::button('<span class="fa fa-filter"></span> &nbsp;' . trans('general.filter'), ['type' => 'submit', 'class' => 'btn btn-secondary btn-sm card-buttons']) !!}
</div>
{!! Form::close() !!}

View File

@@ -1,7 +1,7 @@
@section('title', $class->report->name)
@section('new_button')
<span class="new-button">
<span>
<a href="{{ url($class->getUrl('print')) }}" target="_blank" class="btn btn-white btn-sm"><span class="fa fa-print"></span> &nbsp;{{ trans('general.print') }}</a>
</span>
<span>

View File

@@ -1,4 +1,4 @@
<div class="table-responsive mt-4 overflow-auto">
<div class="table-responsive overflow-auto">
<table class="table align-items-center table-hover" id="tbl-report">
@include($class->views['table.header'])
<tbody>