Skip to content

Commit

Permalink
Merge pull request #311 from ayobi/master
Browse files Browse the repository at this point in the history
added new sample statuses
  • Loading branch information
cassidysymons authored Feb 9, 2024
2 parents 905f000 + 79874ef commit 621691c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions microsetta_interface/templates/reports.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,19 @@
<div class="barcode-col barcode-text">
{{ sample.sample_barcode }}
</div>
<div class="barcode-col barcode-col-end" id="btn-view-{{ sample.sample_id }}">
<span class="sample-label">{{ _('Not Received Yet') }}</span>
</div>
{% if sample.sample_latest_scan_timestamp is none %}
<div class="barcode-col barcode-col-end" id="btn-view-{{ sample.sample_id }}">
<span class="sample-label">{{ _('Not Yet Received ') }} </span>
</div>
{% elif sample.sample_latest_sample_information_update is none or sample.sample_latest_scan_timestamp > sample.sample_latest_sample_information_update %}
<div class="barcode-col barcode-col-end" id="btn-view-{{ sample.sample_id }}">
<span class="sample-label">{{ _('Sample Received - Information Needed ') }} </span>
</div>
{% else %}
<div class="barcode-col barcode-col-end" id="btn-view-{{ sample.sample_id }}">
<span class="sample-label">{{ _('Sample Received - Update Pending ') }} </span>
</div>
{% endif %}
</div>
{% endfor %}
{% for er in external_reports_kit %}
Expand Down

0 comments on commit 621691c

Please sign in to comment.