<?php /* Smarty version Smarty-3.1.11, created on 2024-08-29 12:38:11
         compiled from "../views/obgy/labdevices/chooseninv.html" */ ?>
<?php /*%%SmartyHeaderCode:83472581666d041833cec66-29556579%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b55355d2023d9b912419cbf8b3cb9f85d26a856d' => 
    array (
      0 => '../views/obgy/labdevices/chooseninv.html',
      1 => 1709812644,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '83472581666d041833cec66-29556579',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'deviceInvests' => 0,
    'data' => 0,
    'controllname' => 0,
    'i' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66d04183470d28_55103018',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66d04183470d28_55103018')) {function content_66d04183470d28_55103018($_smarty_tpl) {?><?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
<?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['deviceInvests']->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;
?>
<tr>
    <td><?php echo $_smarty_tpl->tpl_vars['data']->value['catName'];?>
</td>
    <td><?php echo $_smarty_tpl->tpl_vars['data']->value['invName'];?>
</td>
    <td><?php echo $_smarty_tpl->tpl_vars['data']->value['invest_child'];?>
</td>
    <td>
        <input type="text"  class="form-control   updateElement"
               data-tableName="lab_devices_ranges" data-colName="send_code" 
               data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['send_code'];?>
"   />
    </td>
    <td>
        <input type="text"  class="form-control   updateElement"
               data-tableName="lab_devices_ranges" data-colName="receive_code" 
               data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['receive_code'];?>
"   />
    </td>
    <td>
        <textarea  id="range_txt" class="form-control  updateElement"  
                   data-tableName="lab_devices_ranges" data-colName="range_txt" 
                   data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   style="overflow-y: scroll;">
            <?php echo $_smarty_tpl->tpl_vars['data']->value['range_txt'];?>

        </textarea>
    </td>
    <td>
        <input type="text"  class="form-control   updateElement positivefloat"
               data-tableName="lab_devices_ranges" data-colName="range_low" 
               data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['range_low'];?>
"   />
    </td>
    <td>
        <input type="text"  class="form-control   updateElement positivefloat"
               data-tableName="lab_devices_ranges" data-colName="range_high" 
               data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['range_high'];?>
"   />
    </td>
    <td>
        <input type="text"  class="form-control   updateElement positivefloat"
               data-tableName="lab_devices_ranges" data-colName="invest_units" 
               data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['invest_units'];?>
"   />
    </td>
    <td>
        <input type="text"  class="form-control   updateElement positivefloat"
               data-tableName="lab_devices_ranges" data-colName="agefrom" 
               data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['agefrom'];?>
"   />
    </td>
    <td>
        <input type="text"  class="form-control   updateElement positivefloat"
               data-tableName="lab_devices_ranges" data-colName="ageto" 
               data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['ageto'];?>
"   />
    </td>
    <td>
        <select class="form-control updateElement"   id="age_units" 
                data-tableName="lab_devices_ranges" data-colName="age_units" 
                data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
">
            <option value=""></option>
            <option value="1"  <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==1){?>  selected  <?php }?>>Year</option>
            <option value="2" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==2){?>  selected  <?php }?>>Month</option>
            <option value="3" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==3){?>  selected  <?php }?>>Day</option>
            <option value="4" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==4){?>  selected  <?php }?>>Hour</option>
            <option value="5" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==5){?>  selected  <?php }?>>Minute</option>
            <option value="6" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==6){?>  selected  <?php }?>>Second</option>
        </select>
    </td>
    <td>
        <select class="form-control updateElement"   id="gender" 
                data-tableName="lab_devices_ranges" data-colName="gender" 
                data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
">
            <option value=""></option>
            <option value="-1"  <?php if ($_smarty_tpl->tpl_vars['data']->value['gender']==-1){?>  selected  <?php }?>>All</option>
            <option value="0" <?php if ($_smarty_tpl->tpl_vars['data']->value['gender']==0){?>  selected  <?php }?>>F</option>
            <option value="1" <?php if ($_smarty_tpl->tpl_vars['data']->value['gender']==1){?>  selected  <?php }?>>M</option>
        </select>
    </td>
    <td>
        <a class="btn grey-cascade btn-xs deletemsgEX" data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
" 
           style=" float: left;" href="#" data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
" 
           data-fn="del" data-tableName="lab_devices_ranges">
            <i class="fa fa-close"></i>
        </a>
    </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 } ?><?php }} ?>