-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (113 loc) · 6.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css?family=Nunito:400,600,700" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Invoice</title>
<link rel="shortcut icon" type="image/x-icon" href="resources/favicon.png" />
</head>
<body>
<nav id="main-nav" class="no-printable">
<ul class="btn-list">
<li> <button class="btn-pry" id="btnInsert"> <img src="resources/icons/add-row.png" class="icons" alt="#"> <br/> Insert Row </button> </li>
<li> <button class="btn-pry" id="resetPage"> <img src="resources/icons/synchronize.png" class="icons" alt="#"> <br/> Reload Form </button> </li>
<li> <button class="btn-pry"> <img src="resources/icons/downloading-updates.png" class="icons" alt="#"> <br/> Export PDF</button> </li>
<li> <button class="btn-pry" onclick="window.print()"> <img src="resources/icons/print.png" class="icons" alt="#"> <br/> Print Now</button> </li>
<li> <button class="btn-pry" id="btnCalc"> <img src="resources/icons/processor.png" class="icons" alt="#"> <br/> Calculate</button> </li>
</ul>
</nav>
<div class="container">
<table class="inline-table" id="printTable">
<thead>
<tr>
<th colspan="5">
<p class="heading-text">
<span class="title">Invoice</span><br/>
<span class="text-lite">Invoice Id #56897, issues Date: 03/05/2017, Submitted</span>
</p>
</th>
</tr>
<tr>
<td colspan="5">
<p class="text-lite"> <strong>Invoice To</strong> </p>
<p> <input type="text" class="input-form company" placeholder="Enter company name..." autofocus> </p>
<p> <input type="text" class="input-form objects" placeholder="Write optional message here..."> </p>
<p> <input type="text" class="input-form" id="invoicedate" value=""> </p>
</td>
</tr>
</thead>
<tbody id="row-insert">
<tr class="highlight-row">
<th>SL No</th>
<th>Description</th>
<th>Quantity</th>
<th>Price</th>
<th>Total</th>
</tr>
<tr>
<td> <input type="text" class="input-form islno" value="1" readonly> </td>
<td> <input type="text" class="input-form idesc"> </td>
<td> <input type="text" class="input-form nkey iqnty" value="1"> </td>
<td> <input type="text" class="input-form nkey urate"> </td>
<td> <input type="text" class="input-form nkey price" readonly> </td>
</tr>
<tr>
<td> <input type="text" class="input-form islno" value="2" readonly> </td>
<td> <input type="text" class="input-form idesc"> </td>
<td> <input type="text" class="input-form nkey iqnty" value="1"> </td>
<td> <input type="text" class="input-form nkey urate"> </td>
<td> <input type="text" class="input-form nkey price" readonly> </td>
</tr>
<tr>
<td> <input type="text" class="input-form islno" value="3" readonly> </td>
<td> <input type="text" class="input-form idesc"> </td>
<td> <input type="text" class="input-form nkey iqnty" value="1"> </td>
<td> <input type="text" class="input-form nkey urate"> </td>
<td> <input type="text" class="input-form nkey price" readonly> </td>
</tr>
<tr>
<td> <input type="text" class="input-form islno" value="4" readonly> </td>
<td> <input type="text" class="input-form idesc"> </td>
<td> <input type="text" class="input-form nkey iqnty" value="1"> </td>
<td> <input type="text" class="input-form nkey urate"> </td>
<td> <input type="text" class="input-form nkey price" readonly> </td>
</tr>
<tr>
<td> <input type="text" class="input-form islno" value="5" readonly> </td>
<td> <input type="text" class="input-form idesc"> </td>
<td> <input type="text" class="input-form nkey iqnty" value="1"> </td>
<td> <input type="text" class="input-form nkey urate"> </td>
<td> <input type="text" class="input-form nkey price" readonly> </td>
</tr>
</tbody>
<tr class="bottom-row">
<td colspan="4"> <p class="text-medium"> Total Price: </p> </td>
<td> <input type="text" class="input-form no-outline" id="total-price" placeholder="Click Calculate" value="" readonly> </td>
</tr>
<tr class="bottom-row">
<td colspan="4"> <p class="text-medium"> Discounts(in %): </p> </td>
<td> <input type="text" class="input-form nkey discount" maxlength="2" placeholder="Enter value" value=""> </td>
</tr>
<tr class="bottom-row">
<td colspan="4"> <p class="text-medium-bold"> Sub Total: <sapn class="text-lite"> <i>(Includes All)</i> </sapn> </p> </td>
<td> <p class="text-medium-bold"> <span id="sub-total">0</span> </p> </td>
</tr>
<tr class="bottom-row">
<td colspan="1"> <p class="text-medium"> <strong>Inwords:</strong> </p> </td>
<td colspan="4"> <p class="text-medium inwords"> </p> </td>
</tr>
</table>
</div>
<footer class="no-printable">
<div class="container">
<p class="text"> ©Copyrights: <span id="getYear"></span> || All Rights Reserved. By <a href="#"> <strong>Ariful Islam</strong> </a> </p>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="invoice.js"></script>
</body>
</html>