@extends('layouts.master') @section('title') Generate Building @stop @section('content')

Generate Report

{{ Form::open(['role' => 'form', 'action' => 'ReportController@getGenerate', 'method' => 'GET']) }}
{{ Form::label('building_id', 'Building') }} {{ Form::select('building_id', $buildings, null, ['class' => 'form-control']) }}
@if ($errors->first('columns_group'))
At least one option must be selected
@endif {{ Form::checkbox('columns_group[]', 'users.username', null, array('id' => 'username')) }} {{ Form::label('username', 'Username') }}
{{ Form::checkbox('columns_group[]', 'tenants.apartment', null, array('id' => 'apartment')) }} {{ Form::label('apartment', 'Apartment') }}
{{ Form::checkbox('columns_group[]', 'tenants.nights_used', null, array('id' => 'nights_used')) }} {{ Form::label('nights_used', 'Nights Used') }}
{{ Form::submit('Generate Report', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@stop