<?php
    use Carbon\Carbon;
?>


<?php $__env->startSection('title', 'User'); ?>

<?php $__env->startPush('css'); ?>
<?php $__env->stopPush(); ?>

<?php $__env->startSection('content'); ?>

    <div class="btn-group">
        <a style="color:white; font-size:15px; padding: 3px 7px 5px 0;" href="<?php echo e(route('admin.user.index')); ?>" id="addRow1" class="btn deepPink-bgcolor">
            <i style="color:white; font-size:12px; padding: 3px;" class="fa fa-arrow-left"></i>BACK 
        </a>
    </div>
    <div class="card">
        <div class="card-topline-aqua">
            <header></header>
        </div>
        <div class="white-box">
            <!-- Nav tabs -->
            <div class="p-rl-20">
                <ul class="nav customtab nav-tabs" role="tablist">
                    <li class="nav-item"><a href="#tab1" class="nav-link active"  data-toggle="tab" >About User</a></li>
                </ul>
            </div>
            <!-- Tab panes -->
            <div class="tab-content">
                <div class="tab-pane active fontawesome-demo" id="tab1">
                    <div id="biography" >
                        <div class="row">
                            <div class="col-md-3 col-6 b-r"> <strong>Full Name</strong>
                                <br>
                                <p class="text-muted"><?php echo e($user->name); ?></p>
                            </div>
                            <div class="col-md-3 col-6 b-r"> <strong>Username</strong>
                                <br>
                                <p class="text-muted"><?php echo e($user->username); ?></p>
                            </div>
                            <div class="col-md-3 col-6 b-r"> <strong>Email</strong>
                                <br>
                                <p class="text-muted"><?php echo e($user->email); ?></p>
                            </div>
                            <div class="col-md-3 col-6"> <strong>Branch</strong>
                                <br>
                                <p class="text-muted"><?php echo e(optional($user->branch)->name); ?></p>
                            </div>
                        </div>
                        <hr>
                        <div class="row">
                            <div class="col-md-3 col-6 b-r"> <strong>Phone</strong>
                                <br>
                                <p class="text-muted"><?php echo e($user->phone1); ?></p>
                            </div>
                            <div class="col-md-3 col-6 b-r"> <strong>Alternative Phone</strong>
                                <br>
                                <p class="text-muted"><?php echo e($user->phone2); ?></p>
                            </div>
                            <div class="col-md-3 col-6 b-r"> <strong>Status</strong>
                                <br>
                                <p class="text-muted"><?php echo e($user->status); ?></p>
                            </div>
                            <div class="col-md-3 col-6"> <strong>Role</strong>
                                <br>
                                <p class="text-muted">
                                    <?php $__currentLoopData = $user->roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $userRoles): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php echo e($userRoles->name); ?>

                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </p>
                            </div>
                        </div>
                        <hr>
                        
                        <h4 class="font-bold">Address</h4>
                        <hr>
                        <ul>
                            <?php echo e($user->address); ?>

                        </ul>
                        <br>
                        
                        <br>
                    </div>
                </div>
            </div>
        </div>
        </div>
    </div>

<?php $__env->stopSection(); ?>

<?php $__env->startPush('js'); ?>
    
<?php $__env->stopPush(); ?>



<?php echo $__env->make('template.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/forazitradersbd/public_html/resources/views/admin/user/show.blade.php ENDPATH**/ ?>