Skip to content

Commit

Permalink
cmd/achcli/describe: include EffectiveEntryDate on human readable out…
Browse files Browse the repository at this point in the history
…put (#967)
  • Loading branch information
adamdecaf committed Jul 26, 2021
1 parent 6cf70b7 commit 5e54ad6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/achcli/describe/file.go
Expand Up @@ -38,11 +38,11 @@ func File(ww io.Writer, file *ach.File, opts *Opts) {

// Batches
for i := range file.Batches {
fmt.Fprintln(w, "\n BatchNumber\tSECCode\tServiceClassCode\tCompanyName\tDiscretionaryData\tIdentification\tEntryDescription\tDescriptiveDate")
fmt.Fprintln(w, "\n BatchNumber\tSECCode\tServiceClassCode\tCompanyName\tDiscretionaryData\tIdentification\tEntryDescription\tEffectiveEntryDate\tDescriptiveDate")

bh := file.Batches[i].GetHeader()
if bh != nil {
fmt.Fprintf(w, " %d\t%s\t%d %s\t%s\t%s\t%s\t%s\t%s\n",
fmt.Fprintf(w, " %d\t%s\t%d %s\t%s\t%s\t%s\t%s\t%s\t%s\n",
bh.BatchNumber,
bh.StandardEntryClassCode,
bh.ServiceClassCode,
Expand All @@ -51,6 +51,7 @@ func File(ww io.Writer, file *ach.File, opts *Opts) {
bh.CompanyDiscretionaryData,
bh.CompanyIdentification,
bh.CompanyEntryDescription,
bh.EffectiveEntryDate,
bh.CompanyDescriptiveDate,
)
}
Expand Down

0 comments on commit 5e54ad6

Please sign in to comment.