<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 18:49:24
         compiled from "../views/obgy/case_summary_obstetric/complaint.html" */ ?>
<?php /*%%SmartyHeaderCode:15484976796856d4849690f9-49513518%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a982b3b1f6e02f4c2ccb6ed52d273e970c3a2ecb' => 
    array (
      0 => '../views/obgy/case_summary_obstetric/complaint.html',
      1 => 1674637692,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15484976796856d4849690f9-49513518',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'obstetric_case' => 0,
    'allcomplaint' => 0,
    'data' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6856d484a4efb7_26098585',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6856d484a4efb7_26098585')) {function content_6856d484a4efb7_26098585($_smarty_tpl) {?>

<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="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
" data-colName="complaint" 
                                                        data-tableName="obstetric_case">
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allcomplaint']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if (in_array($_smarty_tpl->tpl_vars['data']->value->id,$_smarty_tpl->tpl_vars['obstetric_case']->value->complaint)){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                    <?php } ?>
                                                    <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>



<?php }} ?>