@medicus.ai/medicus-report-pdf-generator 1.0.203 → 1.0.204
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.
|
@@ -455,12 +455,12 @@ table.data-by-gender {
|
|
|
455
455
|
|
|
456
456
|
table.data-by-gender-extended {
|
|
457
457
|
width: 100%;
|
|
458
|
-
margin-top:
|
|
458
|
+
margin-top: 20%;
|
|
459
459
|
float: left;
|
|
460
460
|
text-align: left;
|
|
461
461
|
font-size: 91%;
|
|
462
462
|
border-spacing: 0;
|
|
463
|
-
margin-bottom:
|
|
463
|
+
margin-bottom: 30%;
|
|
464
464
|
page-break-inside: avoid;
|
|
465
465
|
}
|
|
466
466
|
|
package/config/sanusx.json
CHANGED
|
@@ -179,10 +179,9 @@ let generateHTMLCorporateReport = async (data, isDebugging) => {
|
|
|
179
179
|
element.relations.map((relation) => {
|
|
180
180
|
$("#" + pageId + " .relations-section-container .relations-section-titles").append("<div class='single-relation'>" +
|
|
181
181
|
"<div class='relation-title'>" + relation.title + "</div>" +
|
|
182
|
-
"</div>");
|
|
183
|
-
$("#" + pageId + " .relations-section-container .relations-section-content").append("<div class='single-relation'>" +
|
|
184
182
|
"<div class='relation-content'>" + relation.text + "</div>" +
|
|
185
183
|
"<div class='relation-content-bottom-bg'></div>" +
|
|
184
|
+
"</div>" +
|
|
186
185
|
"</div>");
|
|
187
186
|
})
|
|
188
187
|
} else {
|
|
@@ -207,7 +206,7 @@ let generateHTMLCorporateReport = async (data, isDebugging) => {
|
|
|
207
206
|
dataByGenderHTML += "</tr>"
|
|
208
207
|
})
|
|
209
208
|
dataByGenderHTML += "</tbody>"
|
|
210
|
-
if (!empty(element.relations) && element.relations.length > 4) {
|
|
209
|
+
if ((!empty(element.relations) && element.relations.length > 4) || tabelBody.length > 8 ) {
|
|
211
210
|
$("#" + pageId + " .data-by-gender-extended").append(tabelHeaderHTML);
|
|
212
211
|
$("#" + pageId + " .data-by-gender-extended").append(dataByGenderHTML);
|
|
213
212
|
$("#" + pageId + " .data-by-gender").remove();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medicus.ai/medicus-report-pdf-generator",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Nasco corporate report - latest update in 30/10/2022 -
|
|
3
|
+
"version": "1.0.204",
|
|
4
|
+
"description": "Nasco corporate report - latest update in 30/10/2022 - Fix coprorate report issues",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "node index.js"
|