Esempio n. 1
0
         
           <tr class="hr_payslip_line<?php 
    echo $count;
    ?>
">
            <td>
             <?php 
    echo ino_inline_action($hr_payslip_line->hr_payslip_line_id, array('hr_payslip_header_id' => ${$class}->hr_payslip_header_id));
    ?>
            </td>
            <td><?php 
    $f->text_field_wid2sr('hr_payslip_line_id');
    ?>
</td>
            <td><?php 
    echo $f->select_field_from_object('hr_compensation_element_id', hr_compensation_element::find_all(), 'hr_compensation_element_id', array('element_name', 'calculation_rule'), ${$class_second}->hr_compensation_element_id, '', '', 1, $readonly);
    ?>
</td>

            <td><?php 
    $f->text_field_wid2s('element_value');
    ?>
</td>
           </tr>
           <?php 
    $hr_payslip_line_object_ai->next();
    if ($hr_payslip_line_object_ai->key() == $position + $per_page) {
        break;
    }
    $count = $count + 1;
}
Esempio n. 2
0
        <th>Inactive Date</th>
        <th>Description</th>
       </tr>
      </thead>
      <tbody class="form_data_line_tbody">
       <?php 
$count = 0;
foreach ($hr_element_entry_line_object as $hr_element_entry_line) {
    ?>
         
        <tr class="hr_element_entry_line<?php 
    echo $count;
    ?>
">
         <td><?php 
    echo $f->select_field_from_object('element_id', hr_compensation_element::find_all(), 'hr_compensation_element_id', 'element_name', ${$class_second}->element_id, '', '', 1, 1);
    ?>
</td>
         <td><?php 
    $f->text_field_wid2r('element_value');
    ?>
</td>
         <td><?php 
    $mon_val = hr_element_entry_line::find_monetary_value_by_id(${$class_second}->hr_element_entry_line_id);
    echo $f->text_field('monetary_value', $mon_val, '', '', '', '', 1);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldFromToday('end_date', ${$class_second}->end_date);
    ?>
</td>