Skip to content

dhinterlechner/pagopa-template-receipt-pdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧾 pagopa-template-receipt-pdf

This repo contains the pdf receipt templates used by pagoPA

Dependecies

How to apply changes

To edit them, you can choose among these following options:

To generate the HTML output you need to install dependecies typing

How to install and run pdf generator

Under receipt/success/pdf folder, on terminal typing :

yarn install

if all right you'll see something like that

success Saved lockfile.
✨  Done in 21.71s.

then typing :

yarn generate-complete

or

yarn generate-partial

if all right you'll see something like that

Wrote /pagopa-template-receipt-pdf/receipt/success/pdf/template.html from /pagopa-template-receipt-pdf/receipt/success/pdf/template.hbs
✨  Done in 5.62s.

and now, after typing ls -lrt command u'll see a PDF file naming pagopa-receipt-<UUID>.pdf

Compatibility

Templates are compatible with the following clients:

  • Apple Mail 13+ (dark mode included)
  • Gmail Web app
  • OL Office 365 (dark mode included, partially supported on Windows)
  • Outlook 2013, 2016, 2019, 2021 (dark mode included, partially supported on Windows)
  • Windows 10 Mail (dark mode partially supported)
  • Windows 11 Mail
  • Gmail App (Android 6+, dark mode partially supported)
  • Gmail App (iOS 13.1+, dark mode partially supported)
  • iPad (iOS 13.1+)
  • iPhone (iOS 13.1+)
  • AOL Mail
  • Outlook.com Mail (dark mode partially supported)
  • Yahoo! Mail

Related mail templates

About

pagopa pdf 🧾 receipt's template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Handlebars 47.9%
  • HTML 34.6%
  • Python 7.0%
  • CSS 4.6%
  • HCL 3.5%
  • Shell 1.3%
  • JavaScript 1.1%