
<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>New Operation
                        </div>

                        <div class="actions">

                            <a href="{$hosturl}/controllers/{$controllname}.php?ac=index&&patientid={$patientId}" class="btn btn-default btn-sm">
                                Show </a>

                        </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=addOvum&patientid={$patientId}" method="POST"   id="payStudent">
                                    <div class="form-body row">
                                        <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}">{$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}">{$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}">{$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="" 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="" 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}">{$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=""></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=""></textarea>
                                                <div class="form-control-focus">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix"></div>
                                    </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>

<div class="bootbox modal fade bootbox-alert in" tabindex="-1" role="dialog" aria-hidden="false"  id="edit_model">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title"> Edit </h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body form">
                    <form action="" id="" method="post" class="form-horizontal  emptyform" >
                        <div class="form-body all" >
                            <!------===========================================------->
                            <div class="form-group">
                                <label class="col-md-1 control-label"> </label>
                                <div class="col-md-10">
                                    <div id="alldatadiv" class="" > </div>
                                </div>
                                <label class="col-md-1 control-label"> </label>
                            </div>

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

                            <!------===========================================------->
                            <div class="modal-footer">

                                <button type="submit" id="amountcloseinput"   class="btn default" data-dismiss="modal">Close</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
    </div>
</div>