Edit File: b3ec956c429edb80a9445b770937df05ba4d17bf.php
<div class="position-relative"> <div class="table_loader"> <?php echo e(__('admin.loading')); ?> </div> <table class="table " id="tab"> <thead> <tr> <th><?php echo e(__('admin.service_provider_name')); ?></th> <th><?php echo e(__('admin.the_amount')); ?></th> <th><?php echo e(__('admin.the_debts')); ?></th> <th><?php echo e(__('admin.settlement_type')); ?></th> <th><?php echo e(__('admin.order_status')); ?></th> <th><?php echo e(__('admin.order_procedures')); ?></th> <th><?php echo e(__('admin.control')); ?></th> <th><?php echo e(__('admin.date')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $settlements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $settlement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="delete_row"> <td><?php echo e($settlement->transactionable?->name); ?></td> <td><?php echo e($settlement->amount); ?> <?php echo e(__('apis.rs')); ?></td> <td><?php echo e($settlement->indebtedness); ?> <?php echo e(__('apis.rs')); ?></td> <td><?php echo e(!$settlement->type ? __('admin.Settlement_request') : __('admin.payment_dept_request')); ?></td> <td><?php echo app('translator')->get('site.' . $settlement->status); ?></td> <td> <?php if($settlement->status == 'pending'): ?> <button type="button" class="btn btn-sm btn-success accept-btn" data-toggle="modal" data-target="#acceptModal" data-id="<?php echo e($settlement->id); ?>" data-amount="<?php echo e($settlement->amount); ?>" title="<?php echo e(__('admin.accept_order')); ?>"> <i class="fa fa-check" style="color: white"></i> </button> <button type="button" class="btn btn-sm btn-danger cancel-btn" data-toggle="modal" data-target="#cancelModal" data-id="<?php echo e($settlement->id); ?>" title="<?php echo e(__('admin.refuse_order')); ?>"> <i class="fa fa-times" style="color: white"></i> </button> <?php endif; ?> </td> <td class="product-action"> <span class="text-primary" title="<?php echo e(__('admin.view_order')); ?>"><a href="<?php echo e(route('admin.settlements.show', ['id' => $settlement->id])); ?>"><i class="feather icon-eye"></i></a></span> </td> <td><?php echo e(\Carbon\Carbon::parse($settlement->created_at)->format('d/m/Y')); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php if($settlements->count() == 0): ?> <div class="d-flex flex-column w-100 align-center mt-4"> <img src="<?php echo e(asset('/storage/images/no_data.png')); ?>" width="200px" style="" alt=""> <span class="mt-2" style="font-family: cairo ;margin-right: 35px"><?php echo e(__('admin.there_are_no_matches_matching')); ?></span> </div> <?php endif; ?> </div> <?php if($settlements->count() > 0 && $settlements instanceof \Illuminate\Pagination\AbstractPaginator): ?> <div class="d-flex justify-content-center mt-3"> <?php echo e($settlements->links()); ?> </div> <?php endif; ?> <?php /**PATH /home/thunderw/public_html/resources/views/admin/settlements/table.blade.php ENDPATH**/ ?>
Back to File Manager