⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.112
Server IP:
65.21.180.239
Server:
Linux gowhm.eplangoweb.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.0.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
eplangoweb
/
www
/
storage
/
framework
/
views
/
View File Name :
e0a5dcf8ecaa3a74ae9ecbb2092c21f92b0782a7.php
<?php // $selLang = \App\Language::where('code', request()->input('language'))->first(); ?> <?php if(!empty($selLang) && $selLang->rtl == 1): ?> <?php $__env->startSection('styles'); ?> <style> form:not(.modal-form) input, form:not(.modal-form) textarea, form:not(.modal-form) select, select[name='language'] { direction: rtl; } form:not(.modal-form) .note-editor.note-frame .note-editing-area .note-editable { direction: rtl; text-align: right; } </style> <?php $__env->stopSection(); ?> <?php endif; ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Donation History')); ?></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(__('Donation Management')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Donation History')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-4"> <div class="card-title d-inline-block"> <?php echo e(__('Donation History')); ?></div> </div> <div class="col-lg-3"> </div> <div class="col-lg-4 offset-lg-1 mt-2 mt-lg-0"> <button class="btn btn-danger float-right btn-sm ml-2 mt-2 d-none bulk-delete" data-href="<?php echo e(route('user.donation.payment.bulk.delete')); ?>"><i class="flaticon-interface-5"></i> <?php echo e(__('Delete')); ?></button> <form action="<?php echo e(url()->current()); ?>" class="d-inline-block float-right"> <input class="form-control" type="text" name="search" placeholder="<?php echo e(__('Search by Transaction ID')); ?>" value="<?php echo e(request()->input('search') ? request()->input('search') : ''); ?>"> </form> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($donations) == 0): ?> <h3 class="text-center"><?php echo e(__('NO DONATION FOUND!')); ?> </h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <thead> <tr> <th scope="col"> <input type="checkbox" class="bulk-check" data-val="all"> </th> <th scope="col"> <?php echo e(__('Transaction ID')); ?></th> <th scope="col"><?php echo e(__('Amount')); ?></th> <th scope="col"> <?php echo e(__('Payment Status')); ?></th> <th scope="col"> <?php echo e(__('Payment Method')); ?></th> <th scope="col"><?php echo e(__('Receipt')); ?></th> <th scope="col"><?php echo e(__('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $donations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $donation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <input type="checkbox" class="bulk-check" data-val="<?php echo e($donation->id); ?>"> </td> <td><?php echo e(convertUtf8(strlen($donation->transaction_id)) > 30 ? convertUtf8(substr($donation->transaction_id, 0, 30)) . '...' : convertUtf8($donation->transaction_id)); ?> </td> <td><?php echo e($donation->currency_symbol . ' ' . convertUtf8($donation->amount)); ?> </td> <td> <?php if($donation->transaction_details !== 'offline'): ?> <?php if($donation->status == 'pending'): ?> <span class="badge badge-warning"><?php echo e(__('Pending')); ?></span> <?php elseif($donation->status == 'completed'): ?> <span class="badge badge-success"><?php echo e(__('Success')); ?></span> <?php endif; ?> <?php else: ?> <form id="statusForm<?php echo e($donation->id); ?>" class="d-inline-block" action="<?php echo e(route('user.donation.payment.log.update')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="id" value="<?php echo e($donation->id); ?>"> <select class="form-control form-control-sm <?php if($donation->status == 'completed'): ?> bg-success <?php elseif($donation->status == 'pending'): ?> bg-warning <?php elseif($donation->status == 'rejected'): ?> bg-danger <?php endif; ?> " name="status" onchange="document.getElementById('statusForm<?php echo e($donation->id); ?>').submit();"> <option value="pending" <?php echo e($donation->status == 'pending' ? 'selected' : ''); ?>> <?php echo e(__('Pending')); ?> </option> <option value="success" <?php echo e($donation->status == 'completed' ? 'selected' : ''); ?>> <?php echo e(__('Success')); ?> </option> <option value="rejected" <?php echo e($donation->status == 'rejected' ? 'selected' : ''); ?>> <?php echo e(__('Rejected')); ?> </option> </select> </form> <?php endif; ?> </td> <td><?php echo e(convertUtf8($donation->payment_method)); ?></td> <td> <?php if(!empty($donation->receipt)): ?> <a class="btn btn-sm btn-info" href="#" data-toggle="modal" data-target="#receiptModal<?php echo e($donation->id); ?>"><?php echo e(__('Show')); ?></a> <?php else: ?> <?php echo e(' -'); ?> <?php endif; ?> </td> <td> <?php if(!empty($donation->name !== 'anonymous')): ?> <a class="btn btn-sm btn-info" href="#" data-toggle="modal" data-target="#detailsModal<?php echo e($donation->id); ?>"><?php echo e(__('Details')); ?></a> <?php else: ?> <?php endif; ?> <form class="deleteform d-inline-block" action="<?php echo e(route('user.donation.payment.delete')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="payment_id" value="<?php echo e($donation->id); ?>"> <button type="submit" class="deletebtn btn btn-sm btn-danger"> <?php echo e(__('Delete')); ?> </button> </form> </td> </tr> <div class="modal fade" id="receiptModal<?php echo e($donation->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(\App\Constants\Constant::WEBSITE_DONATION_ATTACHMENT . '/' . $donation->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> <div class="modal fade" id="detailsModal<?php echo e($donation->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(__('Donation Details')); ?> </h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <label><?php echo e(__('Cause')); ?></label> <p><?php echo e($donation->title); ?></p> <label><?php echo e(__('Name')); ?></label> <p><?php echo e($donation->name); ?></p> <label><?php echo e(__('Email')); ?></label> <p><?php echo e($donation->email); ?></p> <label><?php echo e(__('Phone')); ?></label> <p><?php echo e($donation->phone); ?></p> </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> <div class="card-footer"> <div class="row"> <div class="d-inline-block mx-auto"> <?php echo e($donations->appends(['language' => request()->input('language')])->links()); ?> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> $(document).ready(function() { // make input fields RTL $("select[name='lang_id']").on('change', function() { $(".request-loader").addClass("show"); let url = "<?php echo e(url('/')); ?>/user/rtlcheck/" + $(this).val(); $.get(url, function(data) { $(".request-loader").removeClass("show"); if (data == 1) { $("form input").each(function() { if (!$(this).hasClass('ltr')) { $(this).addClass('rtl'); } }); $("form select").each(function() { if (!$(this).hasClass('ltr')) { $(this).addClass('rtl'); } }); $("form textarea").each(function() { if (!$(this).hasClass('ltr')) { $(this).addClass('rtl'); } }); $("form .summernote").each(function() { $(this).siblings('.note-editor').find('.note-editable') .addClass('rtl text-right'); }); } else { $("form input, form select, form textarea").removeClass('rtl'); $("form.modal-form .summernote").siblings('.note-editor').find( '.note-editable').removeClass('rtl text-right'); } }) }); // translatable portfolios will be available if the selected language is not 'Default' $("#language").on('change', function() { let language = $(this).val(); if (language == 0) { $("#translatable").attr('disabled', true); } else { $("#translatable").removeAttr('disabled'); } }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eplangoweb/public_html/resources/views/user/donation_management/payment/index.blade.php ENDPATH**/ ?>