-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPrint_Version.tid
34 lines (32 loc) · 1016 Bytes
/
Print_Version.tid
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
caption: Preview
title: $:/plugins/OokTech/InvoiceCreator/Print Version
type: text/vnd.tiddlywiki
\define thisMakePreview()
<$list
filter="""[list[$:/data/Invoice/$(ThisInvoice)$##section_order]]"""
variable=ThisSection
>
<$transclude
tiddler=<<ThisSection>>
mode=block
/>
</$list>
\end
<$vars
ThisInvoice={{$:/settings/Global!!selected_invoice}}
>
<$list filter='[[$:/data/Invoice/]addsuffix<ThisInvoice>getindex[page_size]prefix[Letter]]'>
<div
style='width:8.5in;height:11in;background-color:white;color:black;'
>
<<thisMakePreview>>
</div>
</$list>
<$list filter='[[$:/data/Invoice/]addsuffix<ThisInvoice>getindex[page_size]prefix[A4]][[$:/data/Invoice/]addsuffix<ThisInvoice>getindex[page_size]!prefix[Letter]]+[limit[1]]'>
<div
style='width:21cm;height:29.7cm;margin-left:20px;background-color:white;color:black'
>
<<thisMakePreview>>
</div>
</$list>
</$vars>