 @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="#">Accounting</a></li>
                <li><a href="#">Create Account Payable</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>Create Account Payable</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' => 'accounting-payable.store','method'=>'POST','enctype'=>'multipart/form-data')) !!}
                <div class="row">
                    <div class="form-group col-sm-6 col-xs-12">
                        <label class="required">Project </label>
                        {!! Form::select('project_id', $project, null, ['class' => 'form-control select2','required']) !!}
                    </div>
                    <div class="form-group col-sm-6 col-xs-12">
                        <label class="required">Account Chart</label>
                        {!! Form::select('payable_from', $account_chart, null, ['class' => 'form-control select2 form-control','required']) !!}
                    </div>
                    <div class="form-group col-sm-6 col-xs-12">
                        <label class="required">Supplier</label>
                        {!! Form::select('supplier_name', $supplier, null, ['class' => 'form-control select2 form-control','required']) !!}
                    </div>
                    <div class="form-group col-sm-6 col-xs-12">
                        <label class="required">Account Payable Amount</label>
                        {!! Form::text('payable_amount', null, array('placeholder' => 'Account Payable Amount','class' => 'form-control number-only','required')) !!}
                    </div>
                    <div class="form-group col-sm-6 col-xs-12">
                        <label class="required">Date For Pay</label>
                        {!! Form::text('pay_date', null, array('placeholder' => 'Date For Pay','class' => 'form-control date_picker','required')) !!}
                    </div>
                    <div class="form-group col-sm-6 col-xs-12">
                        <label>Account Payable Invoice</label>
                        {!! Form::text('payable_invoice', null, array('placeholder' => 'Account Payable Invoice','class' => 'form-control')) !!}
                    </div>
                    <div class="form-group col-sm-12 col-xs-12">
                        <label for="">Description</label>
                        {!! Form::textarea('payable_des', null, array('placeholder' => 'Description','class' => 'form-control','rows'=>'3')) !!}
                    </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