@extends('layouts.main') @section('title', 'GLESEC Member Portal') @section('breadcrumb')

Units Consumption Report

@endsection @section('content')

Select Period and Service

{!! Form::open(['route' => ['accounting.unit_consumption_report.index'], 'method' => 'get', 'id' => 'filter_form']) !!}
{!! Form::select('month', \App\Models\Timeoff::$month, request('month') ?? \Carbon\Carbon::now()->subMonth()->format('n'), ['class' => 'form-control', 'id' => 'filter_month']) !!}
{!! Form::select('year', $filter_years, request('year') ?? date('Y'), ['class' => 'form-control', 'id' => 'filter_year']) !!}
{!! Form::select('service_id', $services, null, ['class' => 'form-control', 'id' => 'filter_service']) !!}
Reset {!! Form::submit('Submit', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}

Monthly Indicators for {{ $data['service'] ? $data['service']['units'] : '-' }}

@if($data['service']) @else @endif

Committed Level and Actual Cost Invoice - 6 Months

@if($data['chart']['labels'])
@else @endif

Potential Saving - 6 Months

@if($data['chart']['labels'])
@else @endif
@endsection @section('scripts') @endsection