{% extends 'base.html' %}
{% block content %}
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Edit GST Release</title>
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<h2>Edit GST Release</h2>

<form action="/edit_gst_release/{{ gst_release_data[0] }}" method="POST">
    <!--    <label for="invoice_id">Invoice Id:</label><br>-->
    <!--    <input type="number" id="invoice_id" name="invoice_id" value="{{ gst_release_data[0] }}" required><br><br>-->

    <label for="PMC_No">PMC No :</label><br>
    <input type="number" id="PMC_No" name="PMC_No" value="{{ gst_release_data[1] }}" required><br><br>

    <label for="invoice_No">Invoice No:</label><br>
    <input type="number" step="0.01" id="invoice_No" name="invoice_No" value="{{ gst_release_data[2] }}"
           required><br><br>


    <label for="basic_amount">Basic Amount:</label><br>
    <input type="number" step="0.01" id="basic_amount" name="basic_amount" value="{{ gst_release_data[3] }}"
           required><br><br>

    <label for="final_amount">Final Amount:</label><br>
    <input type="number" step="0.01" id="final_amount" name="final_amount" value="{{ gst_release_data[4] }}"
           required><br><br>

     <label for="total_amount">Total Amount:</label><br>
    <input type="number" step="0.01" id="total_amount" name="total_amount" value="{{ gst_release_data[5] }}"
           required><br><br>

     <label for="utr">UTR:</label><br>
    <input type="text"  id="utr" name="utr" value="{{ gst_release_data[6] }}"
           required readonly><br><br>

    <button type="submit">Update GST Release</button>
</form>


</body>
{% endblock %}