<?php /* Smarty version Smarty-3.1.11, created on 2024-03-24 12:09:10
         compiled from "../views/obgy/gyna/newrowpre.html" */ ?>
<?php /*%%SmartyHeaderCode:158416536365fffbc6abe548-76786879%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '46348165f7b692ea05845b4c77a1ad160e017980' => 
    array (
      0 => '../views/obgy/gyna/newrowpre.html',
      1 => 1647616216,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '158416536365fffbc6abe548-76786879',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'itr' => 0,
    'allDrugcats' => 0,
    'cat' => 0,
    'drugs' => 0,
    'drug' => 0,
    'allDrugTypes' => 0,
    'type' => 0,
    'allDrugDoses' => 0,
    'dos' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_65fffbc6b72888_49477337',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_65fffbc6b72888_49477337')) {function content_65fffbc6b72888_49477337($_smarty_tpl) {?>
<tr id="preRow<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">
    <td>
        <select class="form-control xx preCat " id="preCat<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" name="preCat<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  data-placeholder="Select..."  >
            <option value="">Choose Category</option>
            <?php  $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cat']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allDrugcats']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value){
$_smarty_tpl->tpl_vars['cat']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['cat']->value['drugcat'];?>
"><?php echo $_smarty_tpl->tpl_vars['cat']->value['drugcat'];?>
</option>
            <?php } ?>
        </select>
    </td>
    <td>
        <select class="form-control xx preName " id="preName<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="preName<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"   data-createNew="0"    data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-placeholder="Select..."  >
            <option value="">Choose Drug</option>
            <?php  $_smarty_tpl->tpl_vars['drug'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['drug']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['drugs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['drug']->key => $_smarty_tpl->tpl_vars['drug']->value){
$_smarty_tpl->tpl_vars['drug']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['drug']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['drug']->value['drugname'];?>
 </option>
            <?php } ?>
        </select>
    </td>
    <td>
        <select class="form-control xx preType " id="preType<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="preType<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"     data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-placeholder="Select..."  >
            <option value="">Choose Form</option>
            <?php  $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['type']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allDrugTypes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['type']->key => $_smarty_tpl->tpl_vars['type']->value){
$_smarty_tpl->tpl_vars['type']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['type']->value['drugtype'];?>
"><?php echo $_smarty_tpl->tpl_vars['type']->value['drugtype'];?>
</option>
            <?php } ?>
        </select>
    </td>
    <td>
        <select class="form-control xx preDos " id="preDos<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="preDos<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"     data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-placeholder="Select..."  >
            <option value="">choose dose </option>
            <?php  $_smarty_tpl->tpl_vars['dos'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dos']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allDrugDoses']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dos']->key => $_smarty_tpl->tpl_vars['dos']->value){
$_smarty_tpl->tpl_vars['dos']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['dos']->value['drugdos'];?>
"><?php echo $_smarty_tpl->tpl_vars['dos']->value['drugdos'];?>
</option>
            <?php } ?>
        </select>
    </td>

    <td>
        <a class="btn grey-cascade btn-xs deletePreRow"  style=" float: left;" href="#" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" >
            <i class="fa fa-close"></i>
        </a>
    </td>
</tr>

<?php }} ?>