 <?php $__env->startSection('content'); ?>
<?php Fun::lang() ?>
<div class="title-page">
    <div class="page-bar">
        <ul class="page-breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li>
            <li><a href="#">Suppliers</a></li>
            <li><a href="#">Edit</a></li>
        </ul>
    </div>
</div>
<div class="page">
    <div class="top-content">
        <div class="row">
            <div class="col-sm-12 col-xs-12">
                <div class="title-page">
                    <div class="pull-left">
                        <h3>Edit Suppliers</h3>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12 col-xs-12">

            <div class="form-wrapper">
                <?php echo Form::model($supplier, ['method' => 'PATCH','route' => ['construction-suppliers.update', $supplier->id],'enctype'=>'multipart/form-data']); ?>

                <div class="row">
                    <div class="form-group col-sm-4 col-xs-12">

                        <label class="required">Supplier Name</label>
                        <?php echo Form::text('name', null, array('placeholder' => 'Supplier Name','class' => 'form-control','required')); ?>


                    </div>
                    <div class="form-group col-sm-4 col-xs-12">

                        <label class="required">Supplier Phone</label>
                        <?php echo Form::text('phone', null, array('placeholder' => 'Project Phone','class' => 'form-control','required')); ?>

                    </div>
                    <div class="form-group col-sm-4 col-xs-12 commission_amount_con">

                        <label class="commission_amount_con">Email</label>
                        <?php echo Form::email('email', null, array('placeholder' => 'Email','class' => 'form-control ')); ?>


                    </div>
                    <div class="form-group col-sm-4 col-xs-12">

                        <label>Address</label>
                        <?php echo Form::textarea('address', null, array('placeholder' => 'Address','class' => 'form-control','rows'=>'2')); ?>


                    </div>

                    <div class="form-group col-sm-4 col-xs-12">

                        <label>Description</label>
                        <?php echo Form::textarea('description', null, array('placeholder' => 'Description','class' => 'form-control','rows'=>'2')); ?>


                    </div>

                    <div class="col-sm-12 col-xs-12">
                        <div class="form-group">
                            <button type="submit" class="button_sm button_primary pull-right"><span class="fa fa-save"></span> Save</button>
                            <button type="button" onClick="javascript:history.go(-1)" class="button_sm button_warning pull-right">
                                <span class=" fa fa-arrow-circle-left"></span> Back</button>
                        </div>
                    </div>
                </div>

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

            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?>
<script type="text/javascript" src="<?php echo e(asset('assets/controller/location.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('adminlte::page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>