Viewing file: b4036991aa332ca3facf88a568ed591a.php (17.19 KB) -rwxrwxrwx 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')); ?>"> <style> .message-ov-li-a:hover{ } .message-ov-li-a{ color:black; padding: 8px 30px !important; border: hidden !important;
} .message-ov-li-a.active{ background: #5b73e8 !important; color: white !important; border-radius: 5px; } </style> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-md-12 mb-3"> <div class="row"> <div class="col-lg-4 col-md-4 col-sm-12"> <!-- small box --> <div class="small-box"> <div class="inner"> <p class="dashboard_counter mb-2"><?php echo e($totalSms?$totalSms:0); ?></p>
<p class="counter_text"><?php echo e(trans('Total SMS')); ?></p> </div> <div class="icon today-sent-icon"> <i class="fa fa-paper-plane" aria-hidden="true"></i> </div> </div> </div>
<div class="col-lg-4 col-md-4 col-sm-12"> <!-- small box --> <div class="small-box"> <div class="inner"> <p class="dashboard_counter mb-2"><?php echo e($totalDeliveredSms?$totalDeliveredSms:0); ?></p>
<p class="counter_text"><?php echo e(trans('Total Delivered')); ?></p> </div> <div class="icon total-sent-icon"> <i class="fa fa-american-sign-language-interpreting" aria-hidden="true"></i> </div> </div> </div>
<div class="col-lg-4 col-md-4 col-sm-12"> <!-- small box --> <div class="small-box"> <div class="inner"> <p class="dashboard_counter mb-2"><?php echo e($totalFailedSms?$totalFailedSms:0); ?></p>
<p class="counter_text"><?php echo e(trans('Total Failed')); ?></p> </div> <div class="icon total-inbox-icon"> <i class="fa fa-envelope-open" aria-hidden="true"></i> </div> </div> </div>
</div> </div> <div class="col-md-12"> <div class="card card-tabs"> <div class="card-header p-0 pt-1 border-bottom-0"> <ul class="nav nav-tabs" id="custom-tabs-three-tab" role="tablist"> <li class="nav-item mb-1"> <a class="nav-link active message-ov-li-a" id="custom-tabs-three-home-tab" data-toggle="pill" href="#running-message" role="tab" aria-controls="custom-tabs-three-home" aria-selected="true">Running</a> </li> <li class="nav-item mb-1"> <a class="nav-link message-ov-li-a" id="custom-tabs-three-profile-tab" data-toggle="pill" href="#paused-message" role="tab" aria-controls="custom-tabs-three-profile" aria-selected="false">Paused</a> </li> <li class="nav-item mb-1"> <a class="nav-link message-ov-li-a" id="custom-tabs-three-messages-tab" data-toggle="pill" href="#failed-message" role="tab" aria-controls="custom-tabs-three-messages" aria-selected="false">Failed</a> </li> <li class="nav-item mb-1"> <a class="nav-link message-ov-li-a" id="custom-tabs-three-settings-tab" data-toggle="pill" href="#delivered-message" role="tab" aria-controls="custom-tabs-three-settings" aria-selected="false">Delivered</a> </li> </ul> </div> <div class="card-body"> <div class="tab-content" id="custom-tabs-three-tabContent"> <div class="tab-pane fade active show" id="running-message" role="tabpanel" aria-labelledby="custom-tabs-three-home-tab"> <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(($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> <div class="tab-pane fade" id="paused-message" role="tabpanel" aria-labelledby="custom-tabs-three-profile-tab"> <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> <div class="tab-pane fade" id="failed-message" role="tabpanel" aria-labelledby="custom-tabs-three-messages-tab"> <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> <div class="tab-pane fade" id="delivered-message" role="tabpanel" aria-labelledby="custom-tabs-three-settings-tab"> <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> </div> </div>
</div> </div>
<!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script> "use strict";
$(".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/test.sms.picotech.app/public_html/resources/views/customer/campaign/statistic.blade.php ENDPATH**/ ?>
|