 @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="#">Operation</a></li>
            <li><a href="#">Manage Product</a></li>
            <li><a href="#">Item Group</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 Item Group</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' => 'item-group.store','method'=>'POST')) !!}
                    <div class="row">
                        {{--<div class="form-group col-sm-3 col-xs-12">--}}

                            {{--<label class="required">Project</label>--}}
                            {{--{!! Form::select('item_group_pro_id', $projects, null, ['class' => 'form-control project_id select2 change_prefix_code','required']) !!}--}}

                        {{--</div>--}}
                        {{--<div class="form-group col-sm-3 col-xs-12">--}}

                            {{--<label class="required">Category</label>--}}
                            {{--{!! Form::select('item_group_cat_id', $categories, null, ['class' => 'form-control category_id select2 change_prefix_code','required']) !!}--}}

                        {{--</div>--}}
                        <div class="form-group col-sm-6 col-xs-12">
                            <label class="required">Item Group Code</label>
                            {!! Form::text('item_group_code', null, array('placeholder' => 'Group Code','class' => 'form-control','required')) !!}
                        </div>
                        <div class="form-group col-sm-6 col-xs-12">
                            <label class="required">Item Group Name</label>
                            {!! Form::text('item_group_name', null, array('placeholder' => 'Group Name','class' => 'form-control','required')) !!}
                        </div>

                        <div class="col-sm-6">
                            <label>Description</label>
                            {!! Form::textarea('item_group_des', null, array('placeholder' => 'Description','class' => 'form-control','rows'=>'2')) !!}
                        </div>

                        <div class="col-sm-12 col-xs-12">
                            <br>
                            <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>
    </div>
    @endsection