Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<body>
<h1>Product Records</h1>

<!-- Alert Message -->
<div id="alertMessage" class="alert" role="alert" style="display: none;"></div>

<!-- Form to Add or Update Records -->
<form id="productForm">
<input type="hidden" id="editId"> <!-- Hidden input for storing record ID during edit -->
Expand All @@ -18,6 +21,9 @@ <h1>Product Records</h1>
<label for="description">Description:</label>
<input type="text" id="description" placeholder="Description" name="description" required><br>

<label for="billno">Bill No:</label>
<input type="number" id="billno" placeholder="Bill Number" name="billno" required><br>

<label for="date">Date:</label>
<input type="date" id="date" name="date" required><br>

Expand All @@ -33,8 +39,6 @@ <h1>Product Records</h1>
<!-- Section to Display Records -->
<h2>Grand Total: ₹<span id="grandTotal">0.00</span></h2>
<h2>Records</h2>
<!-- Alert Message -->
<div id="alertMessage" class="alert" role="alert" style="display: none;"></div>
<div id="recordsContainer" class="card-container">
<!-- Records will be dynamically inserted here -->
</div>
Expand All @@ -46,4 +50,4 @@ <h2>Records</h2>

<script src="script.js"></script>
</body>
</html>
</html>