File: /var/www/admin.fixgini.com/storage/framework/views/72be09b6f9eb43e657529e47c20657c1.php
<div>
<div class="iq-card-body">
<div class="table-responsive">
<div class="row justify-content-between">
<div class="col-sm-12 col-md-6">
<div id="user_list_datatable_info" class="dataTables_filter">
<form class="mr-3 position-relative">
<div class="form-group mb-0">
<input type="search" class="form-control" wire:model.live="search" placeholder="Search customer name"
aria-controls="user-list-table">
</div>
</form>
</div>
</div>
</div>
<table id="user-list-table" class="table table-striped table-bordered mt-4" role="grid"
aria-describedby="user-list-page-info">
<thead>
<tr>
<th>#ID</th>
<th>Service</th>
<th>Customer</th>
<th>Amount</th>
<th>Payment Status</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<!--[if BLOCK]><![endif]--><?php $__empty_1 = true; $__currentLoopData = $payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
<tr>
<td><?php echo e($payment->id); ?></td>
<td><?php echo e($payment->booking->gig->title); ?></td>
<td><?php echo e($payment->customer->name); ?> <?php echo e($payment->customer->lastname ?? ''); ?></td>
<td><?php echo e($payment->booking->gig->currency); ?><?php echo e(number_format($payment->amount,2)); ?></td>
<td>
<select wire:change="changePaymentStatus('<?php echo e($payment->customer->id); ?>', $event.target.value)"
class="form-select form-control form-select-sm" aria-label="Task Status">
<option value="failed" <?php echo e($payment->payment_status == 'failed' ? 'selected' : ''); ?>>Failed</option>
<option value="pending" <?php echo e($payment->payment_status == 'pending' ? 'selected' : ''); ?>>Pending</option>
<option value="completed" <?php echo e($payment->payment_status == 'completed' ? 'selected' : ''); ?>>Completed</option>
</select>
</td>
<td><?php echo e($payment->created_at->format('D. jS M Y h:iA')); ?></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
<p class="text-center text-danger"> No payments available</p>
<?php endif; ?><!--[if ENDBLOCK]><![endif]-->
</tbody>
</table>
</div>
<div class="mt-2">
<?php echo e($payments->links()); ?>
</div>
</div><?php /**PATH /var/www/admin.fixgini.com/resources/views/livewire/payment/index.blade.php ENDPATH**/ ?>