<?php include 'includes/header.php'; ?>
<section class="page-section">
    <div class="section-title-wrap">
        <h3>Purchases</h3>
        <p>Search by date, invoice number, or company</p>
    </div>

    <div class="filter-card three-col">
        <input type="date" id="purchaseDate">
        <input type="text" id="invoiceNumber" placeholder="Invoice number">
        <input type="text" id="companyName" placeholder="Company">
        <button onclick="loadPurchases()">Search</button>
    </div>

    <div id="purchaseList" class="card-list"></div>
</section>
<?php include 'includes/footer.php'; ?>