HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/be.naniguide.com/storage/framework/views/60e1aafc70aa0ac7ff08920e6b50c7c2.php
<h3 class=" mt-5"><span class="material-symbols-rounded">signal_cellular_alt</span>
     <?php echo e(trans('messages.list_growth'), false); ?></h3>

<?php if(Auth::user()->customer->local()->lists()->count() == 0): ?>
    <div class="empty-list">
        <span class="material-symbols-rounded">signal_cellular_alt</span>
            
        <span class="line-1">
            <?php echo e(trans('messages.no_saved_lists'), false); ?>

        </span>
    </div>
<?php else: ?>
    <div class="row">
        <div class="col-md-6">
            <?php echo $__env->make('helpers.form_control', [
                'type' => 'select',
                'class' => 'dashboard-list-select',
                'name' => 'list_id',
                'label' => '',
                'value' => '',
                'include_blank' => trans('messages.all'),
                'options' => Auth::user()->customer->local()->readCache('MailListSelectOptions', []),
            ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
        </div>
    </div>
    <div id="list-quickview-container" data-url="<?php echo e(action("MailListController@quickView"), false); ?>"></div>
<?php endif; ?>

<script>
    var DashboardListGrowth = {
        url: '<?php echo e(action("MailListController@quickView"), false); ?>',

        getContainer: function() {
            return $('#list-quickview-container');
        },

        loadChart: function() {
            $.ajax({
                method: "GET",
                url: DashboardListGrowth.url,
                data: {
                    uid: $('.dashboard-list-select').val(),
                }
            })
            .done(function( response ) {
                DashboardListGrowth.getContainer().html(response);
            });
        }
    }

    $('.dashboard-list-select').on('change', function() {
        DashboardListGrowth.loadChart();
    });

    DashboardListGrowth.loadChart();
</script>
<?php /**PATH /home/xedaptot/be.naniguide.com/resources/views/_dashboard_list_growth.blade.php ENDPATH**/ ?>