diff --git a/internal/page/donor/send_us_your_evidence_by_post.go b/internal/page/donor/send_us_your_evidence_by_post.go index 17cfa159bb..8d7b60dcc0 100644 --- a/internal/page/donor/send_us_your_evidence_by_post.go +++ b/internal/page/donor/send_us_your_evidence_by_post.go @@ -5,18 +5,21 @@ import ( "github.com/ministryofjustice/opg-go-common/template" "github.com/ministryofjustice/opg-modernising-lpa/internal/page" + "github.com/ministryofjustice/opg-modernising-lpa/internal/pay" "github.com/ministryofjustice/opg-modernising-lpa/internal/validation" ) type sendUsYourEvidenceByPostData struct { - App page.AppData - Errors validation.List + App page.AppData + Errors validation.List + FeeType pay.FeeType } func SendUsYourEvidenceByPost(tmpl template.Template, payer Payer) Handler { return func(appData page.AppData, w http.ResponseWriter, r *http.Request, lpa *page.Lpa) error { data := &sendUsYourEvidenceByPostData{ - App: appData, + App: appData, + FeeType: lpa.FeeType, } if r.Method == http.MethodPost { diff --git a/web/template/send_us_your_evidence_by_post.gohtml b/web/template/send_us_your_evidence_by_post.gohtml index 4b1a0e3666..40598bfacb 100644 --- a/web/template/send_us_your_evidence_by_post.gohtml +++ b/web/template/send_us_your_evidence_by_post.gohtml @@ -13,7 +13,7 @@