Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Update DIT question with new department name #636

Merged
merged 1 commit into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/enquiries/common/as_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def via_enquiry_to_enquiry_kwargs(data):
"I’m convinced and want to talk to someone about my plans.":
ref_data.InvestmentReadiness.CONVINCED,
"The UK is on my shortlist. How can the Department for "
"International Trade help me?":
"Business and Trade help me?":
ref_data.InvestmentReadiness.SHORTLIST,
"I’m still exploring where to expand my business and would "
"like to know more about the UK’s offer.":
Expand Down
23 changes: 23 additions & 0 deletions app/enquiries/migrations/0025_auto_20230622_1559.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.2.19 on 2023-06-22 15:59

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('enquiries', '0024_auto_20220621_1534'),
]

operations = [
migrations.AlterField(
model_name='enquiry',
name='how_they_heard_dit',
field=models.CharField(choices=[('DEFAULT', '----'), ('PRESS_AD', 'Press ad (newspaper/trade publication'), ('OUTDOOR_AD', 'Outdoor ad/billboard'), ('LINKEDIN', 'LinkedIn'), ('SOCIAL_MEDIA', 'Other social media (e.g. Twitter/Facebook)'), ('INTERNET_SEARCH', 'Internet search'), ('OTHER', 'Other')], default='DEFAULT', max_length=255, verbose_name='How did they hear about DBT?'),
),
migrations.AlterField(
model_name='enquiry',
name='investment_readiness',
field=models.CharField(blank=True, choices=[('DEFAULT', '----'), ('CONVINCED', 'I’m convinced and want to talk to someone about my plans'), ('SHORTLIST', 'The UK is on my shortlist. How can the Department for Business and Trade help me?'), ('EXPLORING', 'I’m still exploring where to expand my business and would like to know more about the UK’s offer'), ('NOT_READY', 'I’m not yet ready to invest. Keep me informed'), ('NOT_INTERESTED_IN_UK', 'I’m not interested in setting up in the UK')], default='DEFAULT', max_length=255, verbose_name='Investment readiness'),
),
]
2 changes: 1 addition & 1 deletion app/enquiries/ref_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InvestmentReadiness(models.TextChoices):
SHORTLIST = (
"SHORTLIST",
_(
"The UK is on my shortlist. How can the Department for International Trade help me?"
"The UK is on my shortlist. How can the Department for Business and Trade help me?"
),
)
EXPLORING = (
Expand Down