<!DOCTYPE html>
<html>

<head>
    <title>Add New ITAT Record</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/add_ao.css') }}">
    <script src="/static/js/year_dropdown.js"></script>

</head>

<body>
    <div class="container">
        <!-- Back to Dashboard Button -->
        <a href="{{ url_for('index') }}" class="back-btn">← Back to Dashboard</a>

        <h2>ITAT Form Entry</h2>
        <form method="POST" onsubmit="return showSuccessMessage()">
            <!-- <label>Year:</label>
            <input type="number" name="year" step="0.01" required> -->

            <div class="form-group">
                <label> Year:</label>
                <select id="year" name="year" required></select>
            </div>

            <label>MAT Tax Credit:</label>
            <input type="number" name="mat_tax_credit" step="0.01" required>

            <label>Surcharge:</label>
            <input type="number" name="surcharge" step="0.01" required>

            <label>Cess:</label>
            <input type="number" name="cess" step="0.01" required>

            <label>Total Credit:</label>
            <input type="number" name="total_credit" step="0.01" required>

            <button type="submit">Submit</button>
        </form>
    </div>

    <script>
        function showSuccessMessage() {
            alert("Form submitted successfully!");
            return true;
        }
    </script>
</body>

</html>