⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.162
Server IP:
147.93.29.146
Server:
Linux server.tagooz.co 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
webstoremaker
/
www
/
storage
/
framework
/
views
/
View File Name :
32f92800bbfac3ade4bc1259819c878c301de048.php
<?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"> <?php echo e(__('Report')); ?> </h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('user-dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Course Enrolments')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Report')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header p-1"> <div class="row"> <div class="col-lg-10"> <form action="<?php echo e(url()->full()); ?>" class="form-inline"> <div class="form-group"> <label for=""><?php echo e(__('From')); ?></label> <input class="form-control datepicker" type="text" name="from_date" placeholder=" <?php echo e(__('From')); ?>" value="<?php echo e(request()->input('from_date') ? request()->input('from_date') : ''); ?>" required autocomplete="off"> </div> <div class="form-group"> <label for=""><?php echo e(__('To')); ?></label> <input class="form-control datepicker ml-1" type="text" name="to_date" placeholder="To" value="<?php echo e(request()->input('to_date') ? request()->input('to_date') : ''); ?>" required autocomplete="off"> </div> <div class="form-group"> <label for=""><?php echo e(__('Payment Method')); ?></label> <select name="payment_method" class="form-control ml-1"> <option value="" selected>All</option> <?php if(!empty($onPms)): ?> <?php $__currentLoopData = $onPms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $onPm): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($onPm->keyword); ?>" <?php echo e(request()->input('payment_method') == $onPm->keyword ? 'selected' : ''); ?>> <?php echo e($onPm->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php if(!empty($offPms)): ?> <?php $__currentLoopData = $offPms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $offPm): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($offPm->name); ?>" <?php echo e(request()->input('payment_method') == $offPm->name ? 'selected' : ''); ?>> <?php echo e($offPm->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </select> </div> <div class="form-group"> <label for=""><?php echo e(__('Payment Status')); ?></label> <select name="payment_status" class="form-control ml-1"> <option value="" selected>All</option> <option value="Pending" <?php echo e(request()->input('payment_status') == 'Pending' ? 'selected' : ''); ?>> <?php echo e(__('Pending')); ?></option> <option value="Completed" <?php echo e(request()->input('payment_status') == 'Completed' ? 'selected' : ''); ?>> <?php echo e(__('Completed')); ?></option> </select> </div> <div class="form-group"> <button type="submit" class="btn btn-primary btn-sm ml-1"><?php echo e(__('Submit')); ?></button> </div> </form> </div> <div class="col-lg-2"> <form action="<?php echo e(route('user.course_enrolments.export')); ?>" class="form-inline justify-content-end"> <div class="form-group"> <button type="submit" class="btn btn-success btn-sm ml-1" title="CSV Format"><?php echo e(__('Export')); ?></button> </div> </form> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($enrolments) > 0): ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <thead> <tr> <th scope="col"><?php echo e(__('Order')); ?></th> <th scope="col"><?php echo e(__('Course')); ?></th> <th scope="col"><?php echo e(__('Price')); ?></th> <th scope="col"><?php echo e(__('Discount')); ?></th> <th scope="col"><?php echo e(__('Total')); ?></th> <th scope="col"><?php echo e(__('Name')); ?></th> <th scope="col"><?php echo e(__('Email')); ?></th> <th scope="col"><?php echo e(__('Phone')); ?></th> <th scope="col"><?php echo e(__('City')); ?></th> <th scope="col"><?php echo e(__('State')); ?></th> <th scope="col"><?php echo e(__('Country')); ?></th> <th scope="col"><?php echo e(__('Gateway')); ?></th> <th scope="col"><?php echo e(__('Payment')); ?></th> <th scope="col"><?php echo e(__('Date')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $enrolments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $enrolment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td>#<?php echo e($enrolment->order_id); ?></td> <?php $courseInfo = $enrolment->course ->courseInformation() ->where('language_id', $deLang->id) ->select('title', 'slug') ->first(); $title = $courseInfo->title; $slug = $courseInfo->slug; ?> <td><a href="<?php echo e(route('front.user.course.details', [Auth::guard('web')->user()->username, 'slug' => $slug])); ?>" target="_blank"><?php echo e(strlen($title) > 35 ? mb_substr($title, 0, 35, 'utf-8') . '...' : $title); ?></a> </td> <td><?php echo e($abs->base_currency_symbol_position == 'left' ? $abs->base_currency_symbol : ''); ?><?php echo e(round($enrolment->course_price, 2)); ?><?php echo e($abs->base_currency_symbol_position == 'right' ? $abs->base_currency_symbol : ''); ?> </td> <td><?php echo e($abs->base_currency_symbol_position == 'left' ? $abs->base_currency_symbol : ''); ?><?php echo e(round($enrolment->discount, 2)); ?><?php echo e($abs->base_currency_symbol_position == 'right' ? $abs->base_currency_symbol : ''); ?> </td> <td><?php echo e($abs->base_currency_symbol_position == 'left' ? $abs->base_currency_symbol : ''); ?><?php echo e(round($enrolment->grand_total, 2)); ?><?php echo e($abs->base_currency_symbol_position == 'right' ? $abs->base_currency_symbol : ''); ?> </td> <td><?php echo e($enrolment->billing_first_name); ?></td> <td><?php echo e($enrolment->billing_email); ?></td> <td><?php echo e($enrolment->billing_contact_number); ?></td> <td><?php echo e($enrolment->billing_city); ?></td> <td><?php echo e($enrolment->billing_state); ?></td> <td><?php echo e($enrolment->billing_country); ?></td> <td><?php echo e(ucfirst($enrolment->payment_method)); ?></td> <td> <?php if($enrolment->payment_status == 'Pending'): ?> <span class="badge badge-warning"><?php echo e(__('Pending')); ?></span> <?php elseif($enrolment->payment_status == 'Completed'): ?> <span class="badge badge-success"><?php echo e(__('Completed')); ?></span> <?php endif; ?> </td> <td> <?php echo e($enrolment->created_at); ?> </td> </tr> <div class="modal fade" id="receiptModal<?php echo e($enrolment->id); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel"> <?php echo e(__('Receipt Image')); ?> </h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <img src="<?php echo e(asset('assets/front/receipt/' . $enrolment->receipt)); ?>" alt="Receipt" width="100%"> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e(__('Close')); ?></button> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> <?php if(!empty($enrolments)): ?> <div class="card-footer"> <div class="row"> <div class="d-inline-block mx-auto"> <?php echo e($enrolments->links()); ?> </div> </div> </div> <?php endif; ?> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/webstoremaker/public_html/resources/views/user/course_management/enrolment/report.blade.php ENDPATH**/ ?>