<?php /* Smarty version Smarty-3.1.11, created on 2024-03-24 12:10:48
         compiled from "../views/obgy/gyna/prePres.html" */ ?>
<?php /*%%SmartyHeaderCode:99772286065fffc28e07639-09561832%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3aaa13aa6e903f32886f62dbc37fcb3a8f497c0d' => 
    array (
      0 => '../views/obgy/gyna/prePres.html',
      1 => 1647616216,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '99772286065fffc28e07639-09561832',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'pres' => 0,
    'm' => 0,
    'single' => 0,
    'preController' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_65fffc28e88cc6_82063359',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_65fffc28e88cc6_82063359')) {function content_65fffc28e88cc6_82063359($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['m'] = new Smarty_variable(1, null, 0);?>
<?php  $_smarty_tpl->tpl_vars['single'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['single']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['pres']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['single']->key => $_smarty_tpl->tpl_vars['single']->value){
$_smarty_tpl->tpl_vars['single']->_loop = true;
?>
<tr class="odd gradeX ">
    <td><?php echo $_smarty_tpl->tpl_vars['m']->value;?>
</td>
    <td><?php echo $_smarty_tpl->tpl_vars['single']->value['pre_name'];?>
</td>
    <td>
        <a class="btn green-jungle btn-xs addPatPrePres " data-for="0"  data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
" 
           data-controller="<?php echo $_smarty_tpl->tpl_vars['preController']->value;?>
"> Wife </a>

        <a class="btn purple-soft btn-xs addPatPrePres "  data-for="1"  data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
" 
           data-controller="<?php echo $_smarty_tpl->tpl_vars['preController']->value;?>
">  Husband </a>
    </td>
    <td>
        <a  class="btn green btn-block btn-xs editPrePres" data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
" ><i class="fa fa-pencil"></i> </a>
    </td>

    <td>
        <a class="btn grey-cascade btn-xs deletemsgEX" data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
" data-link="gyna"  
           data-fn="delPre" data-tableName="prepared_prescriptions"><i class="fa fa-times"></i> </a>
    </td>


</tr>
<?php $_smarty_tpl->_capture_stack[0][] = array('default', 'm', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['m']->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 } ?>


<?php }} ?>