Skip to content

Commit

Permalink
Include Scanned field in CSV export
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Jun 19, 2019
1 parent 2f28e01 commit 38d2374
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Zureg/Model/Csv.hs
Expand Up @@ -23,6 +23,7 @@ instance ToNamedRecord Registrant where
= HM.unions [ namedRecord [ "UUID" .= rUuid ]
, toNamedRecord rState
, toNamedRecord rInfo
, namedRecord [ "Scanned" .= rScanned ]
]

instance ToNamedRecord RegisterState where
Expand Down Expand Up @@ -107,6 +108,7 @@ itemHeader :: Header
itemHeader = header
[ "UUID"
, "State"
, "Scanned"
, "Name"
, "Name on Badge"
, "Email"
Expand Down

0 comments on commit 38d2374

Please sign in to comment.