<div style="display:none;padding-top: 5px;padding-right: 15px;" id="transferDiv">

    <div class="col-md-12" >

        <div class="caption font-green-haze col-md-12 txtc">
            <span class="caption-subject bold " style="color: black"> Embryo Transfer</span>
        </div>

        <div class="caption font-green-haze col-md-4 wds30">
            <label class="col-md-3 control-label">Clinician </label>
            <div class="col-md-9">
                <input type="hidden" class="form-control updateTransferTable"    id="transfer_clinician_id" 
                       data-colName="clinician_id" data-tableName="embryotransfer" data-id="{$transfer->id}" >
                <input type="hidden" class="form-control"    id="transfer_clinician_id_value"  
                       value="{$transfer->clinician_id}" >
                <input type="hidden" class="form-control"    id="transfer_clinician_name"  
                       value="{$transfer->clinician_name}" >
            </div>
        </div>

        <div class="caption font-green-haze col-md-4 wds40">
            <label class="col-md-3 control-label">Embryologist </label>
            <div class="col-md-9">

                <input type="hidden" class="form-control updateTransferTable"    id="transfer_embryologist_id" 
                       data-colName="embryologist_id" data-tableName="embryotransfer" data-id="{$transfer->id}" >
                <input type="hidden" class="form-control"    id="transfer_embryologist_id_value"  
                       value="{$transfer->embryologist_id}" >
                <input type="hidden" class="form-control"    id="transfer_embryologist_name"  
                       value="{$transfer->embryologist_name}" >
            </div>
        </div>

        <div class="col-md-2 wds13" >
            <div class="form-group">
                <label class="col-md-3 control-label" for="form_control_1">Day:</label>
                <div class="col-md-9">
                    <select class="form-control select2me updateTransferTable"  required="required" id="et_day"  data-placeholder="Select..." name="transfer_day_id" data-colName="et_day" data-tableName="embryotransfer"  data-id="{$one.et_day}">
                        {foreach  $et_day_array as $one}
                        <option value="{$one}"{if $transfer->et_day eq $one}selected{/if}>{$one}</option>
                        {/foreach}

                    </select>
                    <div class="form-control-focus">
                    </div>
                </div>
            </div>
        </div>

        <div class="col-md-2">
            <div class="form-group">
                <label class="col-md-3 control-label" for="form_control_1">Date:</label>
                <div class="col-md-9">
                    <input type="text" class="form-control  datepicker updateTransferTable"   readonly
                           value="{$transfer.date_transer_embryo}" name="date_transer_embryo" 
                           data-colName="date_transer_embryo" data-tableName="embryotransfer"  
                           data-id="{$one.date_transer_embryo}"/>
                </div>
            </div>
        </div>

        <div class="col-md-12">

            <table>
                <thead>
                    <tr>
                        <th class="col-md-2 wds14">
                            No of embryos
                        </th>
                        <th>
                            1
                        </th>
                        <th>
                            2
                        </th>
                        <th>
                            3
                        </th>
                        <th>
                            4
                        </th>


                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td >
                            <span style="font-weight: bold;" >  Stage</span>
                        </td>

                        <td>
                            <select id="s7" class="form-control selectStage updateTransferTable" name="stage1" select-tableName="stage" data-colName="stage1" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $stages as $one}
                                <option value="{$one->id}"{if $transfer->stage1 eq $one->id}selected{/if}>{$one->stage}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                        </td>
                        <td>
                            <select id="s8" class="form-control selectStage updateTransferTable"name="stage2"  select-tableName="stage" data-colName="stage2" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $stages as $one}
                                <option value="{$one->id}"{if $transfer->stage2 eq $one->id}selected{/if}>{$one->stage}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                        </td>
                        <td>
                            <select id="s9" class="form-control selectStage updateTransferTable" name="stage3" select-tableName="stage" data-colName="stage3" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $stages as $one}
                                <option value="{$one->id}"{if $transfer->stage3 eq $one->id}selected{/if}>{$one->stage}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                        </td>
                        <td>
                            <select id="s10" class="form-control selectStage updateTransferTable"  name="stage4" select-tableName="stage" data-colName="stage4" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $stages as $one}
                                <option value="{$one->id}"{if $transfer->stage4 eq $one->id}selected{/if}>{$one->stage}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span style="font-weight: bold;" > Grade </span>
                        </td>

                        <td>
                            <select id="g7" class="form-control selectGrade updateTransferTable"  name="grade1" select-tableName="grade" data-colName="grade1" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $grades as $one}
                                <option value="{$one->id}"{if $transfer->grade1 eq $one->id}selected{/if}>{$one->grade}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                        </td>
                        <td>
                            <select id="g8" class="form-control selectGrade updateTransferTable"  name="grade2" select-tableName="grade" data-colName="grade2" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $grades as $one}
                                <option value="{$one->id}"{if $transfer->grade2 eq $one->id}selected{/if}>{$one->grade}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                        </td>
                        <td>
                            <select id="g9" class="form-control selectGrade updateTransferTable"  name="grade3" select-tableName="grade" data-colName="grade3" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $grades as $one}
                                <option value="{$one->id}"{if $transfer->grade3 eq $one->id}selected{/if}>{$one->grade}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                        </td>
                        <td>
                            <select id="g10" class="form-control selectGrade updateTransferTable"  name="grade4" select-tableName="grade" data-colName="grade4" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $grades as $one}
                                <option value="{$one->id}"{if $transfer->grade4 eq $one->id}selected{/if}>{$one->grade}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                        </td>
                    </tr>
                </tbody>
            </table>

        </div>
    </div>

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

    <div class="col-md-12">

        <div class="caption font-green-haze col-md-4">
            <span class="caption-subject bold "> Embryo Transfer Characterization</span>
        </div>

        <div class="col-md-12">

            <table>
                <thead>
                    <tr>
                        <th>
                            Catheter Type
                        </th>
                        <th>
                            Difficulty
                        </th>
                        <th>
                            Blood
                        </th>
                        <th>
                            Duration
                        </th>
                        <th>
                            Jet Place
                        </th>
                        <th>
                            L.A.H
                        </th>
                        <th>
                            Type
                        </th>
                        <th>
                            Day
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>
                            <select id="t10" class="form-control selectTable updateTransferTable" select-tableName="embryocathetertype" data-colName="catheter_type" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $embryocathetertype as $one}
                                <option value="{$one->id}"{if $transfer->catheter_type eq $one->id}selected{/if}>{$one->name}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                    </td>
                        <td>
                            <select id="t11" class="form-control selectTable updateTransferTable" select-tableName="embryodifficulty" data-colName="difficulty" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $embryodifficulty as $one}
                                <option value="{$one->id}"{if $transfer->difficulty eq $one->id}selected{/if}>{$one->name}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                    </td>
                        <td>
                            <select id="t12" class="form-control selectTable updateTransferTable" select-tableName="embryoblood" data-colName="blood" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $embryoblood as $one}
                                <option value="{$one->id}"{if $transfer->blood eq $one->id}selected{/if}>{$one->name}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                    </td>
                        <td>
                            <input type="text" class="form-control updateTransferTable"  data-colName="duration" data-tableName="embryotransfer" value="{$transfer->duration}"/>
                        </td>
                        <td>
                            <select id="t13" class="form-control selectTable updateTransferTable" select-tableName="embryojetplace" data-colName="jet_place" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $embryojetplace as $one}
                                <option value="{$one->id}"{if $transfer->jet_place eq $one->id}selected{/if}>{$one->name}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                    </td>
                        <td>
                            <select id="t14" class="form-control selectTable updateTransferTable" select-tableName="embryolah" data-colName="lah" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $embryolah as $one}
                                <option value="{$one->id}"{if $transfer->lah eq $one->id}selected{/if}>{$one->name}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                    </td>
                        <td>
                            <select id="t15" class="form-control selectTable updateTransferTable" select-tableName="embryotype" data-colName="type" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $embryotype as $one}
                                <option value="{$one->id}"{if $transfer->type eq $one->id}selected{/if}>{$one->name}</option>
                                {/foreach}

                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>                                                                    </td>
                        <td>
                            <select id="" class="form-control updateTransferTable select2Lab"  data-colName="day" data-tableName="embryotransfer">
                                <option value="">choose</option>
                                {foreach  $day_array as $one}
                                <option value="{$one}"{if $transfer->day eq $one}selected{/if}>{$one}</option>
                                {/foreach}


                            </select>                                                                    </td>

                    </tr>
                </tbody>
            </table>
        </div>

    </div>
</div>