<?php $__env->startSection('title'); ?>
    Supplier Tracking Page
<?php $__env->stopSection(); ?>
<?php $__env->startSection('css'); ?>

<?php $__env->stopSection(); ?>
<!-- page content -->
<?php $__env->startSection('content'); ?>
    <div class="right_col" role="main">
        <div class="">
            <div class="clearfix"></div>
            <?php if(Session::has('success')): ?>
                <div class="alert alert-success">
                    <?php echo e(Session::get('success')); ?>

                </div>
            <?php endif; ?>
            <?php if(Session::has('error_message')): ?>
                <div class="alert alert-danger">
                    <?php echo e(Session::get('error')); ?>

                </div>
            <?php endif; ?>
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="x_panel">
                        <div class="x_title">
                            <h2>Entry Expenses Amount
                                 <a href="<?php echo e(route('supplier.list')); ?>" class="btn btn-xs btn-primary">View Supplier</a>
                            </h2>
                            <ul class="nav navbar-right panel_toolbox">
                                <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                                </li>
                                <li class="dropdown">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                                       aria-expanded="false"><i class="fa fa-wrench"></i></a>
                                    <ul class="dropdown-menu" role="menu">
                                        <li><a href="#">Settings 1</a>
                                        </li>
                                        <li><a href="#">Settings 2</a>
                                        </li>
                                    </ul>
                                </li>
                                <li><a class="close-link"><i class="fa fa-close"></i></a>
                                </li>
                            </ul>
                            <div class="clearfix"></div>
                        </div>
                        <div class="x_content">
                           <div class="row">
                               <div class="col-sm-3"></div>
                               <div class="col-sm-6">
                                    <form action="<?php echo e(route('supplier.store')); ?>" method="post">
                                        <?php echo e(csrf_field()); ?>

                                        <div class="form-group">
                                            <label for="party_name">Supplier Name</label>
                                            <input type="text" class="form-control" id="supplier_name" name="supplier_name" value="<?php echo e(old('supplier_name')); ?>" placeholder="Enter Supplier Name">
                                            <span class="error"><b>
                                                 <?php if($errors->has('supplier_name')): ?>
                                                      <?php echo e($errors->first('supplier_name')); ?>

                                                 <?php endif; ?></b></span>
                                        </div>
                                         <div class="form-group">
                                            <label for="party_name">Supplier Phone</label>
                                            <input type="text" class="form-control" id="supplier_phone" name="supplier_phone" value="<?php echo e(old('supplier_phone')); ?>" placeholder="Enter Supplier Phone">
                                            <span class="error"><b>
                                                 <?php if($errors->has('supplier_phone')): ?>
                                                      <?php echo e($errors->first('supplier_phone')); ?>

                                                 <?php endif; ?></b></span>
                                        </div>
                                         <div class="form-group">
                                            <label for="party_name">Supplier Email</label>
                                            <input type="text" class="form-control" id="supplier_email" name="supplier_email" value="<?php echo e(old('supplier_email')); ?>" placeholder="Enter Supplier Email">
                                            <span class="error"><b>
                                                 <?php if($errors->has('supplier_name')): ?>
                                                      <?php echo e($errors->first('supplier_email')); ?>

                                                 <?php endif; ?></b></span>
                                        </div>
                                         <div class="form-group">
                                            <label for="party_name">Supplier Address</label>
                                            <input type="text" class="form-control" id="supplier_address" name="supplier_address" value="<?php echo e(old('supplier_address')); ?>" placeholder="Enter Supplier Address">
                                            <span class="error"><b>
                                                 <?php if($errors->has('supplier_address')): ?>
                                                      <?php echo e($errors->first('supplier_address')); ?>

                                                 <?php endif; ?></b></span>
                                        </div>
                                        <div class="form-group">
                                            <label for="party_name">Previous Due</label>
                                            <input type="text" class="form-control" id="previous_due" name="previous_due" value="<?php echo e(old('previous_due')); ?>" placeholder="Previous Due">
                                            <span class="error"><b><?php echo e($errors->first('previous_due')); ?></b></span>
                                        </div>
                                        <!-- /.box-body -->
                                        <div class="box-footer">
                                            <button type="submit" name="btnSave" class="btn btn-primary btn-block" >Supplier Enty Save</button>
                                        </div>
                                    </form>
                               </div>
                               <div class="col-sm-3"></div>
                           </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- /page content -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>

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