-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
140 lines (134 loc) · 4.84 KB
/
index.html
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="partials/css/style.css">
<script src="partials/js/script.js"></script>
<title>Avitya Enterprises</title>
</head>
<body>
<div class="nav">
<img src="" alt=""> Quotation Generator </img>
</div>
<div class="data" id="data">
<!-- DATE -->
<table>
<tr>
<td> Date : </td>
<td> <input type="date" id="date" name="date"></input></td>
</tr>
</table>
<hr>
<!-- From -->
<table>
<tr>
<td> From </td>
</tr>
<tr>
<td> <input type="text" id="ycname" name="ycname" placeholder="Your Company Name"></input></td>
</tr>
<tr>
<td> Company Address : </td>
</tr>
<tr>
<td> <input type="text" id="yaddress" name="yaddress"></input></td>
</tr>
<tr>
<td> Company Phone No. : </td>
</tr>
<tr>
<td> <input type="tel" id="yphnno" name="yphnno"></input></td>
</tr>
<tr>
<td> Company Mail Id : </td>
</tr>
<tr>
<td> <input type="email" id="yemail" name="yemail"></input></td>
</tr>
<tr>
<td> Company GST No. : </td>
</tr>
<tr>
<td> <input type="text" id="ygstno" name="ygstno"></input></td>
</tr>
<tr>
<td> Quotation Prepared By : </td>
</tr>
<tr>
<td> <input type="text" id="from" name="from"></input></td>
</tr>
</table>
<hr>
<!-- TO -->
<table>
<tr>
<td> To : </td>
</tr>
<tr>
<td> <input type="text" id="to" name="to"></input></td>
</tr>
<tr>
<td> Company Name : </td>
</tr>
<tr>
<td> <input type="text" id="cname" name="cname"></input></td>
</tr>
<tr>
<td> Company Address : </td>
</tr>
<tr>
<td> <input type="address" id="caddress" name="caddress"></input></td>
</tr>
</table>
<hr>
<!-- ITEM LIST -->
<div class="list" id="list">
<table>
<tr>
<td> Item No : #1 </td>
</tr>
<tr>
<td colspan="2"> Item Name : <input type="text" id="iname1" name="iname1" ></td>
</tr>
<tr>
<td colspan="2"> HSN : <input type="number" id="ihsn1" name="ihsn1" style="width: 77%;"></td>
</tr>
<tr>
<td> Unit Price : <input type="number" id="iunitprice1" name="iunitprice1" style="width: 50%;" onblur="generateTotal(this.value, this.parentElement.nextElementSibling.childNodes[1].value, 'itemTotal1')"> </td>
<td> Qty : <input type="number" id="iqty1" name="iqty1" style="width: 55%;" onblur="generateTotal(this.parentElement.previousElementSibling.childNodes[1].value, this.value,'itemTotal1')"></td>
</tr>
<tr>
<td> Total : <span id="itemTotal1" name="itemTotal"> 0 /- Rs </span> </td>
</tr>
</table>
<hr>
</div>
<div class="finalTotal">
<table>
<tr>
<td> Sub Total : </span> </td>
<td> <span id="subTotal" > </span> </td>
</tr>
<tr>
<td> Tax <input type="number" id="gst" name="gst" style="width: 30%;" onblur="generateFinalTotal()">% : </td>
<td> <span id="gstTotal"> </span> </td>
</tr>
<tr>
<td> <b> Final Total : </b> </td>
<td> <span id="finalTotal" > </span> </td>
</tr>
</table>
</div>
</div>
<div class="button" id="buttonVisibility">
<ul id="ulOfOptions">
<li onclick="location.reload()">Reset </li>
<li onclick="addItem()"> Add Item </li>
<li onclick="generatePdf()">Gererate PDF </li>
</ul>
<button onclick="options()"> + </button>
</div>
</body>
</html>