<title>Notifications -Best Leearning</title>

<?php $__env->startSection('css'); ?>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700">
    <link rel="stylesheet" href="https://moneyupwork.com/resources/css/argon.css" type="text/css">
    <link rel="stylesheet" href="https://moneyupwork.com/resources/css/myapp.css" type="text/css">

<?php $__env->stopSection(); ?>
<?php $__env->startSection('user-content'); ?>
<div class="card mt-2">
        <!-- Card header -->
        <div class="card-header">
            <!-- Title -->
            <h5 class="h3 mb-0">Latest notifications</h5>
        </div>
        <!-- Card body -->
    <div class="card-body">
        <?php if($datas->isEmpty()): ?>
                <div class="text-center py-3">
                    <p>You Have No Notification</p>
                </div>
        <?php else: ?>
            <?php $__currentLoopData = $datas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="timeline timeline-one-side" data-timeline-content="axis" data-timeline-axis-style="dashed">
                    <div class="">
                        <span class="timeline-step badge-success">
                            <i class="fas fa-bell"></i>
                        </span>
                        <div class="timeline-content">
                            <div class="d-flex justify-content-between pt-1">
                                <div>
                                    <span class="text-muted text-sm font-weight-bold text-uppercase"><?php echo e($data->message_title); ?></span>
                                </div>
                                <div class="text-right">
                                    <small class="text-muted"><i class="fas fa-clock mr-1"></i><?php echo e(\Carbon\Carbon::parse($data->created_at)->format('d-m-y g:i A')); ?></small>
                                </div>
                            </div>
                            <h6 class="text-sm mt-1 mb-0"><?php echo e($data->message); ?></h6>
                        </div>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
<script>
    function setAccount(account_id) {
        $('#deposit_account').val(account_id);

        $.ajax({
            url: "<?php echo e(route('user.deposit-account-info')); ?>",
            type: "POST",
            data: {
                _token: '<?php echo e(csrf_token()); ?>',
                account_id: account_id,
            },
            success: function (data) {
                $('#deposit_area').show();
                $('#deposit_account_text').html('Account No: ' + data['account_no']);
                $('#deposit_account_guideline').html(data['guideline']);
            },
        });
    }
</script>
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('user.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/microwo1/public_html/resources/views/user/pages/message-list.blade.php ENDPATH**/ ?>