HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/spilicensing/storage/framework/views/a76db5b837073f79355394d54ff882e6bfde2d84.php
<?php $__env->startSection('content'); ?>

    <h1>Product <a href="<?php echo e(url('product/create')); ?>" class="btn btn-primary pull-right btn-sm">Add New Product</a></h1>
    <div class="table">
        <table class="table table-bordered table-striped table-hover">
            <thead>
                <tr>
                    <th>ID</th><th>Product Name</th><th>Actions</th>
                </tr>
            </thead>
            <tbody>
            <?php /* */$x=0;/* */ ?>
            <?php foreach($product as $item): ?>
                <?php /* */$x++;/* */ ?>
                <tr>
                    <td><?php echo e($item->id); ?></td>
                    <td><a href="<?php echo e(url('product', $item->id)); ?>"><?php echo e($item->productName); ?></a></td>
                    <td>
                        <a href="<?php echo e(url('product/' . $item->id . '/edit')); ?>">
                            <button type="submit" class="btn btn-primary btn-xs">Update</button>
                        </a> /
                        <?php echo Form::open([
                            'method'=>'DELETE',
                            'url' => ['product', $item->id],
                            'style' => 'display:inline'
                        ]); ?>

                            <?php echo Form::submit('Delete', ['class' => 'btn btn-danger btn-xs']); ?>

                        <?php echo Form::close(); ?>

                    </td>
                </tr>
            <?php endforeach; ?>
            </tbody>
        </table>
        <div class="pagination"> <?php echo $product->render(); ?> </div>
    </div>

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

<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>