<?php $__env->startSection('content'); ?>
<div class="container">
    <section class="content">
        <div class="row">
        	<div class="col-md-8 col-sm-offset-2">
            	<div class="box box-success">
                	<div class="box-header with-border">
                    	<h3 class="box-title">Created By Ticket Report Form</h3> 
                	</div>
                	<div class="box-body">

                		<div class="col-sm-12">
    						
    						<div class="card">
    							<div class="card-header">
    								<h3 class="text-center"><i class="fa fa-chart-bar"></i> <code><b>Created By Ticket</b></code> Report Form</h3>
    							</div>
    							<div class="card-body">
    						  		
    								
                                    <?php echo Form::open(['url' => 'created-by/ticket-show', 'method' => 'get', 'class' => 'form-horizontal']); ?>


                                    <div class="form-group <?php echo e($errors->has('start_date') ? 'has-error' : ''); ?>">
                                        <?php echo Form::label('start_date', 'Start Date', ['class' => 'required col-3 col-sm-3 control-label']); ?>

                                        <div class="col-xs-9 col-sm-9">
                                            <?php echo Form::text('start_date', null, ['class' => 'form-control', 'placeholder' => 'Select Start Date', 'autocomplete' => 'off', 'id' => 'start_date', 'readonly' => 'readonly', 'required' => 'required']); ?>

                                            <span class="text-danger">
                                                <?php echo e($errors->first('start_date')); ?>

                                            </span>
                                        </div>
                                    </div>

                                    <div class="form-group <?php echo e($errors->has('end_date') ? 'has-error' : ''); ?>">
                                        <?php echo Form::label('end_date', 'End Date', ['class' => 'required col-3 col-sm-3 control-label']); ?>

                                        <div class="col-xs-9 col-sm-9">
                                            <?php echo Form::text('end_date', null, ['class' => 'form-control', 'placeholder' => 'Select Start Date', 'autocomplete' => 'off', 'id' => 'end_date', 'readonly' => 'readonly', 'required' => 'required']); ?>

                                            <span class="text-danger">
                                                <?php echo e($errors->first('end_date')); ?>

                                            </span>
                                        </div>
                                    </div>

                                    <div class="box-footer">
                                        
                                        <!-- <a href="<?php echo e(url('/profile')); ?>" class="btn btn-default">Cancel</a> -->
                                        
                                        <?php echo Form::submit('Submit', ['class' => 'btn btn-success pull-right']); ?>

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


    							</div>
    						</div>
    					</div>

                	</div>
          		</div>
        	</div>
      	</div>
    </section>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('style'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('assets/css/bootstrap-datepicker.min.css')); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
    <script src="<?php echo e(asset('assets/js/bootstrap-datepicker.min.js')); ?>"></script>

    <script type="text/javascript">
        $('#start_date').datepicker({
            format:'yyyy-mm-dd',
            "autoclose": true
        }).datepicker("setDate",'now');

        $('#end_date').datepicker({
            format:'yyyy-mm-dd',
            "autoclose": true
        }).datepicker("setDate",'now');
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>