<?php include '../../includes/header.php'; ?>

<div class="container mt-5">
    <h2 class="mb-4">Generate Sales Report</h2>
    <form action="../../api/sales/report.php" method="POST">
        <div class="form-group">
            <label for="branchId">Branch ID</label>
            <input type="number" class="form-control" id="branchId" name="branchId" required>
        </div>
        <div class="form-group">
            <label for="startDate">Start Date</label>
            <input type="date" class="form-control" id="startDate" name="startDate" required>
        </div>
        <div class="form-group">
            <label for="endDate">End Date</label>
            <input type="date" class="form-control" id="endDate" name="endDate" required>
        </div>
        <button type="submit" class="btn btn-primary">Generate Report</button>
    </form>
</div>

<?php include '../../includes/footer.php'; ?>