@extends('franchise.layouts.master') @section('title', 'Charging Report') @section('links') @endsection @section('content')
{!! Form::open(['route' => 'charging_report','autocomplete'=>"off",'role' => 'form', 'class'=>'template-form form-inline','id' => 'form','data-submit' => 'noAjax']) !!}
    {{--
  --}}  
{!! Form::close() !!}
Charging Reports {{ $fromdate }} To {{ $todate }}
@php $i=1 @endphp @foreach ($users as $user) @php $i++; @endphp @endforeach
So No Station ID Ocpp Id port User Name Date In Time Out Time Power Usage Amount
Total
{{ $i }} {{ $user->station_id }} {{ $user->ocpp_id }} {{ $user->charger_id }} {{ $user->first_name.' '.$user->last_name }} {{ date('d-m-Y',strtotime($user->created_at)) }} {{ $user->plug_in_time }} {{ $user->plug_out_time }} {{ $user->power_usage }} {{ $user->amount }}
@endsection @section('scripts') @endsection