<?php /* Smarty version Smarty-3.1.11, created on 2026-01-19 06:17:17
         compiled from "../views/obgy/patients/siglemodeltodelete/wifejobs.html" */ ?>
<?php /*%%SmartyHeaderCode:105111254696e3ceda62eb2-56896350%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ddee81e8d0ce7531446efc67e5ef866199310bdb' => 
    array (
      0 => '../views/obgy/patients/siglemodeltodelete/wifejobs.html',
      1 => 1542464114,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '105111254696e3ceda62eb2-56896350',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'allWifeJobs' => 0,
    'row' => 0,
    'i' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_696e3ceda85080_51347585',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_696e3ceda85080_51347585')) {function content_696e3ceda85080_51347585($_smarty_tpl) {?><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">  وظيفة الزوجة </h4>
        </div>
        <div class="modal-body">
            <div class="portlet-body form">
                <input type="hidden" id="controllName" value="111"/>
                <button type="button" class="btn btn-xs blue fright addwtRow" id="addwtRow" data-selectClass="wjob" data-fun="delwifejob" data-tableName="wifejobs"><i class="fa fa-plus"></i> إضافة</button></td>
                <table cellspacing="10" width="100%" id="ptAddTbl" class="ptAddTbl">
                    <thead>
                        <tr >
                            <th class="textcenter">حذف</th>
                            <th class=""><center>الوظيفة</center></th>
                    </tr>
                    </thead>
                    <tbody id="loaddetectionnew">
                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                        <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allWifeJobs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
?>                    
                        <tr class="textcenter" >
                            <td>
                                <a class="deleteelement fa fa-times btn red fleft" data-selectClass="wjob"  data-select2="yes" data-id="<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
" data-link="patients"  data-fun="delwifejob"></a>
                            </td>
                            <td style="width: 100%">
                                <input type="text" class="form-control updateElementSelect" data-selectClass="wjob"  data-select2="yes" data-id="<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
" data-colName="title" data-tableName="wifejobs" value="<?php echo $_smarty_tpl->tpl_vars['row']->value->title;?>
"/>
                            </td>

                        </tr>

                        <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>

        <div class="modal-footer">
            <button type="button" class="btn default" data-dismiss="modal">إغلاق</button>
        </div>
        <!-- /.modal-content -->
    </div>
</div>









<?php }} ?>