Created
November 23, 2023 14:04
-
-
Save bjoerntx/4f4a4a67e919b342e411dccda711f9cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
if (Model.TemplateData != null) | |
{ | |
@Html.TXTextControl().TextControl().LoadDataFromJson(Model.InvoiceData).LoadText(Convert.FromBase64String(Model.TemplateData), TXTextControl.Web.BinaryStreamType.InternalUnicodeFormat).Render() | |
} | |
else | |
{ | |
@Html.TXTextControl().TextControl().LoadDataFromJson(Model.InvoiceData).Render() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment