| 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">
<h2>Leads</h2>
<a href="<?php echo e(route('customers.create')); ?>" class="btn btn-primary mb-2">Add Customer</a>
<table class="table table-bordered">
<tr>
<th>Name</th><th>Email</th><th>Phone</th><th>Status</th><th>Assigned</th><th>Actions</th>
</tr>
<?php $__currentLoopData = $customers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($customer->name); ?></td>
<td><?php echo e($customer->email); ?></td>
<td><?php echo e($customer->phone); ?></td>
<td><?php echo e($customer->status); ?></td>
<td><?php echo e($customer->user?->name); ?></td>
<td>
<a href="<?php echo e(route('customers.show',$customer->id)); ?>" class="btn btn-info btn-sm">View</a>
<a href="<?php echo e(route('customers.edit',$customer->id)); ?>" class="btn btn-warning btn-sm">Edit</a>
<form action="<?php echo e(route('customers.destroy',$customer->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>
<?php echo e($customers->links()); ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\crm\resources\views/customers/index.blade.php ENDPATH**/ ?>