File manager - Edit - /home/linknsbh/rassudr.online/storage/framework/views/7a2b436694a095e8ecb11dc9dfedcd1fb3bbdde5.php
Back
<?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Transactions')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('vendor.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(__('Transactions')); ?></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-8 col-md-6"> <div class="card-title d-inline-block"><?php echo e(__('Transactions')); ?></div> </div> <div class="col-lg-4 col-md-6 mt-2 mt-lg-0 justify-content-end"> <form action="<?php echo e(url()->current()); ?>" class="d-inline-block d-flex"> <input class="form-control" type="text" name="transaction_id" placeholder="<?php echo e(__('Enter Transaction Id')); ?>" value="<?php echo e(request()->input('transaction_id') ? request()->input('transaction_id') : ''); ?>"> <button class="dis-none" type="submit"></button> </form> </div> <div class="col-lg-3"> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($transactions) == 0): ?> <h3 class="text-center"><?php echo e(__('NO TRANSACTIONS FOUND')); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <thead> <tr> <th scope="col"><?php echo e(__('Transaction Id')); ?></th> <th scope="col"><?php echo e(__('Transaction Type')); ?></th> <th scope="col"><?php echo e(__('Payment Method')); ?></th> <th scope="col"><?php echo e(__('Pre Balance')); ?></th> <th scope="col"><?php echo e(__('Amount')); ?></th> <th scope="col"><?php echo e(__('After Balance')); ?></th> <th scope="col"><?php echo e(__('Status')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e('#' . $transaction->transaction_id); ?></td> <td><?php echo e(__(ucwords(str_replace('_', ' ', $transaction->transaction_type)))); ?></td> <td> <?php if($transaction->transaction_type == 'withdraw' || $transaction->transaction_type == 'withdraw_declined'): ?> <?php $method = $transaction->method()->first(); ?> <?php if($method): ?> <?php echo e($method->name); ?> <?php else: ?> <?php echo e('-'); ?> <?php endif; ?> <?php elseif($transaction->transaction_type == 'balance_subtrac' || $transaction->transaction_type == 'balance_added'): ?> <?php echo e('-'); ?> <?php else: ?> <?php echo e($transaction->payment_method); ?> <?php endif; ?> </td> <td> <?php if($transaction->pre_balance == null): ?> <?php if($transaction->transaction_type == 'service_booking'): ?> <?php echo e('0.00'); ?> <?php else: ?> <?php echo e('-'); ?> <?php endif; ?> <?php else: ?> <?php echo e($transaction->currency_symbol_position == 'left' ? $transaction->currency_symbol : ''); ?> <?php echo e($transaction->pre_balance); ?> <?php echo e($transaction->currency_symbol_position == 'right' ? $transaction->currency_symbol : ''); ?> <?php endif; ?> </td> <td> <?php if( $transaction->transaction_type == 'withdraw' || $transaction->transaction_type == 'balance_subtrac' || $transaction->transaction_type == 'featured_service' || $transaction->transaction_type == 'booking_refund'): ?> <span class="text-danger">(-)</span> <?php else: ?> <span class="text-success">(+)</span> <?php endif; ?> <?php echo e($transaction->currency_symbol_position == 'left' ? $transaction->currency_symbol : ''); ?> <?php if($transaction->transaction_type == 'booking_refund'): ?> <?php echo e($transaction->refund_amount); ?> <?php endif; ?> <?php echo e($transaction->actual_total); ?> <?php echo e($transaction->currency_symbol_position == 'right' ? $transaction->currency_symbol : ''); ?> </td> <td> <?php if($transaction->after_balance == null): ?> <?php echo e('-'); ?> <?php else: ?> <?php echo e($transaction->currency_symbol_position == 'left' ? $transaction->currency_symbol : ''); ?> <?php echo e($transaction->after_balance); ?> <?php echo e($transaction->currency_symbol_position == 'right' ? $transaction->currency_symbol : ''); ?> <?php endif; ?> </td> <?php if($transaction->payment_status == 'completed'): ?> <td> <span class="badge badge-success"><?php echo e(__('Paid')); ?></span> </td> <?php else: ?> <td> <span class="badge badge-danger"><?php echo e(__('Unpaid')); ?></span> </td> <?php endif; ?> </tr> <?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($transactions->appends(['transaction_id' => request()->input('transaction_id')])->links()); ?> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('vendors.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/linknsbh/rassudr.online/resources/views/vendors/transaction/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.51 |
proxy
|
phpinfo
|
Settings