| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/crmapp/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('content'); ?>
<div class="container-fluid p-0">
<h1 class="h3 mb-3">Paid Replacements</h1>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-sm-3">
<a href="<?php echo e(route('inventory.paidreplacements.create')); ?>" class="btn btn-primary mb-2">Add Paid Replacement</a>
</div>
<div class="col-sm-4">
</div>
</div>
<table class="table table-bordered">
<tr>
<th>ID</th><th>Customer</th><th>Product</th><th>Serial Number</th><th>Amount</th><th>Status</th><th>Actions</th>
</tr>
<?php $__currentLoopData = $replacements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $replacement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>AQR97<?php echo e($replacement->id); ?></td>
<td><?php echo e($replacement->customer->name); ?></td>
<td><?php echo e($replacement->product->name); ?></td>
<td><?php echo e($replacement->serial_number); ?></td>
<td><?php echo e($replacement->amount); ?></td>
<td><?php echo e(ucfirst($replacement->status)); ?></td>
<td>
<a href="<?php echo e(route('inventory.paidreplacements.edit', $replacement)); ?>" class="btn btn-warning btn-sm">Edit</a>
<form action="<?php echo e(route('inventory.paidreplacements.destroy', $replacement)); ?>" method="POST" style="display:inline;" onsubmit="return confirm('Are you sure you want to delete this?');">
<?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?>
<button class="btn btn-danger btn-sm">Delete</button>
</form>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</table>
<div class="d-flex justify-content-center">
<?php echo e($replacements->links()); ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/crmapp/Modules/Inventory/Resources/views/paid_replacements/index.blade.php ENDPATH**/ ?>