[% columns = [{ col_id = 'type', name = text('Type'), type = 'text' }, { col_id = 'rate', name = text('Amount/Rate'), type = 'text' }]; PROCESS dynatable columns = columns attributes = {id = 'wage-table', width='100%' } t_body = {rows = wages}; PROCESS dynatable columns = columns attributes = {id = 'deduction-table', width='100%' } t_body = {rows = deductions}; %] [% PROCESS input element_data = { name = 'entity_id' type = 'hidden' value = entity_id } %] [% PROCESS input element_data = { name = 'entity_id' type = 'hidden' value = entity_id } %]
[% PROCESS select element_data = { options = wage_types value_attr = 'id' text_attr = 'label' name = 'type_id' id = 'wage_type_id' } %] [% PROCESS input element_data = { name = 'rate' value = rate class = 'number' type = 'text' id = 'wage_rate' } %][% PROCESS button element_data = { text = text('Add/Change Wage') #' name = 'action' type = 'submit' class = 'submit' } %]
[% PROCESS select element_data = { options = deduction_types value_attr = 'id' text_attr = 'label' name = 'type_id' id = 'deduction_type_id' } %] [% PROCESS input element_data = { name = 'rate' value = rate class = 'number' type = 'text' id = 'deduction_rate' } %][% PROCESS button element_data = { text = text('Add/Change Deductions') #' name = 'action' type = 'submit' class = 'submit' } %]
The project is looking to partner with subject matter experts to expand the functionality on these screens.