<?php $__env->startSection('content'); ?>
<div class="container">
    <h2>Activation Report</h2>

    <form method="GET" class="row g-3 mb-4">
        <div class="col-md-3">
            <input type="date" name="from_date" class="form-control"
                   value="<?php echo e(request('from_date')); ?>">
        </div>

        <div class="col-md-3">
            <input type="date" name="to_date" class="form-control"
                   value="<?php echo e(request('to_date')); ?>">
        </div>

        <div class="col-md-3">
            <input type="text" name="province" class="form-control"
                   placeholder="Province" value="<?php echo e(request('province')); ?>">
        </div>

        <div class="col-md-3">
            <input type="text" name="city" class="form-control"
                   placeholder="City" value="<?php echo e(request('city')); ?>">
        </div>

        <div class="col-md-12">
            <button class="btn btn-primary">Filter</button>
        </div>
    </form>

    <table class="table table-bordered">
        <thead>
            <tr>
                <th>IMEI</th>
                <th>Date</th>
                <th>Province</th>
                <th>City</th>
            </tr>
        </thead>
        <tbody>
        <?php $__currentLoopData = $activations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $activation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td><?php echo e(substr($activation->activated_imei, -4)); ?></td>
                <td><?php echo e($activation->activation_date); ?></td>
                <td><?php echo e($activation->province); ?></td>
                <td><?php echo e($activation->city); ?></td>
            </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>

    <?php echo e($activations->links()); ?>

</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/soumadeep/Desktop/imei-saas/resources/views/reports/activations.blade.php ENDPATH**/ ?>