@extends('layouts.master') @section('title', 'Charging Report') @section('links') @endsection @section('content')
{!! Form::open(['url' => 'app-user/charging-history/'.\Crypt::encrypt($user_id),'method'=>"GET",'autocomplete'=>"off",'role' => 'form', 'class'=>'template-form form-inline','id' => 'form','data-submit' => 'noAjax']) !!} {!! 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 {{ $message }}
@php $i=1 @endphp @foreach ($history as $user) @php $i++; @endphp @endforeach
So No Station ID Ocpp Id port Date In Time Out Time Start Meter End Meter Usage Tax Total Option
Total
{{ $i }} {{ $user->station_id }} {{ $user->nozzle_id }} {{ $user->charger_id }} {{ 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->starting_meter }} {{ $user->ending_meter }} {{ $user->power_usage }} {{ $user->amount-$user->base_fare }} {{ $user->amount }}
@endsection @section('scripts') @endsection