Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #19 from eimantas/back-fields
Browse files Browse the repository at this point in the history
Add a few back-fields
  • Loading branch information
eimantas authored Jan 19, 2022
2 parents 9815dc8 + 8af24f2 commit 0bc2916
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/main/java/gpasas/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,36 @@ public static byte[] MakePkPass(PdfData pdfData) throws PKSigningException {
.label("Galioja iki")
.value(pdfData.validTill)
)
.backFieldBuilder(
PKField.builder()
.key("url")
.label("Svetainė")
.value("https://www.gpasas.lt")
)
.backFieldBuilder(
PKField.builder()
.key("general-info")
.label("Informacija Lietuvos gyventojams")
.value("+370 5 236 45 77")
)
.backFieldBuilder(
PKField.builder()
.key("work-time")
.label("Darbo laikas")
.value("I–IV 8:00–17:00\nV 8:00–16:00")
)
.backFieldBuilder(
PKField.builder()
.key("vaccination-url")
.label("Registracija vakcinai")
.value("https://koronastop.lt/")
)
.backFieldBuilder(
PKField.builder()
.key("mobi-url")
.label("GP telefono piniginėje")
.value("https://gpasas.mobi/")
)
)
.barcodeBuilder(
PKBarcode.builder()
Expand Down

0 comments on commit 0bc2916

Please sign in to comment.