Skip to content

Commit

Permalink
Sample Id changed text field in recnecy add and edit
Browse files Browse the repository at this point in the history
deforay-thanaseelan committed Aug 26, 2019
1 parent 6877780 commit 36792bc
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions module/Application/view/application/recency/add.phtml
Original file line number Diff line number Diff line change
@@ -159,12 +159,7 @@ ul.typeahead.dropdown-menu li:last-child a { border-bottom:0px !important; } */
<div class="form-group row form-horizontal">
<label class="col-sm-2 col-form-label <?php echo in_array("Sample Id", $resultArr2) ? "showFields" : "hideFields"; ?>" for="">Sample ID<?php echo (in_array("Sample Id", $resultArr) ? "<span class='mandatory'>*</span>" : ""); ?></label>
<div class="col-sm-4 <?php echo in_array("Sample Id", $resultArr2) ? "showFields" : "hideFields"; ?>">
<select class="form-control <?php echo $sample; echo in_array("Sample Id", $resultArr2) ? "showFields" : "hideFields"; ?>" id="sampleId" name="sampleId" title="Please select the sample id">
<option value="">--Select--</option>
<?php foreach($sampleInfo as $sample){?>
<option value="<?php echo $sample['qc_sample_no'];?>"><?php echo $sample['qc_sample_no'];?></option>
<?php }?>
</select>
<input type="text" class="form-control <?php echo $sample; echo in_array("Sample Id", $resultArr2) ? "showFields" : "hideFields"; ?>" id="sampleId" name="sampleId" placeholder="Enter the sample id" title="Please enter the sample id"/>
</div>

<label class="col-sm-2 col-form-label <?php echo in_array("Patient Id", $resultArr2) ? "showFields" : "hideFields"; ?>" for="">Patient ID <?php echo (in_array("Patient Id", $resultArr) ? "<span class='mandatory'>*</span>" : ""); ?></label>
7 changes: 1 addition & 6 deletions module/Application/view/application/recency/edit.phtml
Original file line number Diff line number Diff line change
@@ -190,12 +190,7 @@ if(isset($arr['admin_message']) && $arr['admin_message']!=''){
<div class="form-group row">
<label class="col-sm-2 col-form-label <?php echo in_array("Sample Id",$resultArr2)?"showFields":"hideFields";?>" for="">Sample ID<?php echo(in_array("Sample Id",$resultArr)?"<span class='mandatory'> *</span>":""); ?></label>
<div class="col-sm-4 <?php echo in_array("Sample Id",$resultArr2)?"showFields":"hideFields";?>">
<select class="form-control <?php echo $sample; echo in_array("Sample Id", $resultArr2) ? "showFields" : "hideFields"; ?>" id="sampleId" name="sampleId" title="Please select the sample id">
<option value="">--Select--</option>
<?php foreach($sampleInfo as $sample){?>
<option value="<?php echo $sample['qc_sample_no'];?>" <?php echo ($result['sample_id'] == $sample['qc_sample_no'])?'selected="selected"':''; ?>><?php echo $sample['qc_sample_no'];?></option>
<?php }?>
</select>
<input type="text" value="<?php echo $result['sample_id'];?>" class="form-control <?php echo $sample; echo in_array("Sample Id", $resultArr2) ? "showFields" : "hideFields"; ?>" id="sampleId" name="sampleId" placeholder="Enter the sample id" title="Please enter the sample id"/>
</div>
<label class="col-sm-2 col-form-label <?php echo in_array("Patient Id",$resultArr2)?"showFields":"hideFields";?>" for="">Patient ID<?php echo(in_array("Patient Id",$resultArr)?"<span class='mandatory'> *</span>":""); ?></label>
<div class="col-sm-4 <?php echo in_array("Patient Id",$resultArr2)?"showFields":"hideFields";?>">

0 comments on commit 36792bc

Please sign in to comment.