<div class="portlet box grey-cascade">
    <div class="portlet-body">
        <div class="row">
            <div class="portlet-body form border-gray2 mb-5" >

                <input type="hidden" id="row_id" value="{$updatedate.id}"/>
                <input type="hidden" id="embryoslab" value="{$embryoslab_id}">
                <input type="hidden" id="controllName" value="operativedetails"/>
                <input type="hidden" id="ecVisitDate" value="{$updatedate.visitdate}"/>
                <input type="hidden" id="isCancelled" value="{$updatedate.cancelled}"/>

                <div class="row px-15">

                    <div class="col-md-4">
                        <div class="form-group ">
                            <label class="col-md-4 control-label" for="form_control_1">Referred Dr :</label>
                            <div class="col-md-8">
                                <input type="text" class="form-control " value="{$ref_dr}" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4">
                        <div class="form-group ">
                            <label class="col-md-4 control-label" for="form_control_1">Date :</label>
                            <div class="col-md-7">
                                <input type="text" id="date"  value="{$updatedate.date}"
                                       class="form-contro updateEmbryoLab datepicker"    readonly
                                       name="date" data-colName="date" data-tableName="embryoslab" />
                            </div>
                        </div>
                    </div>


                    <div class="col-md-2">
                        <div class="form-group ">
                            <label class="col-md-4 control-label" for="form_control_1">RFC :</label>
                            <div class="col-md-6">
                                <input type="text" class="form-control " value="{$visit_rfc}" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-12">
                        <div class="form-group ">
                            <label class="col-md-2 wds11 control-label" for="form_control_1">History :</label>
                            <div class="col-md-10 wds89">
                                <textarea class="form-control updateEmbryoLab txtc " data-colName="history" 
                                          data-tableName="embryoslab" rows="1" >
                                    {$updatedate.history}  
                                </textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>



            <div class="portlet-body form border-gray2 mb-5" >
                <div class="row px-15">

                    <div class="col-md-4">
                        <label class="col-md-4 control-label" for="form_control_1">  Sperm Source : </label>
                        <div class="col-md-8">
                            <select id="spSource"  class="form-control selectSpSource updateItemH"     
                                    data-rowid="{$updatedate.id}"   name="sperm_source" select-tableName="sperum_source" 
                                    data-colName="sperm_source"   data-tableName="embryoslab" >
                                <option value="">choose</option>
                                {foreach  $sperum_source as $one}
                                <option value="{$one->id}"{if $updatedate.sperm_source eq $one->id}selected{/if}>{$one->name}</option>
                                {/foreach}
                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-8 px-15">
                        <label class="col-md-1 control-label" for="form_control_1">
                            Notes:
                        </label>
                        <div class="col-md-11">
                            <textarea class="form-control updateEmbryoLab txtc" rows="1" id='notes' name='notes' 
                                      placeholder="Enter more text" data-id="" data-colName="mine_notes" 
                                      data-tableName="embryoslab">{$updatedate.mine_notes}</textarea>
                            <div class="form-control-focus"></div>
                        </div>
                    </div>

                </div>

                <div class="row px-15">
                    <div class="col-md-4">
                        <label class="col-md-4 control-label" for="form_control_1">   Semen Processing :  </label>
                        <div class="col-md-8">
                            <select id="SemenProcess"  class="form-control selectSemenProcess updateItemH"     
                                    data-rowid="{$updatedate.id}"   name="semen_processing" select-tableName="semen_process" 
                                    data-colName="semen_processing"   data-tableName="embryoslab" >
                                <option value="">choose</option>
                                {foreach  $semen_process as $one}
                                <option value="{$one->id}"{if $updatedate.semen_processing eq $one->id}selected{/if}>{$one->name}</option>
                                {/foreach}
                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-8 px-15">
                        <label class="col-md-2 control-label wds15" for="form_control_1">
                            Semen Parameters : 
                        </label>

                        <label class="col-md-1 control-label wds9" for="form_control_1">
                            Count:
                        </label>
                        <div class="col-md-2 wds19">
                            <input type="text" name="count" class="form-control input-sm updateEmbryoLab" 
                                   id="form_control_1" placeholder="" value="{$updatedate.semen_count}" 
                                   data-colName="semen_count" data-tableName="embryoslab">
                            <div class="form-control-focus"></div>
                        </div>

                        <label class="col-md-1 control-label wds9" for="form_control_1">
                            Motility:
                        </label>
                        <div class="col-md-2 wds19">
                            <input type="text" name="motility" class="form-control input-sm updateEmbryoLab" 
                                   id="form_control_1" placeholder=""  value="{$updatedate.semen_motililty}" 
                                   data-colName="semen_motililty" data-tableName="embryoslab">
                            <div class="form-control-focus"></div>
                        </div>

                        <label class="col-md-1 control-label wds10" for="form_control_1">
                            Morphology:
                        </label>
                        <div class="col-md-2 wds19">
                            <input type="text" name="morphology" class="form-control input-sm updateEmbryoLab" 
                                   id="form_control_1" placeholder="" value="{$updatedate.semen_morphology}" 
                                   data-colName="semen_morphology" data-tableName="embryoslab">
                            <div class="form-control-focus"></div>
                        </div>

                    </div>

                    <div class="clearfix"></div>



                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</div>
