Merge pull request #951 from batuhawk/master
Diffrent reports status tables updated
This commit is contained in:
commit
d380267269
@ -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>
|
||||
|
||||
|
@ -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> ' . trans('general.filter'), ['type' => 'submit', 'class' => 'btn btn-secondary btn-sm card-buttons ml-1']) !!}
|
||||
{!! Form::button('<span class="fa fa-filter"></span> ' . trans('general.filter'), ['type' => 'submit', 'class' => 'btn btn-secondary btn-sm card-buttons']) !!}
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
@ -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> {{ trans('general.print') }}</a>
|
||||
</span>
|
||||
<span>
|
||||
|
@ -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>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="table-responsive mt-4 overflow-auto">
|
||||
<div class="table-responsive overflow-auto">
|
||||
<table class="table align-items-center">
|
||||
<thead class="border-top-style">
|
||||
<tr>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th style="width: 179px;">{{ trans_choice('general.totals', 1) }}</th>
|
||||
@php $total_total = 0; @endphp
|
||||
@foreach($class->totals[$table] as $date => $total)
|
||||
@php $total_total += $total; @endphp
|
||||
<th class="text-right">@money($total, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
@php $total_total = 0; @endphp
|
||||
@foreach($class->totals[$table] as $date => $total)
|
||||
@php $total_total += $total; @endphp
|
||||
<th class="text-right">@money($total, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
<th class="text-right">@money($total_total, setting('default.currency'), true)</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<div class="table-responsive mt-4">
|
||||
<div class="table-responsive overflow-auto">
|
||||
<table class="table align-items-center">
|
||||
<thead class="border-top-style">
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th style="width: 152px;"></th>
|
||||
@foreach($class->dates as $date)
|
||||
<th class="text-right pl-0">{{ $date }}</th>
|
||||
<th class="text-right">{{ $date }}</th>
|
||||
@endforeach
|
||||
<th class="text-right pl-0">{{ trans_choice('general.totals', 1) }}</th>
|
||||
<th class="text-right">{{ trans_choice('general.totals', 1) }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>{{ trans('reports.net') }}</th>
|
||||
<th style="width: 179px;">{{ trans('reports.net') }}</th>
|
||||
@php $total_total = 0; @endphp
|
||||
@foreach($class->totals[$table] as $total)
|
||||
@php $total_total += $total; @endphp
|
||||
<th class="text-right pl-0">@money($total, setting('default.currency'), true)</th>
|
||||
<th class="text-right">@money($total, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
<th class="text-right pl-0">@money($total_total, setting('default.currency'), true)</th>
|
||||
<th class="text-right">@money($total_total, setting('default.currency'), true)</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
@ -29,7 +29,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body mt--4" id="cashflow">
|
||||
<div class="card-body pt-0" id="cashflow">
|
||||
<div class="chart">
|
||||
{!! $cashflow->container() !!}
|
||||
</div>
|
||||
|
@ -32,7 +32,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body" id="expense-category-doughnut">
|
||||
<div class="chart dashboard-categories">
|
||||
<div class="dashboard-categories">
|
||||
{!! $donut_expenses->container() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -32,7 +32,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body" id="income-category-doughnut">
|
||||
<div class="chart dashboard-categories">
|
||||
<div class="dashboard-categories">
|
||||
{!! $donut_incomes->container() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user