diff --git a/benefits/core/migrations/0002_data.py b/benefits/core/migrations/0002_data.py index ff639e7325..e690f911a4 100644 --- a/benefits/core/migrations/0002_data.py +++ b/benefits/core/migrations/0002_data.py @@ -295,6 +295,25 @@ def load_data(app, *args, **kwargs): sacrt_agency.eligibility_types.set([sacrt_senior_type]) sacrt_agency.eligibility_verifiers.set([sacrt_senior_verifier]) + sbmtd_agency = TransitAgency.objects.create( + slug="sbmtd", + short_name=os.environ.get("SBMTD_AGENCY_SHORT_NAME", "SBMTD (sample)"), + long_name=os.environ.get("SBMTD_AGENCY_LONG_NAME", "Santa Barbara MTD (sample)"), + agency_id="sbmtd", + merchant_id=os.environ.get("SBMTD_AGENCY_MERCHANT_ID", "sbmtd"), + info_url="https://sbmtd.gov/taptopride/", + phone="805-963-3366", + active=os.environ.get("SBMTD_AGENCY_ACTIVE", "True").lower() == "true", + private_key=client_private_key, + public_key=client_public_key, + jws_signing_alg=os.environ.get("SBMTD_AGENCY_JWS_SIGNING_ALG", "RS256"), + payment_processor=mst_payment_processor, + index_template="core/index--sbmtd.html", + eligibility_index_template="eligibility/index--sbmtd.html", + ) + sbmtd_agency.eligibility_types.set([sbmtd_senior_type]) + sbmtd_agency.eligibility_verifiers.set([sbmtd_senior_verifier]) + class Migration(migrations.Migration): dependencies = [ diff --git a/benefits/core/templates/core/index--sbmtd.html b/benefits/core/templates/core/index--sbmtd.html new file mode 100644 index 0000000000..f4fa241b33 --- /dev/null +++ b/benefits/core/templates/core/index--sbmtd.html @@ -0,0 +1 @@ +{% extends "core/agency-index.html" %} diff --git a/benefits/eligibility/templates/eligibility/index--sbmtd.html b/benefits/eligibility/templates/eligibility/index--sbmtd.html new file mode 100644 index 0000000000..785eec6626 --- /dev/null +++ b/benefits/eligibility/templates/eligibility/index--sbmtd.html @@ -0,0 +1 @@ +{% extends "eligibility/index.html" %}