@extends('layouts.app')

@section('main')
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1><i class="fas fa-cube"></i> Products Management (Test)</h1>
                </div>
            </div>
        </div>
    </section>

    <section class="content">
        <div class="card">
            <div class="card-header">
                <h3 class="card-title">Test Page</h3>
            </div>
            <div class="card-body">
                <p>This is a test version of the products page to check if the issue is resolved.</p>
                
                <div class="row">
                    <div class="col-md-4">
                        <label for="test_condition" class="form-label">Condition Test</label>
                        <select class="form-control" id="test_condition" name="test_condition">
                            <option value="">All Conditions</option>
                            <option value="new">New</option>
                            <option value="used">Used</option>
                            <option value="refurbished">Refurbished</option>
                            <option value="old">Old</option>
                        </select>
                    </div>
                    
                    <div class="col-md-4">
                        <label for="test_stock" class="form-label">Stock Status Test</label>
                        <select class="form-control" id="test_stock" name="test_stock">
                            <option value="">All Stock</option>
                            <option value="in_stock">In Stock</option>
                            <option value="low_stock">Low Stock (5 or less)</option>
                            <option value="out_of_stock">Out of Stock</option>
                        </select>
                    </div>
                </div>
                
                <br>
                <a href="{{ route('product.index') }}" class="btn btn-primary">Back to Original Products Page</a>
            </div>
        </div>
    </section>
@endsection