<th><?php echo gettext('Serial') ?> #</th> <th><?php echo gettext('Onhand') ?></th> <th><?php echo gettext('Res. Onhand') ?></th> <th><?php echo gettext('Onhand Id') ?></th> <th><?php echo gettext('Comment') ?></th> <th><?php echo gettext('Key Name') ?></th> <th><?php echo gettext('Key Value') ?></th> </tr> </thead> <tbody class="form_data_line_tbody"> <?php $count = 0; if (!empty($search_result)) { foreach ($search_result as $inv_reservation) { if (!empty($$class->onhand_id)) { $onhand_i = onhand_v::find_by_id($$class->onhand_id); $$class->onhand = $onhand_i->onhand; $$class->reservable_onhand = $onhand_i->reservable_onhand; }else{ $$class->onhand = $$class->reservable_onhand = null; } if (!empty($$class->inv_serial_number_id)) { $inv_serial_number_i = inv_serial_number::find_by_id($$class->inv_serial_number_id); $$class->serial_number = $inv_serial_number_i->serial_number; }else{ $$class->serial_number = null; } ?> <tr class="inv_reservation_line<?php echo $count ?>"> <td><?php $f->seq_field_d($count); ?></td> <td><?php echo $f->select_field_from_array('supply_type', inv_reservation::$supply_type_a, $$class->supply_type); ?></td>
echo gettext('Key Name'); ?> </th> <th><?php echo gettext('Key Value'); ?> </th> </tr> </thead> <tbody class="form_data_line_tbody"> <?php $count = 0; if (!empty($search_result)) { foreach ($search_result as $inv_reservation) { if (!empty(${$class}->onhand_id)) { $onhand_i = onhand_v::find_by_id(${$class}->onhand_id); ${$class}->onhand = $onhand_i->onhand; ${$class}->reservable_onhand = $onhand_i->reservable_onhand; } else { ${$class}->onhand = ${$class}->reservable_onhand = null; } if (!empty(${$class}->inv_serial_number_id)) { $inv_serial_number_i = inv_serial_number::find_by_id(${$class}->inv_serial_number_id); ${$class}->serial_number = $inv_serial_number_i->serial_number; } else { ${$class}->serial_number = null; } ?> <tr class="inv_reservation_line<?php echo $count;