<?php $__env->startSection('title'); ?> Generate Building <?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<div class='col-lg-4 col-lg-offset-4'>

    <h1>Generate Report</h1>

    <?php echo Form::open(['role' => 'form', 'action' => 'ReportController@getGenerate', 'method' => 'GET']); ?>


    <div class='form-group'>
        <?php echo Form::label('building_id', 'Building'); ?>

        <?php echo Form::select('building_id', $buildings, null, ['class' => 'form-control']); ?>

    </div>

    <div class="form-group">
        <?php echo Form::checkbox('columns_group[]', 'users.username', null, array('id' => 'username')); ?>

        <?php echo Form::label('username', 'Username'); ?>

        <br>
        <?php echo Form::checkbox('columns_group[]', 'users.password', null, array('id' => 'password')); ?>

        <?php echo Form::label('password', 'Password'); ?>

        <br>
        <?php echo Form::checkbox('columns_group[]', 'tenants.first_name', null, array('id' => 'first_name')); ?>

        <?php echo Form::label('first_name', 'First Name'); ?>

        <br>
        <?php echo Form::checkbox('columns_group[]', 'tenants.last_name', null, array('id' => 'last_name')); ?>

        <?php echo Form::label('last_name', 'Last Name'); ?>

        <br>
        <?php echo Form::checkbox('columns_group[]', 'tenants.apartment', null, array('id' => 'apartment')); ?>

        <?php echo Form::label('apartment', 'Apartment'); ?>

        <br>
        <?php echo Form::checkbox('columns_group[]', 'tenants.nights_used', null, array('id' => 'nights_used')); ?>

        <?php echo Form::label('nights_used', 'Nights Used'); ?>

        <br>
    </div>

    <div class='form-group'>
        <?php echo Form::submit('Generate Report', ['class' => 'btn btn-primary']); ?>

    </div>

    <?php echo Form::close(); ?>


</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>