Dear all,
I’m trying to set up a customized invoice design. One last thing doesn’t work… the name of the customer (ex. “John Long-name”) is always splittet into 2 lines. How can I avoid that?
{
"table": {
"headerRows": 1,
"widths": [
"auto",
"auto",
"*"
],
"body": [
[
{
"stack": [
"$client.name",
"$client.address1"
]
},
{
"table": {
"body": "$invoiceDetails"
},
"margin": [
214,
0,
12,
0
],
"layout": "noBorders"
},
{
"text": ""
}
]
]
},
"layout": {
"hLineWidth": "$firstAndLast:.5",
"vLineWidth": "$none",
"hLineColor": "white",
"paddingLeft": "$amount:8",
"paddingRight": "$amount:8",
"paddingTop": "$amount:6",
"paddingBottom": "$amount:6"
}
},
{
"columns": [
{
"text": [
"$client.postalCode ",
"$client.city"
]
}
],
"margin": [
9,
-42,
0,
0
],
"fontSize": "$fontSizeLarger"
},
Thank you very much for your help.
Regards,
Daniel