<?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 Product</h3>
            </div>
        <form method="post" action="/addItem">
        {{csrf_field()}}
            <div class="form-group row">
                <label for="" class="col-sm-2 col-form-label">Product Name</label>
                <div class="col-sm-10">
                <input type="text" class="form-control" id="name" name="name" placeholder="Product Name"required>
                </div>
            </div>
            <div class="form-group row">
                <label for="" class="col-sm-2 col-form-label">Product Code</label>
                <div class="col-sm-10">
                <input type="text" class="form-control" id="code" name="code" placeholder="Product Code" required>
                </div>
            </div>
            <div class="form-group row">
                <label for="" class="col-sm-2 col-form-label">Sell Price</label>
                <div class="col-sm-10">
                <input type="number" class="form-control" id="price" name="price" placeholder="Sell Price" required>
                </div>
            </div>
            <div class="form-group row">
                <label for="" class="col-sm-2 col-form-label">Cost Price</label>
                <div class="col-sm-10">
                <input type="number" class="form-control" id="cost" name="cost" placeholder="Cost Price" required>
                </div>
            </div>
            <div class="form-group row">
                <label for="" class="col-sm-2 col-form-label">Stock</label>
                <div class="col-sm-10">
                <input type="number" class="form-control" id="stock" name="stock" placeholder="Stock" 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">Submit</button>
                </div>
            </div>
        </form>
        </div>
        </div>
      </section>
    </section>

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



