Skip to content

Commit

Permalink
Merge pull request #159 from icefoganalytics/test
Browse files Browse the repository at this point in the history
Report fonts
  • Loading branch information
datajohnson authored Sep 26, 2023
2 parents 5e0756b + 4d2703a commit f3ab7fa
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ RUN apk add --no-cache \
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

COPY fonts/*.ttf /usr/share/fonts
RUN fc-cache -fv

RUN mkdir /home/node/app && chown -R node:node /home/node/app
RUN mkdir /home/node/web && chown -R node:node /home/node/web

Expand Down
Binary file added fonts/segoeui.ttf
Binary file not shown.
Binary file added fonts/segoeuib.ttf
Binary file not shown.
Binary file added fonts/segoeuii.ttf
Binary file not shown.
Binary file added fonts/segoeuil.ttf
Binary file not shown.
Binary file added fonts/segoeuisl.ttf
Binary file not shown.
Binary file added fonts/segoeuiz.ttf
Binary file not shown.
Binary file added fonts/seguibl.ttf
Binary file not shown.
Binary file added fonts/seguibli.ttf
Binary file not shown.
Binary file added fonts/seguili.ttf
Binary file not shown.
Binary file added fonts/seguisb.ttf
Binary file not shown.
Binary file added fonts/seguisbi.ttf
Binary file not shown.
Binary file added fonts/seguisli.ttf
Binary file not shown.
3 changes: 0 additions & 3 deletions src/api/routes/admin/csl-certificate-audit-report-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ const RELEVANT_LOAN_TYPES = [4, 5];
cslCertificateAuditReportRouter.get(
"/:FROM_DATE/:TO_DATE/:ACADEMIC_YEAR.:format",
[param("ACADEMIC_YEAR").isInt().notEmpty(), param("FROM_DATE").notEmpty(), param("TO_DATE").notEmpty()],
//ReturnValidationErrors,
async (req: Request, res: Response) => {
//const { filter = true } = req.query;
const { FROM_DATE, TO_DATE, ACADEMIC_YEAR, format } = req.params;

try {
Expand Down Expand Up @@ -53,7 +51,6 @@ cslCertificateAuditReportRouter.get(
and d.csl_cert_seq_number IS NOT NULL
and m.msfaa_status = 'Received'
ORDER BY 1, CASE WHEN rt.id IN (${RELEVANT_LOAN_TYPES.join(",")}) THEN 1 ELSE 2 END, due_date, rt.id`);


let data = {
currentDate: new Date(),
Expand Down
6 changes: 3 additions & 3 deletions src/api/templates/layouts/report-layout.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
/* Example CSS Styling */
body {
font-family: Calibri;
font-size: 11pt;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 10pt;
line-height: 1.2;
margin: 30px;
color: #000;
Expand Down Expand Up @@ -118,7 +118,7 @@
.table th, .table td {
text-align: left;
padding: 1px 5px;
font-size: 13px
font-size: 12px
}
</style>
</head>
Expand Down

0 comments on commit f3ab7fa

Please sign in to comment.