@extends('layouts.master') @section('title'){{translate('overview report')}} @endsection @section('content')
{{translate('overview report')}} @if(!empty($start_date)) for period: {{$start_date}} to {{$end_date}} @endif

{{translate('date range')}}

{!! Form::open(array('url' => Request::url(), 'method' => 'post','class'=>'form-horizontal', 'name' => 'form')) !!}
{!! Form::text('start_date',null, array('class' => 'form-control date-picker', 'placeholder'=>"From Date",'required'=>'required')) !!}
to
{!! Form::text('end_date',null, array('class' => 'form-control date-picker', 'placeholder'=>"To Date",'required'=>'required')) !!}
{{translate('reset')}}!
{!! Form::close() !!}

{{translate('total check_in')}}

{{currency_converter(\App\Helpers\GeneralHelper::check_ins_total_amount($start_date,$end_date))}}

{{translate('total check_out')}}

{{currency_converter(\App\Helpers\GeneralHelper::check_outs_total_amount($start_date,$end_date))}}

{{translate('profit')}}

{{currency_converter(\App\Helpers\GeneralHelper::check_outs_total_amount($start_date,$end_date)-\App\Helpers\GeneralHelper::check_ins_total_amount($start_date,$end_date))}}

Monthly

{{translate('check_in')}} / {{translate('check_out')}}

@endsection @section('footer-scripts') @endsection