@bookipi/htmlgenerator 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2194,7 +2194,7 @@ var invoiceHtmlWithDetails = (function (_ref) {
2194
2194
 
2195
2195
  if (attachments) {
2196
2196
  for (var i = 0; i < attachments.length; i++) {
2197
- attachmentContainer = attachmentContainer + ("<div class=\"mt-5\">\n <img src=\"" + attachments[i].imageUrl + "\" style=\"max-width:100%\"/>\n <div><strong>" + attachments[i].t + "</strong></div>\n <div>" + attachments[i].d + "</div>\n </div>");
2197
+ attachmentContainer = attachmentContainer + ("<div class=\"mt-5\">\n <img src=\"" + (attachments[i].imageBase64 || attachments[i].imageUrl) + "\" style=\"max-width:100%\"/>\n <div><strong>" + (attachments[i].text || attachments[i].t || '') + "</strong></div>\n <div>" + (attachments[i].description || attachments[i].d || '') + "</div>\n </div>");
2198
2198
  }
2199
2199
  }
2200
2200