<?php echo View::make('/../include/header'); ?>

    <section id="main-content">
      <section class="wrapper">
      <div class="row">
          <div class="col-lg-12 main-chart">
            <!--CUSTOM CHART START -->
            <div class="border-head">
              <h3>Add Order</h3>
            </div>
        <form method="post" action="/addcustomer">
        <?php echo e(csrf_field()); ?>

            <div class="form-group row">
                <label for="" class="col-sm-2 col-form-label">Page Name</label>
                <div class="col-sm-10">
                    <select class="form-control" name="pageName" required>
                        <!-- <option selected disabled>Page Name</option> -->
                        <?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($data->id); ?>"><?php echo e($data->pagename); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            </div>
            <div class="form-group row">
                <label for="" class="col-sm-2 col-form-label">Customer Name</label>
                <div class="col-sm-10">
                <input type="text" class="form-control" id="name" name="name" placeholder="Customer Name" required>
                </div>
            </div>
            <div class="form-group row">
                <label for="" class="col-sm-2 col-form-label">Customer Adress</label>
                <div class="col-sm-10">
                <textarea class="form-control" id="address" name="address" rows="6"></textarea>
                </div>
            </div>
            <div class="form-group row">
                <label for="" class="col-sm-2 col-form-label">Customer Phone</label>
                <div class="col-sm-10">
                <input type="text" class="form-control" id="phone" name="phone" placeholder="Customer Phone" required>
                </div>
            </div> <br><br>           
            <div class="form-group row">
                <div class="col-sm-4"></div>
                <div class="col-sm-4">
                <button type="submit" class="btn btn-primary btn-block">Add Order</button>
                </div>
            </div>
        </form>
        </div>
        </div>
      </section>
    </section>

<?php echo View::make('/../include/footer'); ?>



