<?php //dd($product);?><!---->

<?php $__env->startSection('title', 'Add Product'); ?>

<?php $__env->startSection('body'); ?>
    <!-- PAGE-HEADER -->
    <div class="page-header">
        <div>
            <h1 class="page-title">Product</h1>
        </div>
        <div class="ms-auto pageheader-btn">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="javascript:void(0);">Product</a></li>
                <li class="breadcrumb-item active" aria-current="page">Add Product</li>
            </ol>
        </div>
    </div>
    <!-- PAGE-HEADER END -->
    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <div class="card-header border-bottom">
                    <h3 class="card-title">Add Product Form</h3>
                </div>
                <div class="card-body">
                    <p class="text-muted"><?php echo e(session('message')); ?></p>
                    <table class="table table-bordered table-hover">
                        <tr>
                            <th>Product Id</th>
                            <td><?php echo e($product->id); ?></td>
                        </tr>
                        <tr>
                            <th>Product Name</th>
                            <td><?php echo e($product->name); ?></td>
                        </tr>
                        <tr>
                            <th>Product Category</th>
                            <td><?php echo e(isset($product->category->name) ? $product->category->name : ''); ?></td>
                        </tr>
                        <tr>
                            <th>Product Sub Category</th>
                            <td><?php echo e(isset($product->subCategory->name) ? $product->subCategory->name : ''); ?></td>
                        </tr>
                        <tr>
                            <th>Product Description</th>
                            <td><?php echo $product->description; ?></td>
                        </tr>
                        <tr>
                            <th>Product Image</th>
                            <td>
                                <img src="<?php echo e(asset($product->image)); ?>" alt="" height="70px" width="70px">
                            </td>
                        </tr>
                        <tr>
                            <th>Product Publication Status</th>
                            <td><?php echo e($product->status); ?></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>




<?php echo $__env->make('admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\primary\resources\views/admin/product/detail.blade.php ENDPATH**/ ?>