Skip to content

Commit

Permalink
Added 'Not to Report' information on the gene page, clone sequencing …
Browse files Browse the repository at this point in the history
…information section
  • Loading branch information
tgrego committed Oct 5, 2015
1 parent ab3bae1 commit a8a36c0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
8 changes: 6 additions & 2 deletions lib/LIMS2/WebApp/Controller/User/Report/Gene.pm
Expand Up @@ -705,6 +705,7 @@ sub fetch_values_for_type_ep_pick {
'recombinases' => $summary_row->ep_pick_well_recombinase_id,
'ep_well' => $ep_well,
'is_accepted' => $well_is_accepted,
'to_report' => $summary_row->to_report,
};

if ( $summary_row->crispr_ep_well_name and $summary_row->ep_pick_well_accepted ) {
Expand Down Expand Up @@ -938,6 +939,7 @@ sub fetch_values_for_type_piq {
'fp_well' => $fp_well,
'is_accepted' => $well_is_accepted,
'ep_pick_well_id' => $summary_row->ep_pick_well_id,
'to_report' => $summary_row->to_report,
};

if ( $summary_row->crispr_ep_well_name ) {
Expand Down Expand Up @@ -1110,13 +1112,15 @@ sub crispr_qc_data {
piq_qc => $piq_qc->{qc},
piq_well => $piq_qc->{piq_well},
piq_accepted => $piq_qc->{accepted},
to_report => $well_data->{to_report},
};
}
}
else {
push @crispr_qc, {
epd_well => $ep_pick,
epd_qc => $crispr_qc_data,
epd_well => $ep_pick,
epd_qc => $crispr_qc_data,
to_report => $well_data->{to_report},
};
}

Expand Down
11 changes: 10 additions & 1 deletion root/site/user/report/gene_summary_report.tt
Expand Up @@ -193,7 +193,13 @@ function toggle_btn(btn, show_or_hide) {
<tbody>
[% FOREACH qc IN crispr_qc %]
<tr>
<td><strong>[% qc.epd_well %]</strong></td>
<td>
<strong>[% qc.epd_well %]</strong>
[% IF qc.to_report %]
<br>
<span class="label label-important">Not to Report</span>
[% END %]
</td>
[% INCLUDE 'crispr_qc_view.tt'
row = qc.epd_qc
accept = 0
Expand All @@ -213,6 +219,9 @@ function toggle_btn(btn, show_or_hide) {
<strong>[% qc.piq_well %]</strong>
<br>
<span class="label label-info">PIQ</span>
[% IF qc.to_report %]
<span class="label label-important">Not to Report</span>
[% END %]
</td>
[% INCLUDE 'crispr_qc_view.tt'
row = qc.piq_qc
Expand Down

0 comments on commit a8a36c0

Please sign in to comment.