

@extends('layouts.agencies')
 
@section('content')
<?php Fun::lang()?>
<div class="main-content-wrapper">
     <div class="main-content-wrapper">
        <div class="breadcrumb">
            <div class="container">
                <ul class="">
                    <li><a href="{{route('dashboard-agencies.index')}}">Dashboard<span>/</span></a></li>
                    <li><a href="#">Subordinate<span>/</span></a></li>
                    <li><a href="">Register</a></li>
                </ul>
            </div>
        </div>
        
    </section>  

    <div class="main-box">
        <div class="main-content">
            <div class="main-admin-dashboard">
                <div class="container">
                    <div class="row">
                            <div class="col-sm-12 col-xs-12">
                                <div class="form-wrapper">
                                    @if (count($errors) > 0)
                                        <div class="alert-message alert-danger">
                                        <strong>Whoops!</strong> There were some problems with your input.<br><br>
                                        <ul>
                                            @foreach ($errors->all() as $error)
                                                <li>{{ $error }}</li>
                                            @endforeach
                                        </ul>
                                        </div>
                                    @endif
                                    <div class="page-wrapper">
                                        <div class="form-wrapper">        
                                            {!! Form::open(array('route' => 'funds-register.store','method'=>'POST')) !!}
                                            <input type="text" name="user_id" value="{{Auth::user()->id}}" hidden="">
                                                <div class="row">
                                                    
                                                    <div class="form-group col-sm-6 col-xs-12">
                                                        <div class="col-3">
                                                            <label for="" class="required">Account Number</label>
                                                            {!! Form::text('account_number', $increas, array('placeholder' => 'Account Number','class' => 'form-control','readonly')) !!}
                                                            <span class="focus-border"></span>  
                                                        </div>
                                                    </div>
                                                    <div class="form-group col-sm-6 col-xs-12">
                                                        <div class="col-3">
                                                            <label for="" class="required">Account Name</label>
                                                            {!! Form::text('account_name', $account_name, array('placeholder' => 'Account Name','class' => 'form-control','readonly')) !!}
                                                            <span class="focus-border"></span>  
                                                        </div>
                                                    </div>
                                                    <div class="form-group col-sm-6 col-xs-12">
                                                        <div class="col-3">
                                                            <label for="" class="required">Username</label>
                                                            {!! Form::text('username', null, array('placeholder' => 'Username','class' => 'form-control')) !!}
                                                            <span class="focus-border"></span>  
                                                        </div>
                                                    </div>
                                                    <div class="form-group col-sm-6 col-xs-12">
                                                        <div class="col-3">
                                                            <label for="" class="required">Password</label>
                                                            {!! Form::password('password', array('placeholder' => 'Password','class' => 'form-control')) !!}
                                                            <span class="focus-border"></span>  
                                                        </div>
                                                    </div>
                                                    <div class="form-group col-sm-6 col-xs-12">
                                                        <div class="col-3">
                                                            <label for="" class="required">Confirm Password</label>
                                                            {!! Form::password('confirm_password', array('placeholder' => 'Password','class' => 'form-control')) !!}
                                                            <span class="focus-border"></span>  
                                                        </div>
                                                    </div>
                                                    
                                                   
                                                    <div class="col-sm-12 col-xs-12">
                                                        <div class="form-group">
                                                            <input type="submit" value="Save" class="button_primary pull-right">
                                                            
                                                        </div>
                                                    </div>
                                                </div>
                                                
                                            {!! Form::close() !!}
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                </div>
            </div>
        </div>
    </div>
    
</div>
@endsection


@section('script')
<script type="text/javascript">
        function function_checked(){
            
            $(".a").chosen('destroy');
        }
        
    </script>

@endsection








