@extends('layouts.app') @section("breadcrumb")
  • @lang('menu.reports')
  • @lang('fleet.user_report')
  • @endsection @section('content')

    @lang('fleet.user_report')

    {!! Form::open(['route' => 'reports.users','method'=>'post','class'=>'form-inline']) !!}
    {!! Form::label('year', __('fleet.year1'), ['class' => 'form-label']) !!} {!! Form::select('year', $years, $year_select,['class'=>'form-control']); !!}
    {!! Form::label('month', __('fleet.month'), ['class' => 'form-label']) !!} {!! Form::selectMonth('month',$month_select,['class'=>'form-control']); !!}
    {!! Form::label('user', __('fleet.users'), ['class' => 'form-label']) !!}
    {!! Form::close() !!}
    @if(isset($result))

    @lang('fleet.report')

    @foreach($data as $row) @endforeach
    @lang('fleet.book_by') @lang('fleet.pickup') @lang('fleet.dropoff') @lang('fleet.journey_status') @lang('fleet.amount')
    {{$row->user->name}} @if($row->pickup != null) {{date('d/m/Y g:i A',strtotime($row->pickup))}} @endif @if($row->dropoff != null) {{date('d/m/Y g:i A',strtotime($row->dropoff))}} @endif @if($row->status == 1) @lang('fleet.completed') @else @lang('fleet.not_completed') @endif @if($row->status == 1) {{Hyvikk::get('currency')}} {{$row->getMeta('total')}} @endif
    @endif @endsection @section("script") @endsection