

<div class="portlet box purple">
    <div class="portlet-title">
        <div class="caption">Complaint</div>
        <div class="actions"></div>
        <div class="tools">
            <a href="#" class="collapse" title="تصغير / تكبير"></a>
        </div>
    </div>
    <div class="portlet-body">
        <div class="row">
            <div id="ultrasoundgynaDiv">
                <div class="row">
                    <div class="portlet-body form" >
                        <form>
                            <div class="form-body">
                                <table>
                                    <thead>
                                        <tr> 
                                            <td>
                                                <select multiple="" size="1" class="form-control select2me complaintant updateDiagnosis"
                                                        id="complaint"   data-id="{$obstetric_case->id}" data-colName="complaint" 
                                                        data-tableName="obstetric_case">
                                                    <option value="">choose</option>
                                                    {foreach $allcomplaint as $data}
                                                    <option value="{$data->id}" {if $data->id|in_array:$obstetric_case->complaint}selected="selected"{/if}>{$data->name}</option>
                                                    {/foreach}
                                                    <option value="-1" class="addDiagnosis">Add</option>
                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td> 
                                        </tr>
                                    </thead>
                                </table>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</div>



