summaryrefslogtreecommitdiff
path: root/templates/inventory/product.html
diff options
context:
space:
mode:
authorshivam kohli <kohlishivam5522@gmail.com>2018-06-11 23:06:03 +0530
committershivam kohli <kohlishivam5522@gmail.com>2018-06-11 23:06:03 +0530
commit8a0092f6d68dc8f1ad5b27db46e060b9d48b5371 (patch)
treebbe0446572086133a2cc3e76ec2e1897a397be71 /templates/inventory/product.html
parentabafd12b235e4c10c410e0bf3a981d969ab3fd94 (diff)
downloadcodeless-8a0092f6d68dc8f1ad5b27db46e060b9d48b5371.tar.gz
codeless-8a0092f6d68dc8f1ad5b27db46e060b9d48b5371.tar.bz2
codeless-8a0092f6d68dc8f1ad5b27db46e060b9d48b5371.zip
basic payment using taler implemented
Diffstat (limited to 'templates/inventory/product.html')
-rw-r--r--templates/inventory/product.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/inventory/product.html b/templates/inventory/product.html
index 18fb381..a665876 100644
--- a/templates/inventory/product.html
+++ b/templates/inventory/product.html
@@ -64,12 +64,18 @@
<div class="main">
<center>
- <h1 style="text-transform: uppercase;">{{ name }}</h1>
+ <h1 style="text-transform: uppercase;" id="name">{{ name }}</h1>
</center>
<h5 color="black">Description:</h5><h6>{{ description }}</h6><br>
<h5 color="black">Price:</h5><h6>{{ price }}</h6><br>
- <h5 color="black">Inventory on Hand:</h5><h6>{{ inventory_on_hand }}</h6><br>
+ <h5 color="black">The Cuurent Inventory on Hand is:- {{ inventory_on_hand }}</h5>
+
+ <form name="update_stock" action="{{ url_update_inventory }}" method="post" enctype="multipart/form-data">
+ {% csrf_token %}
+ <input type="number" name="stock_updated" id="stock_updated" placeholder="Update Stock" required>
+ <button name="update_stock" type="submit" class="submit">Update</button>
+ </form>
</div>