From 5e54ad64dc1a72fc156323593180ae9c6cda257a Mon Sep 17 00:00:00 2001 From: Adam Shannon Date: Mon, 26 Jul 2021 11:01:55 -0700 Subject: [PATCH] cmd/achcli/describe: include EffectiveEntryDate on human readable output (#967) --- cmd/achcli/describe/file.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/achcli/describe/file.go b/cmd/achcli/describe/file.go index c7040d019..08e67469d 100644 --- a/cmd/achcli/describe/file.go +++ b/cmd/achcli/describe/file.go @@ -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, @@ -51,6 +51,7 @@ func File(ww io.Writer, file *ach.File, opts *Opts) { bh.CompanyDiscretionaryData, bh.CompanyIdentification, bh.CompanyEntryDescription, + bh.EffectiveEntryDate, bh.CompanyDescriptiveDate, ) }