[% PROCESS 'elements.html'; PROCESS 'utilities.html'; %]
[% text('Timecard Criteria') %]
[% IF employees; # Setting this to a conditional so that employee list can be # populated by add-on workflows. Our standard ones will be set up # only to enter the timecards of the current user. --CT PROCESS employee element_name="person_id" label=text('Employee'); END %]
[% PROCESS business_unit_class label=text('Recording time for') _ ':' #' text_attr="label" value_attr="id" %]
[% PROCESS select element_data = { name = 'num_days' options = [{text = text('Day'), value = 1}, {text = text('Week'), value = 7}] default_values = [7], label = text('Time Frame') #' class = 'timeframe' }; %]
[% PROCESS input element_data = { label = text('Starting Date') #' name = 'date_from' type = 'text' size = 12 class = 'date' required = 'true' } %]
[% PROCESS button element_data = { text = text('Continue') name = 'action' value = 'timecard_screen' type = 'submit' class = 'submit' } %]