 
<?php $__env->startSection('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="#">Branchs Infomation</a></li>
            <li><a href="#">Assign Branch</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>Company Branch Informaiton</h3>
                        </div>
                    </div>
                    
                  
                </div>
            </div>
        </div>

        <div class="form-wrapper">
            
            <div class="detail-profile">
                <div class="row">
                    <div class="col-sm-3">
                        <img src='<?php echo e(asset("assets/images/resize")); ?>/<?php echo e($branches->branch_img); ?>' width="150px">
                    </div>
                    <div class="col-sm-9">
                        <ul>
                            <li><span class="label1">Date Created </span><span>: <?php echo e(date('Y-m-d',strtotime($branches->created_at))); ?></span></li>
                            <li><span class="label1">Branch Name </span><span>: <?php echo e($branches->branch_en); ?></span></li>
                            <li><span class="label1">Type </span><span>: <?php if($branches->key_code != ''): ?> <strong class="text-success">Company</strong> <?php else: ?> <strong class="text-success">Branch</strong> <?php endif; ?></span></li>
                            <li><span class="label1">Phone </span><span>: <?php echo e($branches->branch_phone); ?></span></li>
                            <li><span class="label1">Email / Website </span><span>: <?php echo e($branches->branch_email); ?></span></li>
                            <li><span class="label1">Address </span><span>: <?php echo e($branches->branch_address); ?></span></li>

                            <hr>


                            <?php echo Form::open(array('route' => 'store.branch','method'=>'POST','enctype'=>'multipart/form-data')); ?>

                                <div class="row">
                                    <input type="hidden" name="branch_id" value="<?php echo e($branches->id); ?>">
                                    <div class="form-group col-sm-6 col-xs-12">
                                        <label class="required">First Name</label>
                                        <?php echo Form::text('user_firstname', null, array('placeholder' => 'First Name','class' => 'form-control')); ?>

                                    </div>
                                    <div class="form-group col-sm-6 col-xs-12">
                                        <label class="required">Last Name</label>
                                        <?php echo Form::text('user_lastname', null, array('placeholder' => 'Last Name','class' => 'form-control')); ?>

                                    </div>
                                    <div class="form-group col-sm-6 col-xs-12">
                                        
                                        <label class="required">Gender</label>
                                        <select name="user_gender" id="" class="select2 form-control">
                                            <option value="Male">Male</option>
                                            <option value="Female">Female</option>
                                        </select>
                                           
                                    </div>
                                   
                                    <div class="form-group col-sm-6 col-xs-12">
                                        
                                            <label class="required">Phone Number</label>
                                            <?php echo Form::text('user_phone', null, array('placeholder' => 'Phone Number','class' => 'form-control')); ?>

                                           
                                    </div>
                                   
                                    
                                    <div class="form-group col-sm-6 col-xs-12">
                                        
                                            <label class="required">Email</label>
                                             <?php echo Form::email('email', null, array('placeholder' => 'Email','class' => 'form-control')); ?>

                                           
                                    </div>
                                    <div class="form-group col-sm-6 col-xs-12">
                                        
                                            <label class="required">Password</label>
                                            <?php echo Form::password('password', array('placeholder' => 'Password','class' => 'form-control')); ?>

                                           
                                    </div>
                                    <div class="form-group col-sm-6 col-xs-12">
                                        
                                            <label class="required">Confirm Password</label>
                                            <?php echo Form::password('confirm_password', array('placeholder' => 'Password','class' => 'form-control')); ?>

                                           
                                    </div>
                                     <div class="form-group col-sm-6 col-xs-12">
                
                                            <label class="required">Roles </label>
                                            <?php echo Form::select('roles[]', $roles,[], array('class' => 'form-control select2')); ?>

                                           
                                    </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>
                                
                            <?php echo Form::close(); ?>




                        </ul>


                    </div>
                </div>
            </div>

        </div>
    </div>
    <?php $__env->stopSection(); ?>
<?php echo $__env->make('adminlte::page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>