<?php $__env->startSection('content'); ?>
    <div class="card shadow mb-4">
        <div class="card-header py-3 d-flex">
            <h6 class="m-0 font-weight-bold text-success">
                <?php echo e($product->name); ?>

            </h6>
            <div class="ml-auto">
                <a href="<?php echo e(route('admin.products.index')); ?>" class="btn btn-success">
                    <span class="text"><?php echo e(__("Back to products")); ?></span>
                </a>
            </div>
        </div>
        <div class="table-responsive">
            <table class="table table-hover">
                <tbody>
                <tr>
                    <th><?php echo e(__("Product Name")); ?></th>
                    <td><?php echo e($product->name); ?></td>
                    <th><?php echo e(__("Price")); ?></th>
                    <td><?php echo e(format_amount($product->price,true)); ?></td>
                </tr>
                <tr>


                    <th>Status</th>
                    <td><?php echo e($product->status_label); ?></td>
                </tr>
                <tr>
                    <th>Featured</th>
                    <td><?php echo e(yesNo($product->featured)); ?></td>
                    <th>Category</th>
                    <td><?php echo e($product->category->name); ?></td>
                </tr>
                <tr>
                    <th>Created At</th>
                    <td><?php echo e($product->created_at ? $product->created_at->format('Y-m-d') : "Undefined"); ?></td>
                    <th>Updated At</th>
                    <td><?php echo e($product->updated_at ? $product->updated_at->format('Y-m-d') : "Undefined"); ?></td>
                </tr>

                <tr>
                    <th>Description</th>
                    <td colspan="3"><?php echo $product->description; ?></td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lekruu/public_html/resources/views/backend/products/show.blade.php ENDPATH**/ ?>