Skip to content

Commit

Permalink
Call deferred_start_date on current_course
Browse files Browse the repository at this point in the history
  • Loading branch information
CatalinVoineag committed Sep 27, 2024
1 parent 99be759 commit 2fd1ed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</p>
<% elsif @application_choice.offer_deferred? %>
<p class="govuk-body govuk-!-margin-top-2">
Your training will now start in <%= (@application_choice.current_course_option.course.start_date + 1.year).to_fs(:month_and_year) %>.
Your training will now start in <%= @application_choice.current_course.deferred_start_date.to_fs(:month_and_year) %>.
</p>
<% elsif @application_choice.pending_conditions? || @application_choice.recruited? || @application_choice.offer? %>
<%= govuk_details(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<p class="govuk-body">You have chosen to defer your offer from <%= @provider.name %> to study <%= @course_name_and_code %>.</p>
<p class="govuk-body">Your training will now start in <%= @application_choice.course.deferred_start_date.to_fs(:month_and_year) %>.</p>
<p class="govuk-body">Your training will now start in <%= @application_choice.current_course.deferred_start_date.to_fs(:month_and_year) %>.</p>
<p class="govuk-body">Your place will be confirmed once they have:</p>
<ul class="govuk-list govuk-list--bullet">
<li>received your references</li>
Expand Down

0 comments on commit 2fd1ed1

Please # to comment.