@extends('layouts.admin') @section('title', trans('reports.summary.expense')) @section('content')
{!! Form::open(['url' => 'reports/expense-summary', 'role' => 'form', 'method' => 'GET']) !!}
{!! Form::select('year', $years, request('year', Date::now()->year), ['class' => 'form-control input-filter input-sm', 'onchange' => 'this.form.submit()']) !!}
{!! Form::close() !!}

@foreach($dates as $date) @endforeach @if ($expenses) @foreach($expenses as $category_id => $category) @foreach($category as $item) @endforeach @endforeach @else @endif @foreach($totals as $total) @endforeach
{{ trans_choice('general.categories', 1) }}{{ $date }}
{{ $categories[$category_id] }}@money($item['amount'], $item['currency_code'], true)
{{ trans('general.no_records') }}
{{ trans_choice('general.totals', 1) }}@money($total['amount'], $total['currency_code'], true)
@endsection @section('js') @endsection @section('scripts') @endsection