Exemple #1
0
      <tbody class="form_data_line_tbody">
       <?php 
$count = 0;
foreach ($hr_expense_line_object as $hr_expense_line) {
    ?>
         
        <tr class="hr_expense_line<?php 
    echo $count;
    ?>
">
         <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('expense_location', hr_location::find_all(), 'hr_location_id', 'combination', ${$class_second}->expense_location);
    ?>
</td>
         <td><?php 
    echo $f->number_field('per_diem_rate', ${$class_second}->per_diem_rate, '', '', 'rate');
    ?>
</td>
         <td><?php 
    echo $f->number_field('per_diem_days', ${$class_second}->per_diem_days);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('mileage_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->mileage_uom_id, '', '', 'uom_id');
    ?>
</td>
         <td><?php 
<div class="row small-left-padding">
 <div id="form_all">
  <div id="form_headerDiv">
   <form action=""  method="post" id="hr_perdiem_rate_line"  name="perdiem_rate_line">
    <span class="heading"><?php 
echo gettext('Per Diem Rate');
?>
</span>
    <div id="form_serach_header" class="tabContainer">
     <?php 
echo $f->select_field_from_object('hr_location_id', hr_location::find_all(), 'hr_location_id', 'combination', $hr_location_id_h, 'hr_location_id', 'action');
?>
     <a name="show" href="form.php?class_name=hr_perdiem_rate&<?php 
echo "mode={$mode}";
?>
" class="show document_id hr_perdiem_rate_id action">
      <i class="fa fa-refresh"></i></a> 
    </div>
    <div id ="form_line" class="hr_perdiem_rate">
     <div id="tabsLine">
      <ul class="tabMain">
       <li><a href="#tabsLine-1"><?php 
echo gettext('Details');
?>
</a></li>
      </ul>
      <div class="tabContainer"> 
       <div id="tabsLine-1" class="tabContent">
        <table class="form_table">
         <thead> 
          <tr>