
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12 clinick invz" id="gprinModel">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>Ovum Pick Up
                        </div>
                    </div>
                    <div class="portlet-body all">
                        <input type="hidden" id="patientId" value="{$patientData->id}"/>
                        <input type="hidden" value="1" id="ovum_transfer">

                        <!---======================================================== tab1============================================================================================ ----->

                        <div class="row">
                            <div class="portlet-body form">
                                <form action="{$hosturl}/controllers/{$controllname}.php?ac=updateOvm&patientid={$patientId}" method="POST" id="payStudent">
                                    <div class="form-body">


                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-4 control-label">Consultant:</label>
                                                <div class="col-md-8">
                                                    <select class="form-control select2me updateElement"  id="consultant" name="consultant" data-placeholder="Select..." data-id="" data-colName="" data-tableName="">
                                                        <option></option>
                                                        {foreach  $clinician as $one}
                                                        <option value="{$one.user_id}" {if $one.user_id == $editElementov.consultant}selected{/if}>{$one.name}</option>
                                                        {/foreach}
                                                    </select>
                                                    <div class="form-control-focus">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-4 control-label">Anaesthetist:</label>
                                                <div class="col-md-8">
                                                    <select class="form-control select2me updateElement" id="anaesthetist" name="anaesthetist" data-placeholder="Select..." data-id="" data-colName="" data-tableName="">
                                                        <option></option>
                                                        {foreach  $anaesthetist as $one}
                                                        <option value="{$one.user_id}" {if $one.user_id == $editElementov.anaesthetist}selected{/if}>{$one.name}</option>
                                                        {/foreach}
                                                    </select>
                                                    <div class="form-control-focus">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>


                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-4 control-label">Nurse:</label>
                                                <div class="col-md-8">
                                                    <select class="form-control select2me updateElement" id="nurse" name="nurse" data-placeholder="Select..." data-id="" data-colName="" data-tableName="">
                                                        <option></option>
                                                        {foreach  $nurses as $one}
                                                        <option value="{$one.user_id}" {if $one.user_id == $editElementov.nurse}selected{/if}>{$one.name}</option>
                                                        {/foreach}
                                                    </select>
                                                    <div class="form-control-focus">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-4 control-label">Date:</label>
                                                <div class="col-md-8">
                                                    <input type="text" class="form-control  datepicker"  value='{$editElementov.date|date_format:"%Y/%m/%d"}' name="date" data-tableName="" />
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-4 control-label">Operation:</label>
                                                <div class="col-md-8">
                                                    <!--input type="text" class="form-control"  value="{$editElementov.operation}" name="operation" data-tableName="" /-->
                                                    <select class="form-control" id="operation_other_th" name="operation" data-placeholder="Select..." data-colName="name" select-tableName="operationotherth">
                                                        <option></option>
                                                        {foreach  $operation_other_th as $one}
                                                        <option value="{$one->id}" {if $one->id == $editElementov.operation}selected{/if}>{$one->name}</option>
                                                        {/foreach}
                                                        <option value="-2" class="deleteoptincompo">Delete</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>


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


                                        <div class="clearfix"></div>
                                        <div class="col-md-12">
                                            <label class="col-md-12 control-label">
                                                Complications:
                                            </label>
                                            <div class="col-md-12">
                                                <textarea class="form-control updateElement" rows="2"  id='complications' name='complications' placeholder="Enter more text" data-id="" data-colName="" data-tableName="">{$editElementov.complications}</textarea>
                                                <div class="form-control-focus">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix"></div>

                                        <div class="col-md-12">
                                            <label class="col-md-12 control-label">
                                                Notes:
                                            </label>
                                            <div class="col-md-12">
                                                <textarea class="form-control updateElement" rows="2" id="postoperative_treatment" name="postoperative_treatment" placeholder="Enter more text" data-id="" data-colName="" data-tableName="">{$editElementov.postoperative}</textarea>
                                                <div class="form-control-focus">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix"></div>

                                        <input type="hidden" name="id" value="{$editElementov.id}">


                                    </div>

                                    <div class="form-actions">
                                        <div class="row">
                                            <div class="col-md-offset-2 col-md-10">
                                                {if $patientId}
                                                <a class="btn default" href="{$hosturl}/controllers/{$controllname}.php?ac=index&patientid={$patientId}">Cancel</a>
                                                {else}
                                                <a class="btn default" href="{$hosturl}/controllers/{$controllname}.php?ac=index">Cancel</a>
                                                {/if}

                                                <button type="submit" class="btn blue">Submit</button>

                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="clearfix"></div>
<div id="vvv"></div>
