-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtable.html
117 lines (104 loc) · 3.31 KB
/
table.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
<!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">
<title>Invoice</title>
<style>
table{
width: 1000px;
background-color: white;
margin-left: auto;
margin-right: auto;
}
th{
text-align: left;
background-color: lightgreen;
}
table, td, th{
border: 2px solid rgb(224, 216, 216);
border-collapse: collapse;
padding: 10px;
line-height: 1.5;
}
.lebel{
font-size: 20px;
font-weight: 600;
}
.qty{
text-align: center;
}
.price{
text-align: right;
}
</style>
</head>
<body style="background-color: rgb(244, 245, 190)">
<div>
<table>
<tr>
<th colspan="3" style="text-align: center">Invoice: #20221001</th>
<th style="text-align: center">01 Oct 2022</th>
</tr>
<tr>
<td colspan="2">
<span class="lebel">Pay to:</span></br>
Md. Mehedi Hasan Khan</br>
6/23 Salimullah Road, Mohammadpur</br>
Dhaka - 1207
</td>
<td colspan="2">
<span class="lebel">Customer:</span></br>
Md. Samiul Alim</br>
6/23 Salimullah Road, Mohammadpur</br>
Dhaka - 1207
</td>
</tr>
<tr>
<th>Product</th>
<th style="text-align: center">Qty.</th>
<th style="text-align: right">Unit Price</th>
<th style="text-align: right">Amount</th>
</tr>
<tr>
<td>Monitor</td>
<td class="qty">1</td>
<td class="price">12,000 BDT</td>
<td class="price">12,000 BDT</td>
</tr>
<tr>
<td>RAM</td>
<td class="qty">1</td>
<td class="price">4,200 BDT</td>
<td class="price">4,200 BDT</td>
</tr>
<tr>
<td>Headphone</td>
<td class="qty">2</td>
<td class="price">1,350 BDT</td>
<td class="price">2,600 BDT</td>
</tr>
<tr>
<td>Multi-plug</td>
<td class="qty">1</td>
<td class="price">700 BDT</td>
<td class="price">700 BDT</td>
</tr>
<tr>
<th colspan="3">Sub-total</th>
<td class="price">19,500 BDT</td>
</tr>
<tr>
<th colspan="2">Tax</th>
<td class="price">15%</td>
<td class="price">2,925 BDT</td>
</tr>
<tr>
<th colspan="3">Grand Total</th>
<td class="price">22,425 BDT</td>
</tr>
</table>
</div>
</body>
</html>