| 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">Products Requests</h1>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-sm-3">
</div>
<div class="col-sm-4">
</div>
</div>
<table class="table table-bordered">
<tr>
<th>Request No.</th><th>Customer Name</th><th>Product</th><th>Model</th><th>Serial</th><th>Purchase Date</th><th>Status</th><th>Actions</th>
</tr>
<?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>RQ<?php echo e($product->pr_id); ?></td>
<td><?php echo e($product->customername); ?></td>
<td><?php echo e($product->name); ?></td>
<td><?php echo e($product->model_number); ?></td>
<td><?php echo e($product->serial_number); ?></td>
<td><?php echo e($product->purchase_date); ?></td>
<td>
<?php if($product->status == 1): ?>
<span class="badge text-bg-success">Approved</span>
<?php endif; ?>
<?php if($product->status == 0): ?>
<span class="badge text-bg-info">Under Progress</span>
<?php endif; ?>
<?php if($product->status == 2): ?>
<span class="badge text-bg-danger">Rejected
<?php endif; ?>
</td>
<td>
<a href="<?php echo e(route('inventory.productrequestview',$product->pr_id)); ?>" class="btn btn-info btn-sm">View</a>
<form action="<?php echo e(route('inventory.productrequestdelete',$product->pr_id)); ?>" method="POST" style="display:inline;">
<?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($products->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/html/crm/Modules/Inventory/Resources/views/products/productrequest.blade.php ENDPATH**/ ?>