Viewing file: ee40b8d69069e74be9109a2e60b0a683.php (12.29 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Campaign Statistic <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>"> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-lg-6 col-sm-6 mt-3"> <div class="card"> <div class="card-header"> <h2 class="card-title">Running</h2> </div> <!-- /.card-header --> <div class="card-body table-body"> <table id="campaignReports" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('customer.from'); ?></th> <th><?php echo app('translator')->get('customer.to'); ?></th> <th><?php echo app('translator')->get('customer.message'); ?></th> <th><?php echo app('translator')->get('customer.schedule_at'); ?></th> </tr> </thead> <tbody> <?php if($messageRunningLogs->isNotEmpty()): ?> <?php $__currentLoopData = $messageRunningLogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message_log): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($message_log->from); ?></td> <td><?php echo e($message_log->to); ?></td> <td> <div class="show-more"> <?php echo e($message_log->body); ?>
</div> </td> <td><?php echo e((formatDate($message_log->schedule_datetime))); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <tr class="text-center"> <td colspan="5"><strong>No Data Available</strong></td> </tr> <?php endif; ?> </tbody> </table> <div class="mt-2"> <?php echo e($messageRunningLogs->appends(['running' => $messageRunningLogs->currentPage()])->links()); ?>
</div> </div> <!-- /.card-body --> </div> <!-- /.card --> </div>
<div class="col-lg-6 col-sm-6 mt-3"> <div class="card"> <div class="card-header"> <h2 class="card-title">Paused</h2> </div> <!-- /.card-header --> <div class="card-body table-body"> <table id="campaignReports" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('customer.from'); ?></th> <th><?php echo app('translator')->get('customer.to'); ?></th> <th><?php echo app('translator')->get('customer.message'); ?></th> <th><?php echo app('translator')->get('customer.schedule_at'); ?></th> </tr> </thead> <tbody> <?php if($messagePausedLogs->isNotEmpty()): ?> <?php $__currentLoopData = $messagePausedLogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message_log): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($message_log->from); ?></td> <td><?php echo e($message_log->to); ?></td> <td> <div class="show-more"> <?php echo e($message_log->body); ?>
</div> </td> <td><?php echo e(formatDate($message_log->schedule_datetime)); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <tr class="text-center"> <td colspan="5"><strong>No Data Available</strong></td> </tr> <?php endif; ?> </tbody> </table> <div class="mt-2"> <?php echo e($messagePausedLogs->appends(['paused' => $messagePausedLogs->currentPage()])->links()); ?>
</div> </div> <!-- /.card-body --> </div> <!-- /.card --> </div>
<div class="col-lg-6 col-sm-6 mt-3"> <div class="card"> <div class="card-header"> <h2 class="card-title">Failed</h2> </div> <!-- /.card-header --> <div class="card-body table-body"> <table id="messageFailedLogs" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('customer.from'); ?></th> <th><?php echo app('translator')->get('customer.to'); ?></th> <th><?php echo app('translator')->get('customer.message'); ?></th> <th><?php echo app('translator')->get('customer.response_code'); ?></th> <th><?php echo app('translator')->get('customer.failed_at'); ?></th> </tr> </thead> <tbody> <?php if($messageFailedLogs->isNotEmpty()): ?> <?php $__currentLoopData = $messageFailedLogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message_log): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($message_log->from); ?></td> <td><?php echo e($message_log->to); ?></td> <td> <div class="show-more"> <?php echo e($message_log->body); ?>
</div> </td> <td><?php echo e($message_log->response_code); ?></td> <td><?php echo e(formatDate($message_log->updated_at)); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <tr class="text-center"> <td colspan="5"><strong>No Data Available</strong></td> </tr> <?php endif; ?> </tbody> </table> <div class="mt-2"> <?php echo e($messageFailedLogs->appends(['failed' => $messageFailedLogs->currentPage()])->links()); ?>
</div> </div> <!-- /.card-body --> </div> <!-- /.card --> </div>
<div class="col-lg-6 col-sm-6 mt-3"> <div class="card"> <div class="card-header"> <h2 class="card-title">Delivered</h2> </div> <!-- /.card-header --> <div class="card-body table-body"> <table id="campaignReports" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('customer.from'); ?></th> <th><?php echo app('translator')->get('customer.to'); ?></th> <th><?php echo app('translator')->get('customer.message'); ?></th> <th><?php echo app('translator')->get('customer.schedule_at'); ?></th> <th><?php echo app('translator')->get('customer.delivered_at'); ?></th> </tr> </thead> <tbody> <?php if($messageDeliveredLogs->isNotEmpty()): ?> <?php $__currentLoopData = $messageDeliveredLogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message_log): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($message_log->from); ?></td> <td><?php echo e($message_log->to); ?></td> <td> <div class="show-more"> <?php echo e($message_log->body); ?>
</div> </td> <td><?php echo e(($message_log->schedule_datetime)); ?></td> <td><?php echo e(formatDate($message_log->updated_at)); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <tr class="text-center"> <td colspan="5"><strong>No Data Available</strong></td> </tr> <?php endif; ?> </tbody> </table> <div class="mt-2"> <?php echo e($messageDeliveredLogs->appends(['delivered' => $messageDeliveredLogs->currentPage()])->links()); ?>
</div> </div> <!-- /.card-body --> </div> <!-- /.card --> </div>
<!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script> $(".show-more").css('overflow', 'hidden').readmore({collapsedHeight: 20}); </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/sender.picotech.app/public_html/resources/views/customer/campaign/statistic.blade.php ENDPATH**/ ?>
|