-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add manual workflow buttons to payments flow
- Loading branch information
1 parent
27ec46b
commit d0a8b10
Showing
8 changed files
with
159 additions
and
2 deletions.
There are no files selected for viewing
25 changes: 24 additions & 1 deletion
25
app/controllers/claims/support/claims/payments/claims_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
app/views/claims/support/claims/payments/claims/confirm_information_sent.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<%= render "claims/support/primary_navigation", current: :claims %> | ||
<% content_for(:page_title) { sanitize t(".page_title") } %> | ||
|
||
<% content_for(:before_content) do %> | ||
<%= govuk_back_link href: claims_support_claims_payments_path %> | ||
<% end %> | ||
|
||
<div class="govuk-width-container"> | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<p class="govuk-caption-l"><%= t(".page_caption", reference: @claim.reference) %></p> | ||
<h1 class="govuk-heading-l"><%= t(".page_title") %></h1> | ||
|
||
<p class="govuk-body"><%= t(".description") %></p> | ||
|
||
<%= govuk_button_to t(".submit"), information_sent_claims_support_claims_payments_claim_path(@claim), method: :put %> | ||
|
||
<p class="govuk-body"><%= govuk_link_to t(".cancel"), claims_support_claims_payments_path %></p> | ||
</div> | ||
</div> | ||
</div> |
21 changes: 21 additions & 0 deletions
21
app/views/claims/support/claims/payments/claims/confirm_paid.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<%= render "claims/support/primary_navigation", current: :claims %> | ||
<% content_for(:page_title) { sanitize t(".page_title") } %> | ||
|
||
<% content_for(:before_content) do %> | ||
<%= govuk_back_link href: claims_support_claims_payments_path %> | ||
<% end %> | ||
|
||
<div class="govuk-width-container"> | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<p class="govuk-caption-l"><%= t(".page_caption", reference: @claim.reference) %></p> | ||
<h1 class="govuk-heading-l"><%= t(".page_title") %></h1> | ||
|
||
<p class="govuk-body"><%= t(".description") %></p> | ||
|
||
<%= govuk_button_to t(".submit"), information_sent_claims_support_claims_payments_claim_path(@claim), method: :put %> | ||
|
||
<p class="govuk-body"><%= govuk_link_to t(".cancel"), claims_support_claims_payments_path %></p> | ||
</div> | ||
</div> | ||
</div> |
21 changes: 21 additions & 0 deletions
21
app/views/claims/support/claims/payments/claims/confirm_reject.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<%= render "claims/support/primary_navigation", current: :claims %> | ||
<% content_for(:page_title) { sanitize t(".page_title") } %> | ||
|
||
<% content_for(:before_content) do %> | ||
<%= govuk_back_link href: claims_support_claims_payments_path %> | ||
<% end %> | ||
|
||
<div class="govuk-width-container"> | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<p class="govuk-caption-l"><%= t(".page_caption", reference: @claim.reference) %></p> | ||
<h1 class="govuk-heading-l"><%= t(".page_title") %></h1> | ||
|
||
<p class="govuk-body"><%= t(".description") %></p> | ||
|
||
<%= govuk_button_to t(".submit"), information_sent_claims_support_claims_payments_claim_path(@claim), method: :put %> | ||
|
||
<p class="govuk-body"><%= govuk_link_to t(".cancel"), claims_support_claims_payments_path %></p> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters