@extends('layouts.master')
@section('title', 'Charging Report')
@section('links')
@endsection
@section('content')
{!! Form::open(['route' => 'charging_report','method'=>"GET",'autocomplete'=>"off",'role' => 'form', 'class'=>'template-form form-inline','id' => 'form','data-submit' => 'noAjax']) !!}
{!! Form::select('application', [null => 'Select Organisation']+$packages, isset($application) ? $application : old('application'),['id'=>'application','class'=>'form-control select2-show-search input-xlarge select2me'])!!}
{!! Form::select('station', [null => 'Select Stations']+$stations, isset($station) ? $station : old('station'),['id'=>'station','class'=>'station form-control select2-show-search select2me'])!!}
{!! Form::select('cps', [null => 'CPS']+$charging_points, isset($cps) ? $cps : old('cps'),['id'=>'cps','class'=>'form-control select2-show-search input-xlarge select2me'])!!}
{!! Form::close() !!}
Charging Reports {{ $fromdate }} To {{ $todate }} {{ $message }}
So No |
Station ID |
Ocpp Id |
port |
User Name |
Date |
In Time |
Out Time |
Power Usage |
Amount |
@php $i=1 @endphp
@foreach ($users as $user)
{{ $i }} |
{{ $user->station_id }} |
{{ $user->nozzle_id }} |
{{ $user->charger_id }} |
{{ $user->first_name.' '.$user->last_name }} |
{{ date('d-m-Y',strtotime($user->created_at)) }} |
{{ date('h:i:s',strtotime($user->plug_in_time)) }} |
{{ date('h:i:s',strtotime($user->plug_out_time)) }} |
{{ $user->power_usage }} |
{{ $user->amount }} |
@php $i++; @endphp
@endforeach
@endsection
@section('scripts')
@endsection