@extends('adminlte::page') @section('content')
<?php Fun::lang()?>
<div class="title-add">
    <div class="page-bar"> 
        <ul class="page-breadcrumb"> 
            <li> <a class="ng-binding" href="#"><i class="fa fa-dashboard"></i> Dashboard</a> </li>
            <li><a href="#">Manage Agency</a></li>
            <li><a href="#">Commission Rate</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-add">
                        <div class="pull-left">
                            <h3>Agency Commission Rate</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' => 'agency-commission-rate.store','method'=>'POST')) !!}
                        <div class="row">
                            <div class="form-group col-sm-6 col-xs-12">

                                <label class="required">Agency Type</label>
                                {!! Form::select('select_option', $select_option, null, ['class' => 'form-control select2','required']) !!}

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

                                <label class="required">Rate %</label>
                                {!! Form::text('rate', null, array('placeholder' => 'Commission Rate','class' => 'form-control number-only','required')) !!}

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

                                <label class="required">Condition Agency %</label>
                                {!! Form::text('commission_condition', null, array('placeholder' => 'Commission Rate','class' => 'form-control number-only','required')) !!}

                            </div> -->

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

                                <label>Description</label>
                                {!! Form::textarea('description', null, array('placeholder' => 'Description','class' => 'form-control','rows'=>'3')) !!}

                            </div>
                            <div class="form-group 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