-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.html
43 lines (43 loc) · 1.26 KB
/
template.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
<style>
.print-format {
padding: 0px;
}
@media screen {
.print-format {
padding: 0in;
}
}
</style>
<div style="position: relative; top:0.0cm">
<div style="width:16.7cm;height:8.5cm;">
<!-- <span style="top:1.0cm; left:9.0cm;
border-bottom: solid 1px;border-top:solid 1px; width:2cm;text-align: center; position: absolute;">
Acc. Payee
</span> -->
<span style="top:1.6cm; left:4.1cm;
position: absolute;">
{{ frappe.utils.formatdate(doc.reference_date) or '' }}
</span>
<span style="top:5.0cm;left:4.0cm;
position: absolute; min-width: 6cm;">
{{ doc.account_no or '' }}
</span>
<span style="top:2.6cm;left: 9.0cm;font-size:16px;
position: absolute; min-width: 6cm;">
{{doc.party_name}}
</span>
<span style="top:3.6cm; left:3.4cm;font-size:13px;
position: absolute; display: block; width: 15.0cm;
line-height:0.5cm; word-wrap: break-word;">
{{frappe.utils.money_in_words(doc.base_paid_amount or doc.base_received_amount)}}
</span>
<span style="top:3.8cm;left: 15.0cm;
position: absolute; min-width: 4cm;">
# {{doc.get("base_paid_amount") or doc.get("base_received_amount")}}#
</span>
<!-- <span style="top:6.0cm;left: 15.0cm;
position: absolute; min-width: 6cm;">
{{doc.company}}
</span>-->
</div>
</div>