forked from abshakekumar/html-pdf-example-using-Mustache.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
htmlstringContent.txt
181 lines (171 loc) · 7.39 KB
/
htmlstringContent.txt
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<style>
.main-container{font-size: 8px; max-width: 700px; margin: 0 auto;}
.table { width: 100%; text-align: left;}
.table-header { font-size: 8px;}
.table-data { font-size: 7px;}
.header { width: 30%; font-size: 8px; font-weight: bold;}
.header-address { font-size: 8px; font-weight: normal;}
.table.shipping-table { width: 50%; vertical-align: unset; padding: 10px 0;}
.table.shipping-table td { vertical-align: unset; font-size:8px;}
.data-columns {padding:15px 0 0 0; display:inline-block; width: 100%; position: relative;}
.data-columns > section:first-child {width:40%; display:inline-block; font-weight:bold;}
.data-columns > section:last-child {width:55%; display: inline-block; font-weight:bold; float: right;}
.data-columns td { padding: 0;}
.data-columns table { width: 100%; font-size:8px; font-weight: bold;}
.data-columns td:first-child { width: 40%;}
.data-columns td:last-child { font-weight: normal;}
.data-columns > section:last-child tr:last-child { position: absolute; bottom: 3px;}
.ship-to.data-columns section:last-child > div:last-child { position: absolute; bottom: 0;}
.ship-header > span {padding-right: 20px; font-weight: bold; font-size: 10px;}
img { width: 200px; height:100px; border: 2px solid red;}
.main-container{ color: ; font-size: 8px;}
</style>
<section class="container-provided main-container">
<header class="header">
<section >
<div>hello : sample1_l.jpg</div>
<img src='sample1_l.jpg'/>
<div class="header-title">ALLTIMER</div>
<div class="header-address">
<div>sadasdasdasdsadsa</div>
<div>324234 234234 xgashdgasd asdhasdasdasd</div>
<div>Caanda- 45455</div>
</div>
</section>
</header>
<section class='section-provided'>
<table class='table-provided shipping-table table'>
<tbody class='table-data-provided table-data'>
<tr valign='top'>
<td style="width: 20%; vertical-align: unset; font-weight: bold; font-size: 8px;">Ship To : </td>
<td>sdasdasdsa , <div>sadasdasd asd as das d dasd asd as das dasd asd as das dasd asd as das dasd asd as das as dasdd</div></td>
</tr>
</tbody>
</table>
</section>
<div class="ship-header">
<span>SHIP :</span>
<span>PREPAID GROUND</span>
<span>PACKING SLIP ONLY</span>
</div>
<section class="section-provided ship-to data-columns">
<section>
<table class='table-provided'>
<tbody class='table-data-provided'>
<tr>
<td>Order ID:</td>
<td>dasdasdasd asdasdasdasdsa</td>
</tr>
<tr>
<td> PO # :</td>
<td>dasdasdasd asdasdasdasdsa</td>
</tr>
<tr>
<td>Order Terms :</td>
<td>dasdasdasd asdasdasdasdsa</td>
</tr>
<tr>
<td>Start Date :</td>
<td>Sat Sep 08 2018 21:39:32 GMT+0530 (IST)</td>
</tr>
<tr>
<td>Expiry Date :</td>
<td>Sat Sep 08 2018 21:39:32 GMT+0530 (IST)</td>
</tr>
</tbody>
</table>
</section>
<section>
<table class='table-provided'>
<tbody class='table-data-provided'>
<tr>
<td>Total Ordered :</td>
<td></td>
</tr>
<tr>
<td> Total Unavailable :</td>
<td>dasdasdasd asdasdasdasdsa</td>
</tr>
<tr>
<td>Total Shipped :</td>
<td>dasdasdasd asdasdasdasdsa</td>
</tr>
<tr>
<td style="min-width:100px;">Order Notes :</td>
<td>dasdasdasd asdasdasdasdsa</td>
</tr>
</tbody>
</table>
</section>
</section>
<section class='section-provided' style="padding-top: 15px; padding-bottom: 10px">
<table class='table-provided table'>
<thead class='table-header-provided table-header'>
<tr>
<th style="width:15%">SKU</th>
<th style="width:15%">UPC Code</th>
<th style="width:20%">Description</th>
<th style="width:5%">ORD</th>
<th style="width:5%">UA</th>
<th style="width:5%">SHP</th>
<th style="width:10%">Weight per item (wt1)</th>
<th style="width:10%"> ExtendedWeight (wt1)</th>
<th style="width:10%"></th>
<th style="width:5%">Type</th>
<th style="width:5%">Shipment Carton #</th>
</tr>
</thead>
<tbody class='table-data-provided table-data'>
<tr>
<td>124</td>
<td>21323</td>
<td>2323213123213213</td>
<td>213</td>
<td>213</td>
<td>123</td>
<td>213</td>
<td>213</td>
<td></td>
<td>213</td>
<td>213</td>
</tr>
<tr>
<td>124</td>
<td>21323</td>
<td>2323213123213213</td>
<td>213</td>
<td>213</td>
<td>123</td>
<td>213</td>
<td>213</td>
<td></td>
<td>213</td>
<td>213</td>
</tr>
<tr>
<td>124</td>
<td>21323</td>
<td>2323213123213213</td>
<td>213</td>
<td>213</td>
<td>123</td>
<td>213</td>
<td>213</td>
<td></td>
<td>213</td>
<td>213</td>
</tr>
<tr>
<td style="color: white">.</td>
</tr>
<tr style="font-size:8px;">
<td colspan='6'></td>
<td colspan="4" style="font-weight: bold; font-size:9px; text-align: right;">Total Cartons : </td>
<td>45</td></tr>
<tr style="font-size:8px;">
<td colspan='6'></td>
<td colspan="4" style="font-weight: bold; font-size:9px; text-align: right;">Total Weight(wt1) : </td>
<td>345</td></tr>
</tbody>
</table>
</section>