Skip to content

Commit

Permalink
fix(intermediate): support templates and settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Nov 21, 2024
1 parent 63f078f commit 511acb1
Show file tree
Hide file tree
Showing 5 changed files with 640 additions and 749 deletions.
52 changes: 51 additions & 1 deletion cfg/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,56 @@
"disable_invoice_html_storage": "false",
"bucket_key_delimiter": "/"
}
}
},
"Templates": [
{
"body": {
"url": "file://./templates/invoice_header.hbs"
},
"ordinal": 0,
"use_case": "INVOICE_PDF"
},
{
"body": {
"url": "file://./templates/invoice_body.hbs"
},
"layout": {
"url": "file://./templates/invoice_layout.hbs"
},
"ordinal": 1,
"use_case": "INVOICE_PDF"
},
{
"body": {
"url": "file://./templates/invoice_footer.hbs"
},
"ordinal": 2,
"use_case": "INVOICE_PDF"
},
{
"body": {
"url": "file://./templates/invoice_header.hbs"
},
"ordinal": 0,
"use_case": "INVOICE_EMAIL"
},
{
"body": {
"url": "file://./templates/invoice_body.hbs"
},
"layout": {
"url": "file://./templates/invoice_layout.hbs"
},
"ordinal": 1,
"use_case": "INVOICE_EMAIL"
},
{
"body": {
"url": "file://./templates/invoice_footer.hbs"
},
"ordinal": 2,
"use_case": "INVOICE_EMAIL"
}
]
}
}
Loading

0 comments on commit 511acb1

Please sign in to comment.