Hi everybody,
I made a PDF template for contracts module (AOS_Contracts), in the template i need the date in word, somethin like “ten (10) july of 2017”, so I add a custom field for contracts module and a hook to populate the custom field, and it works, the field is populated correctly, I’ve added to detail view and to edit view, and I can see that the value is correct, also in the database the value is complete, I mean the date si complete.
But, when I print to PDF the template prints only the first word, for example:
I expect: “The contract is signed the ten (10) july of 2017 in two copies.”
I got: “The contract is signed the ten in two copies.”
I thought it was the parentheses but I removed and got the same behavior, I add underscore (_) between words, without spaces, and that way shows the whole phrase in the printed PDF, but obviously you can’t have a contract with the underscores.
If someone know what may be, or how to solve this, I would appreciate.
Thanks.