summaryrefslogtreecommitdiff
path: root/templates/inventory/new_product.html
blob: c50aaa1485d62da3738515cfd7c8b573ac54b491 (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
57

<!-- 
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 PHYSICAL INVENTORY</h1></center>
  <p>In this kind of product the seller has a flexibilty to add any product (any phyical inventory). The Minimum Quantity of the Product that is required to be maintained in the stock. Whenever the stocks run below this limit the seller would be notified(Curently this feature has not been added but soon email notification would be added). </br> Whenever user purchases a product from the seller, after successful payment they will be redirected to the fullfillment page. On the fullfillment page the user can track his shipment. The status of the order is updated by the merchant and on this basis the user is updated about his shipment on the fullfillment page. For now there are five paramters that have used for tracking.</p>
{% endblock headermsg %}

{% block content %}
<div class="main" style="overflow-x: hidden;">

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