summaryrefslogtreecommitdiff
path: root/templates/inventory/new_product.html
diff options
context:
space:
mode:
authorshivam kohli <kohlishivam5522@gmail.com>2018-08-06 09:29:40 +0530
committershivam kohli <kohlishivam5522@gmail.com>2018-08-06 09:29:40 +0530
commit197a147ebabf0d32b66df1779877504de6051b9a (patch)
tree57a873f5daa61d9b7e69f0056261918f62039a6a /templates/inventory/new_product.html
parent3dea6592563c23a483a5454f55f639de32092be4 (diff)
downloadcodeless-197a147ebabf0d32b66df1779877504de6051b9a.tar.gz
codeless-197a147ebabf0d32b66df1779877504de6051b9a.tar.bz2
codeless-197a147ebabf0d32b66df1779877504de6051b9a.zip
changed price field to decimal
Diffstat (limited to 'templates/inventory/new_product.html')
-rw-r--r--templates/inventory/new_product.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/inventory/new_product.html b/templates/inventory/new_product.html
index c50aaa1..3bba0c6 100644
--- a/templates/inventory/new_product.html
+++ b/templates/inventory/new_product.html
@@ -40,7 +40,7 @@ with the Taler Codeless Merchant. If not, see <https://www.gnu.org/licenses/>.
<input type="text" name="description" id="description" required></input>
<label for="price" class="tooltip">Price<font size="1"><span class="tooltiptext">Enter the price of the product. Remeber to write price in English texts. For Example 100 or 99.95</span></font></label>
- <input type="text" name="price" id="price" required>
+ <input type="number" name="price" id="price"min="0" value="0" step="0.01" title="Currency" pattern="^\d+(?:\.\d{1,2})?$" required>
<label for="starting_inventory" class="tooltip">Starting Inventory<font size="1"><span class="tooltiptext">Enter the number of Inventory initially available for the given product</span></font></label>
<input type="number" name="starting_inventory" id="starting_inventory" required>