summaryrefslogtreecommitdiff
path: root/templates/inventory/new_product.html
blob: 9875c4aff09d230d22a6ee9ef17410f483f6aee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

<!-- 
This file is part of the Taler Codeless Merchant.
(C) 2018 GNUnet e.V.

The Taler Codeless Merchant is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

The Taler Codeless Merchant is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License
for more details.

You should have received a copy of the GNU Affero General Public License along
with the Taler Codeless Merchant.  If not, see <https://www.gnu.org/licenses/>.

@author Shivam Kohli
 -->
{% extends "inventory/base2.html" %}

{% block headermsg %}
  <center><h1 class="nav">ADD A NEW PRODUCT</h1></center>
{% endblock headermsg %}

{% block content %}
<div class="main">

    <section id="contact">
        <div class="container">
            <form name="add_product_form" action="/add_product/" method="post" enctype="multipart/form-data">

                {% csrf_token %}
                <label for="name" class="tooltip">Name<font size="1"><span class="tooltiptext">Enter the name of the product</span></font></label>
                <input type="text" name="name" id="name" required>

                <label for="description" class="tooltip">Description<font size="1"><span class="tooltiptext">Describe the product in one or two lines</span></font></label>
                <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>

                <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>

                <label for="minimum_required" class="tooltip">Minimum Inventory Required<font size="1"><span class="tooltiptext">Enter the minimum number of inventory that is required for the given product(notifications will be send if inventory is below this llimit)</span></font></label>
                <input type="number" name="minimum_required" id="minimum_required" required>

                <button name="add_product" type="submit" class="submit">Add Product</button>
              
            </form>
        </div>
    </section>
</div>
{% endblock content %}