<?php $__env->startSection('title','Notification Panel - View'); ?>
<?php $__env->startSection('header_extra'); ?>
<link href="<?php echo e(asset('assets/plugins/summernote/summernote.css')); ?>" rel="stylesheet" />
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<?php echo e(read_status($r->id)); ?>


<div class="row">
    <div class="col-12">
        <div class="card-box">
            <h4 class="m-t-0 header-title"><b>Notification View</b></h4>
           

            <div class="row">
                <div class="col-12">
                    <div class="p-20">
                     
                        
                        <table class="table table-space m-0">
                            <?php if($r->userinfo_from!=""): ?>
                            <tr>
                                <th>From</th>
                                <td>
                                    
                                    <?php echo e($r->userinfo_from->name.' '.$r->userinfo_from->name); ?> <br>
                                    <span class="text-muted"><i>by</i> </span>
                                    <?php if($r->userinfo_from->role == "1"): ?>
                                        <span class="label label-success">Admin</span>
                                    <?php elseif($r->userinfo_from->role == "2"): ?>
                                        <span class="label label-success">Customer</span>
                                    <?php else: ?> 
                                    <span class="label label-success">System</span>
                                    <?php endif; ?>
                                
                                </td>
                            </tr>
                            <?php endif; ?>
                            <tr>
                                <th>Date</th>
                                <td><?php echo e(date('m-d-Y h:i a',strtotime($r->created_at))); ?></td>
                            </tr>
                            <tr>
                                <th>Message</th>
                                <td><?php echo $r->message; ?></td>
                            </tr>
                            
                            <tr>
                                <th></th>
                                <td><a class="btn btn-success" href="<?php echo e(route('notification.manage')); ?>">Back</a></td>
                            </tr>
                        </table>
                        
                       
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

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

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

<script type="text/javascript">
    $(document).ready(function() {
        $(function(){
            $(this).active_menu("notification_pannel");
        });
    });
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/aerocodex/public_html/portal/project/resources/views/notification/view.blade.php ENDPATH**/ ?>