diff --git a/app/views/reports/templates/template_1/cover.html.erb b/app/views/reports/templates/template_1/cover.html.erb deleted file mode 100644 index 7b5d489fe..000000000 --- a/app/views/reports/templates/template_1/cover.html.erb +++ /dev/null @@ -1,321 +0,0 @@ - -
- ANALYST WORKSHEET - | -
-
- 1. PRODUCT
-
-
- <% report_experiment_descriptions(report).each do |description| %>
- <%= description %>
-
- - <% end %> - |
-
-
- 2. SAMPLE NUMBER
-
-
- <%= assigned_to_report_repository_items(report, 'Samples').pluck(:name).join(', ') %>
-
- |
- ||||||||||||||||||||||
-
|
-
-
- 4. DATE RECEIVED
-
-
- <%= render Reports::DateInputComponent.new(report: report, name: :date_recieved, label: 'Date recieved', editing: false) %>
-
- |
-
-
- 5.RECEIVED FROM
-
-
- <%= render Reports::TextInputComponent.new(report: report, name: :recieved_from, label: 'Received from', editing: false) %>
-
- |
-
-
- 6. DISTRICT OR LABORATORY
-
-
- <%= render Reports::TextInputComponent.new(report: report, name: :district_laboratory, label: 'District or laboratory', editing: false) %>
-
- |
- |||||||||||||||||||||
-
- 7. DESCRIPTION OF SAMPLE
-
-
- <%= render Reports::LargeTextInputComponent.new(report: report, name: :sample_description, label: 'Descripton of sample', editing: false) %>
-
- |
- ||||||||||||||||||||||||
-
- 8. NET CONTENTS
-
- |
-
-
|
-
-
- 9. LABELING
-
- |
-
-
|
- |||||||||||||||||||||
-
- 10. SUMMARY OF ANALYSIS
-
-
- <%= render Reports::LargeTextInputComponent.new(report: report, name: :analysis_summary, label: 'Summary of analysis', editing: false) %>
-
- |
- ||||||||||||||||||||||||
-
- 11. RESERVE SAMPLE
-
-
- <%= render Reports::TextInputComponent.new(report: report, name: :reserve_sample, label: 'Reserve sample', editing: false) %>
-
- |
- ||||||||||||||||||||||||
-
- 12. a. ANALYST SIGNATURE (Broke Seal <%= render Reports::CheckboxInputComponent.new(report: report, name: :analyst_signature_broke, label: 'Broke seal', editing: false) %>)
-
-
- <%= render Reports::TextInputComponent.new(report: report, name: :analyst_signature_a, label: 'Analyst signature A', editing: false) %>
-
- |
-
-
- 13. WORKSHEET CHECK
-
- |
-
-
- a. BY
-
-
- <%= render Reports::TextInputComponent.new(report: report, name: :worksheet_check_by, label: 'Worksheet check by', editing: false) %>
-
- |
- ||||||||||||||||||||||
-
- b. DATE
-
-
- <%= render Reports::DateInputComponent.new(report: report, name: :worksheet_check_date, label: 'Worksheet check date', editing: false) %>
-
- |
- ||||||||||||||||||||||||
-
- b.
-
-
- <%= render Reports::TextInputComponent.new(report: report, name: :analyst_signature_b, label: 'Analyst signature B', editing: false) %>
-
- |
-
-
- 13. DATE REPORTED
-
-
- <%= render Reports::DateInputComponent.new(report: report, name: :date_reported, label: 'Date reported', editing: false) %>
-
- |
- |||||||||||||||||||||||
-
- c.
-
-
- <%= render Reports::TextInputComponent.new(report: report, name: :analyst_signature_c, label: 'Analyst signature C', editing: false) %>
-
- |
- - PAGE 1 OF <%= total_pages + 1 %> - | -
-
- ANALYST(S)
-
-
- <%= render Reports::ProjectMembersInputComponent.new(report: report, name: :analyst, label: 'Analyst', editing: false) %>
-
- |
-
-
- ANALYST EMPLOYEE NO.
-
-
- <%= render Reports::ProjectMembersInputComponent.new(report: report, name: :analyst_number, label: 'Employee number', editing: false, displayed_field: :external_id) %>
-
- |
-
-
- CHECKED BY:
-
-
- <%= render Reports::ProjectMembersInputComponent.new(report: report, name: :checked_by, label: 'Checked by', editing: false) %>
-
- |
- - PAGE OF - | -||||||
Single-Sided | -
- GENERAL CONTINUATION SHEET - | -
-
- PRODUCT
-
-
- <%= render Reports::TextInputComponent.new(report: report, name: :product, label: 'Product', editing: false) %>
-
- |
-
-
- SAMPLE NUMBER
-
-
- <%= render Reports::TextInputComponent.new(report: report, name: :sample_number, label: 'Sample number', editing: false) %>
-
- |
-
- | - | ||
Technical Report | -|||
- | |||
Date: | -<%= render Reports::DateInputComponent.new(report: report, name: :report_date, label: 'Date', editing: false) %> | -||
From: | -<%= render Reports::TextInputComponent.new(report: report, name: :report_from, label: 'From', editing: false) %> | -||
Through: | -<%= render Reports::TextInputComponent.new(report: report, name: :report_through, label: 'Through', editing: false) %> | -||
To: | -<%= render Reports::TextInputComponent.new(report: report, name: :report_to, label: 'To', editing: false) %> | -||
Subject: | -<%= render Reports::TextInputComponent.new(report: report, name: :report_subject, label: 'Subject', editing: false) %> | -||
- | |||
- EXECUTIVE SUMMARY
-
|
- |||
<%= render Reports::TextInputComponent.new(report: report, name: :report_file_name, label: 'Report file name', editing: false) %> | -Page 1 of <%= total_pages + 2 %> | -<%= render Reports::DateInputComponent.new(report: report, name: :report_date, label: 'Date', editing: false) %> | -
- | - | ||
-
|
- |||
<%= render Reports::TextInputComponent.new(report: report, name: :report_file_name, label: 'Report file name', editing: false) %> | -Page 2 of <%= total_pages + 2 %> | -<%= render Reports::DateInputComponent.new(report: report, name: :report_date, label: 'Date', editing: false) %> | -
<%= render Reports::TextInputComponent.new(report: report, name: :report_file_name, label: 'Report file name', editing: false) %> | -Page of | -<%= render Reports::DateInputComponent.new(report: report, name: :report_date, label: 'Date', editing: false) %> | -
- | - |
- | - | ||
OTR-Short Form Report | -|||
- | |||
Date: | -<%= render Reports::DateInputComponent.new(report: report, name: :report_date, label: 'Date', editing: false) %> | -||
From: | -<%= render Reports::TextInputComponent.new(report: report, name: :report_from, label: 'From', editing: false) %> | -||
Through: | -<%= render Reports::TextInputComponent.new(report: report, name: :report_through, label: 'Through', editing: false) %> | -||
To: | -<%= render Reports::TextInputComponent.new(report: report, name: :report_to, label: 'To', editing: false) %> | -||
Subject: | -<%= render Reports::TextInputComponent.new(report: report, name: :report_subject, label: 'Subject', editing: false) %> | -||
- | |||
-
|
- |||
<%= render Reports::TextInputComponent.new(report: report, name: :report_file_name, label: 'Report file name', editing: false) %> | -Page 1 of <%= total_pages + 1 %> | -<%= render Reports::DateInputComponent.new(report: report, name: :report_date, label: 'Date', editing: false) %> | -
<%= render Reports::TextInputComponent.new(report: report, name: :report_file_name, label: 'Report file name', editing: false) %> | -Page of | -<%= render Reports::DateInputComponent.new(report: report, name: :report_date, label: 'Date', editing: false) %> | -
- | - |