[% PROCESS 'elements.html' %]
[% text('Search Reconciliation Reports') %]
[% INCLUDE input element_data = { label = text('Statement Date From'), type = 'text', class = 'date', size = 12, value = from_date, name = 'from_date' } %] [% INCLUDE input element_data = { label = text('Statement Date To'), type = 'text', class = 'date', size = 12, value = to_date, name = 'to_date' } %] [% INCLUDE input element_data = { label = text('Amount From'), type = 'text', class = 'money', size = 12, value = balance_from, name = 'balance_from' } %] [% INCLUDE input element_data = { label = text('Amount To'), type = 'text', class = 'money', size = 12, value = balance_to, name = 'balance_to' } %] [% INCLUDE select element_data = { label = text('Account'), class = "chart_id", name = "account_id", options = recon_accounts, text_attr = 'name', value_attr = 'id' default_blank = "true" } %] [%- approved_options = [ {id = '1', label = text('Approved') }, {id = '0', label = text('Not Approved') } ]; PROCESS select element_data = { name = 'approved', label = text('Approval Status'), options = approved_options text_attr = 'label', value_attr = 'id', class = 'status' default_blank = "true" } -%] [%- submitted_options = [ {id = '1', label = text('Submitted') }, {id = '0', label = text('Not Submitted') } ]; PROCESS select element_data = { name = 'submitted', label = text('Submission Status'), options = submitted_options text_attr = 'label', value_attr = 'id', class = 'status' default_blank = "true" } -%]
[% INCLUDE button element_data = { type = "submit", name = "__action", text = text('Search'), value = 'get_results' } %]