mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fixed notices in supervisor
This commit is contained in:
@@ -385,7 +385,7 @@ if ($case_id != false)
|
||||
print "<div class='alert text-danger col-sm-6' role='alert'><b>" . T_("No appointments for this case") . "</b></div>";
|
||||
|
||||
// * disable appointment creation if no sample_id
|
||||
if ($r[0]['sample_id']){
|
||||
if (isset($r[0]['sample_id'])){
|
||||
$rtz= $r[0]['Time_zone_name'];
|
||||
print " <a href='displayappointments.php?case_id=$case_id&rtz=$rtz&new=new' class='btn btn-default'><i class='fa fa-clock-o fa-lg'></i> " . T_("Create appointment") . "</a>"; }
|
||||
|
||||
@@ -464,7 +464,7 @@ if ($case_id != false)
|
||||
|
||||
print "<div class='clearfix '></div><div class='col-sm-6'>";
|
||||
|
||||
if ($r[0]['sample_id']){ //if sample data exists assign this to an operator for their next case
|
||||
if (isset($r[0]['sample_id'])){ //if sample data exists assign this to an operator for their next case
|
||||
|
||||
print "<div class='panel-body'><h4><i class='fa fa-link'></i> " . T_("Assign this case to operator (will appear as next case for them)") . "</h4>";
|
||||
?>
|
||||
@@ -493,7 +493,7 @@ if ($case_id != false)
|
||||
print "<div class='alert text-danger' role='alert'>" . T_("Case not yet started in Limesurvey") . "</div>";
|
||||
print "</div></div>";
|
||||
|
||||
if ($r[0]['sample_id']){ // if sample data exists view availability
|
||||
if (isset($r[0]['sample_id'])){ // if sample data exists view availability
|
||||
|
||||
print "<div class='panel-body col-sm-6'><h4 class=''><i class='fa fa-calendar'></i> " . T_("Availability groups") . "</h4>";
|
||||
if (is_using_availability($case_id))
|
||||
@@ -551,7 +551,7 @@ if ($case_id != false)
|
||||
<?php
|
||||
print "</div>";
|
||||
|
||||
if ($r[0]['sample_id']){ // if sample data exists deidentify record
|
||||
if (isset($r[0]['sample_id'])){ // if sample data exists deidentify record
|
||||
print "<div class='panel-body col-sm-6 pull-right'><h4 class ='text-danger'><i class='fa fa-trash-o fa-lg'></i> " . T_("Deidentify") . "</h4>";
|
||||
print "<div class='well'>" . T_("Remove all sample details and contact numbers from this case") . "</div>";
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user