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

    @lang('fleet.customerReport')

    {!! Form::open(['route' => 'reports.customers','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::close() !!}

    @lang('fleet.monthlyReport')

    @lang('fleet.topCustomers')


    @php($i=0) @foreach($top10 as $key=>$val) @if($val != 0) @php($i++) @endif @endforeach
    @lang('fleet.customer'): @lang('fleet.total')
    {{$i}}.   {{$key}} {{ Hyvikk::get("currency")}}{{$val}}

    @lang('fleet.yearlyReport')

    @endsection @section('script2') @endsection @section("script") @endsection