@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 Withdrawal</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 Withdrawal</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' => 'accouting-withdrawal.store','method'=>'POST')) !!}
                    <div class="row">
                        <div class="form-group col-sm-6 col-xs-12">
                            <label class="required">Account Type</label>
                            {!! Form::select('journal_acccode', $account_chats, null, ['class' => 'form-control select2','required']) !!}
                        </div>
                        <div class="form-group col-sm-6 col-xs-12">
                            <label class="required">Amount</label>
                            {!! Form::text('amount', null, array('placeholder' => 'Amount','class' => 'form-control number-only','required')) !!}
                        </div>
                        <div class="form-group col-sm-6 col-xs-12">
                            <label class="required">Date</label>
                            {!! Form::text('journal_paydate', null, array('placeholder' => 'Date','class' => 'form-control date_picker','autocomplete'=>'off','required')) !!}
                        </div>
                        <div class="form-group col-sm-6 col-xs-12">
                            <label>Invoice</label>
                            {!! Form::text('journal_invoice', null, array('placeholder' => 'Invoice','class' => 'form-control')) !!}
                        </div>
                        <div class="col-sm-12">
                            <div class="form-group">
                                <label>Description</label>
                                {!! Form::textarea('journal_des', null, array('placeholder' => 'Description','class' => 'form-control','rows'=>'3')) !!}
                            </div>
                        </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