<?php $__env->startSection('title', 'Clients — TechCorp Manager'); ?>

<?php $__env->startSection('content'); ?>
<div data-tc-api-page="clients">
    <div class="tc-page-head-row">
        <div class="tc-page-head">
            <h2>Clients</h2>
            <p>Add, edit, or remove clients via the JSON API from this page.</p>
        </div>
        <button type="button" class="tc-btn-primary" id="tc-add-client">+ Add client</button>
    </div>

    <div class="tc-card">
        <div class="tc-table-wrap">
            <table class="tc-table">
                <thead>
                    <tr>
                        <th>Name</th>
                        <th>Company</th>
                        <th>Email</th>
                        <th>Phone</th>
                        <th>Status</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__empty_1 = true; $__currentLoopData = $clients; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $client): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <tr>
                            <td><strong><?php echo e($client->name); ?></strong></td>
                            <td><?php echo e($client->company ?? '—'); ?></td>
                            <td><?php echo e($client->email ?? '—'); ?></td>
                            <td><?php echo e($client->phone ?? '—'); ?></td>
                            <td><span class="tc-badge <?php echo e($client->status); ?>"><?php echo e($client->status); ?></span></td>
                            <td class="tc-table-actions">
                                <button type="button" class="tc-btn-sm tc-edit-client" data-id="<?php echo e($client->id); ?>">Edit</button>
                                <button type="button" class="tc-btn-sm danger tc-del-client" data-id="<?php echo e($client->id); ?>">Delete</button>
                            </td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <tr><td colspan="6" class="tc-empty">No clients yet.</td></tr>
                    <?php endif; ?>
                </tbody>
            </table>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\pc\Desktop\compnany\laravel-api\resources\views\clients\index.blade.php ENDPATH**/ ?>