Skip to content

Commit

Permalink
17869 - REPORT_API CFS Account Number Added (#1309)
Browse files Browse the repository at this point in the history
Signed-off-by: AbrahamRostampoor <[email protected]>
  • Loading branch information
AbrahamRostampoor authored Oct 27, 2023
1 parent 44ede23 commit 95cf80f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
3 changes: 2 additions & 1 deletion pay-api/src/pay_api/services/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ def create_invoice_pdf(identifier: int, **kwargs) -> Tuple:
invoice_pdf_dict = {
'templateName': 'invoice',
'reportName': invoice_number,
'templateVars': template_vars
'templateVars': template_vars,
'populatePageNumber': True
}
current_app.logger.info('Invoice PDF Dict %s', invoice_pdf_dict)
pdf_response = OAuthService.post(current_app.config.get('REPORT_API_BASE_URL'),
Expand Down
29 changes: 20 additions & 9 deletions report-api/report-templates/invoice.html

Large diffs are not rendered by default.

0 comments on commit 95cf80f

Please sign in to comment.