@extends('admin.layouts.master') @section('content')
Reservations Calendar Reports
{{ Form::open(array('method' => 'get')) }}
{{ Form::label('form_date', 'From Date', ['style' => 'white-space: nowrap;overflow: hidden;text-overflow: ellipsis;']) }} {{ Form::text('from_date', Input::get('from_date'), array('class' => 'form-control', 'data-provide' => 'datepicker', 'data-date-format' => 'yyyy/mm/dd')) }}
{{ Form::label('to_date', 'To Date', ['style' => 'white-space: nowrap;overflow: hidden;text-overflow: ellipsis;']) }} {{ Form::text('to_date', Input::get('to_date'), array('class' => 'form-control', 'data-provide' => 'datepicker', 'data-date-format' => 'yyyy/mm/dd')) }}
{{ Form::label('has_category', 'Category', ['style' => 'white-space: nowrap;overflow: hidden;text-overflow: ellipsis;']) }} {{ Form::select('has_category', $categories, Input::get('has_category'), array('class'=>'bs-select form-control', 'data-live-search'=>'true', 'data-size'=>'8')) }}
{{ Form::label('interval', 'Time Interval', ['style' => 'white-space: nowrap;overflow: hidden;text-overflow: ellipsis;']) }} {{ Form::select('interval', $time_intervals, Input::get('interval'), array('class'=>'bs-select form-control', 'data-live-search'=>'false', 'data-size'=>'8')) }}
{{ Form::button(' Filter', array('type' => 'submit', 'class' => 'btn btn-primary btn-lg pull-right')) }}
{{ Form::close() }}
@foreach($reservations as $reservation) @endforeach @foreach($reservations as $reservation) @endforeach
{{ $reservation['time'] }}
{{ $reservation['count'] }}

Total # of Reservations: {{ $total_reservation_count }}
Total Reservations Time: {{ $total_reservation_time }}

Export

@stop @section('scripts') @parent {{ HTML::script('assets/global/plugins/datatables/media/js/jquery.dataTables.min.js') }} {{ HTML::script('assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js') }} @stop