1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/storage/templates/clean.js

306 lines
3.9 KiB
JavaScript
Raw Normal View History

2018-03-23 15:18:11 +01:00
{
"content":[
{
"columns":[
{
"image":"$accountLogo",
2018-03-23 15:18:11 +01:00
"fit":[
120,
80
]
},
2018-03-23 15:18:11 +01:00
{
"stack":"$accountDetails",
2018-03-23 15:18:11 +01:00
"margin":[
7,
0,
0,
0
]
},
2018-03-23 15:18:11 +01:00
{
"stack":"$accountAddress"
}
]
},
2018-03-23 15:18:11 +01:00
{
"text":"$entityTypeUC",
2018-03-23 15:18:11 +01:00
"margin":[
8,
30,
8,
5
],
"style":"entityTypeLabel"
},
2018-03-23 15:18:11 +01:00
{
"table":{
"headerRows":1,
2018-03-23 15:18:11 +01:00
"widths":[
"auto",
"auto",
"*"
],
2018-03-23 15:18:11 +01:00
"body":[
[
{
"table":{
"body":"$invoiceDetails"
},
2018-03-23 15:18:11 +01:00
"margin":[
0,
0,
12,
0
],
"layout":"noBorders"
},
2018-03-23 15:18:11 +01:00
{
"stack":"$clientDetails"
},
2018-03-23 15:18:11 +01:00
{
"text":""
}
]
]
},
2018-03-23 15:18:11 +01:00
"layout":{
"hLineWidth":"$firstAndLast:.5",
"vLineWidth":"$none",
"hLineColor":"#D8D8D8",
"paddingLeft":"$amount:8",
"paddingRight":"$amount:8",
"paddingTop":"$amount:6",
"paddingBottom":"$amount:6"
}
},
2018-03-23 15:18:11 +01:00
{
"style":"invoiceLineItemsTable",
2018-03-23 15:18:11 +01:00
"table":{
"headerRows":1,
"widths":"$invoiceLineItemColumns",
"body":"$invoiceLineItems"
},
2018-03-23 15:18:11 +01:00
"layout":{
"hLineWidth":"$notFirst:.5",
"vLineWidth":"$none",
"hLineColor":"#D8D8D8",
"paddingLeft":"$amount:8",
"paddingRight":"$amount:8",
"paddingTop":"$amount:14",
"paddingBottom":"$amount:14"
}
},
2018-03-23 15:18:11 +01:00
{
"columns":[
"$notesAndTerms",
2018-03-23 15:18:11 +01:00
{
"table":{
"widths":[
"*",
"40%"
],
"body":"$subtotals"
},
2018-03-23 15:18:11 +01:00
"layout":{
"hLineWidth":"$none",
"vLineWidth":"$none",
"paddingLeft":"$amount:34",
"paddingRight":"$amount:8",
"paddingTop":"$amount:4",
"paddingBottom":"$amount:4"
}
}
]
},
2018-03-23 15:18:11 +01:00
"$signature",
2018-04-11 22:18:01 +02:00
{
2018-03-23 15:18:11 +01:00
"stack":[
"$invoiceDocuments"
],
"style":"invoiceDocuments"
}
],
2018-03-23 15:18:11 +01:00
"defaultStyle":{
"font":"$bodyFont",
"fontSize":"$fontSize",
2018-03-23 15:18:11 +01:00
"margin":[
8,
4,
8,
4
]
},
2018-03-23 15:18:11 +01:00
"footer":{
"columns":[
{
"text":"$invoiceFooter",
"alignment":"left"
}
],
2018-03-23 15:18:11 +01:00
"margin":[
40,
-20,
40,
0
]
},
2018-03-23 15:18:11 +01:00
"styles":{
"entityTypeLabel":{
"font":"$headerFont",
"fontSize":"$fontSizeLargest",
"color":"$primaryColor:#37a3c6"
},
2018-03-23 15:18:11 +01:00
"primaryColor":{
"color":"$primaryColor:#37a3c6"
},
2018-03-23 15:18:11 +01:00
"accountName":{
"color":"$primaryColor:#37a3c6",
"bold":true
},
2018-03-23 15:18:11 +01:00
"invoiceDetails":{
"margin":[
0,
0,
8,
0
]
},
2018-03-23 15:18:11 +01:00
"accountDetails":{
"margin":[
0,
2,
0,
2
]
},
2018-03-23 15:18:11 +01:00
"clientDetails":{
"margin":[
0,
2,
0,
2
]
},
2018-03-23 15:18:11 +01:00
"notesAndTerms":{
"margin":[
0,
2,
0,
2
]
},
2018-03-23 15:18:11 +01:00
"accountAddress":{
"margin":[
0,
2,
0,
2
]
},
2018-03-23 15:18:11 +01:00
"odd":{
"fillColor":"#fbfbfb"
},
2018-03-23 15:18:11 +01:00
"productKey":{
"color":"$primaryColor:#37a3c6",
"bold":true
},
2018-03-23 15:18:11 +01:00
"subtotalsBalanceDueLabel":{
"fontSize":"$fontSizeLarger"
},
2018-03-23 15:18:11 +01:00
"subtotalsBalanceDue":{
"fontSize":"$fontSizeLarger",
"color":"$primaryColor:#37a3c6"
},
2018-03-23 15:18:11 +01:00
"invoiceNumber":{
"bold":true
},
2018-03-23 15:18:11 +01:00
"tableHeader":{
"bold":true,
"fontSize":"$fontSizeLarger"
},
2018-03-23 15:18:11 +01:00
"costTableHeader":{
"alignment":"right"
},
2018-03-23 15:18:11 +01:00
"qtyTableHeader":{
"alignment":"right"
},
2018-03-23 15:18:11 +01:00
"taxTableHeader":{
"alignment":"right"
},
2018-03-23 15:18:11 +01:00
"lineTotalTableHeader":{
"alignment":"right"
},
2018-03-23 15:18:11 +01:00
"invoiceLineItemsTable":{
"margin":[
0,
16,
0,
16
]
},
2018-03-23 15:18:11 +01:00
"clientName":{
"bold":true
},
2018-03-23 15:18:11 +01:00
"cost":{
"alignment":"right"
},
2018-03-23 15:18:11 +01:00
"quantity":{
"alignment":"right"
},
2018-03-23 15:18:11 +01:00
"tax":{
"alignment":"right"
},
2018-03-23 15:18:11 +01:00
"lineTotal":{
"alignment":"right"
},
2018-03-23 15:18:11 +01:00
"subtotals":{
"alignment":"right"
},
2018-03-23 15:18:11 +01:00
"termsLabel":{
"bold":true
},
2018-03-23 15:18:11 +01:00
"fullheader":{
"font":"$headerFont",
"fontSize":"$fontSizeLargest",
"bold":true
},
2018-03-23 15:18:11 +01:00
"subheader":{
"font":"$headerFont",
"fontSize":"$fontSizeLarger"
},
2018-03-23 15:18:11 +01:00
"help":{
"fontSize":"$fontSizeSmaller",
"color":"#737373"
},
2018-03-23 15:18:11 +01:00
"invoiceDocuments":{
"margin":[
7,
0,
7,
0
]
},
2018-03-23 15:18:11 +01:00
"invoiceDocument":{
"margin":[
0,
10,
0,
10
]
}
},
2018-03-23 15:18:11 +01:00
"pageMargins":[
40,
40,
40,
60
2018-04-11 22:18:01 +02:00
],
"background": [
{
"image": "$accountBackground",
"alignment": "center"
}
]
2016-09-20 08:02:42 +02:00
}