@extends('adminlte::page') @section('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="#">Construction</a></li>
            <li><a href="#">Set Up Information</a></li>
            <li><a href="#">Suppliers</a></li>
            <li><a href="#">Create</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>Create Suppliers</h3>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12 col-xs-12">

            <div class="form-wrapper">
                {!! Form::open(array('route' => 'construction-suppliers.store','method'=>'POST', 'enctype'=>'multipart/form-data')) !!}
                <div class="row">
                    <div class="form-group col-sm-4 col-xs-12">

                        <label class="required">Supplier Name</label>
                        {!! 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>
                        {!! 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>
                        {!! Form::email('email', null, array('placeholder' => 'Email','class' => 'form-control ')) !!}

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

                        <label class="required">Province </label>
                        {!! Form::select('p_province', $provinces, null, ['class' => 'form-control select2','id'=>'p_province','required']) !!}

                    </div>

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

                        <label class="required">District </label>
                        <select class="select2 form-control" id="p_district" name="p_district" required>
                            <option value="" disabled selected>Please Choose</option>

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

                        <label class="required">Commune </label>
                        <select class="select2 form-control" id="p_commune" name="p_commune" required>
                            <option value="" disabled selected>Please Choose</option>

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

                        <label class="required">Village </label>
                        <select class="select2 form-control" id="p_village" name="p_village" required>
                            <option value="" disabled selected>Please Choose</option>
                        </select>
                    </div> -->
                    <div class="form-group col-sm-4 col-xs-12">

                        <label>Address</label>
                        {!! 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>
                        {!! 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>

                {!! Form::close() !!}
            </div>
        </div>
    </div>
</div>
@endsection @section('js')
<script type="text/javascript" src="{{asset('assets/controller/location.js')}}"></script>
@endsection