-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to return-status page, efile-error form and hub/efile-submiss…
…ions (#4382)
- Loading branch information
Showing
10 changed files
with
136 additions
and
61 deletions.
There are no files selected for viewing
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
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
31 changes: 31 additions & 0 deletions
31
app/views/hub/state_file/efile_submissions/_log_transmitted.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,31 @@ | ||
<div class="grid"> | ||
<div class="grid__item width-one-half"> | ||
<table class="fixed-width-table data-table"> | ||
<tr> | ||
<th>Date</th> | ||
<th>Sub-status</th> | ||
</tr> | ||
<% transmitted_transitions.each do |t| %> | ||
<% if t.metadata["raw_response"].present? %> | ||
<% xml = Nokogiri::XML(t.metadata["raw_response"]) %> | ||
<tr> | ||
<td> | ||
<%= xml.css("SubmsnStatusAcknowledgementDt").text.strip %> | ||
</td> | ||
<td> | ||
<%= xml.css("SubmissionStatusTxt").text.strip %> | ||
</td> | ||
</tr> | ||
<% elsif t.metadata["receipt"] %> | ||
<% xml = Nokogiri::XML(t.metadata["receipt"]) %> | ||
<tr> | ||
<td> | ||
<%= DateTime.parse(xml.css("SubmissionReceivedTs").text.strip).strftime("%Y-%m-%d %H:%M") %> | ||
</td> | ||
<td>Submission received</td> | ||
</tr> | ||
<% end %> | ||
<% end %> | ||
</table> | ||
</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
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