Example #1
0
?>
" class="show document_id sys_hold_id"><img src="<?php 
echo HOME_URL;
?>
themes/images/refresh.png"/></a> 
        </li>
        <li><?php 
$f->l_text_field_dm('hold_name');
?>
 					</li>
        <li><?php 
$f->l_text_field_dm('hold_code');
?>
 					</li>
        <li><?php 
$f->l_select_field_from_object('hold_type', sys_hold::hold_type(), 'option_line_code', 'option_line_value', ${$class}->hold_type, 'hold_type', '', 1, $readonly1);
?>
              </li>
        <li><?php 
$f->l_status_field_d('status');
?>
</li>
        <li><?php 
$f->l_text_field_d('description');
?>
 					</li>
        <li><?php 
$f->l_checkBox_field_d('manual_released_cb');
?>
   </li>
        <li><?php 
      <div id="tabsLine-2" class="tabContent">
       <table class="form_table">
        <thead> 
         <tr>
          <th>Seq#</th>
          <th>Hole Name </th>
          <th>Description</th>
          <th>Released By </th>
          <th>Released On</th>
          <th>Reason</th>
          <th>Release Hold ?</th>
         </tr>
        </thead>
        <tbody class="form_data_line_tbody hold_reference_values" >
         <?php 
$sh = sys_hold::find_by_code($hold_reference_object[0]->hold_code);
if ($sh) {
    $hold_name = $sh->hold_name;
    $description = $sh->description;
} else {
    $hold_name = Null;
    $description = null;
}
$count = 0;
foreach ($hold_reference_object as $sys_hold_reference) {
    ?>
         
          <tr class="sys_hold_reference<?php 
    echo $count;
    ?>
">