[% INCLUDE input element_data = {
title = text('Statement Date From'),
type = 'text',
class = 'date',
size = 12,
value = date_from,
name = 'date_from'
} %]
[% INCLUDE input element_data = {
title = text('Statement Date To'),
type = 'text',
class = 'date',
size = 12,
value = date_to,
name = 'date_to'
} %]
[% INCLUDE input element_data = {
title = text('Amount From'),
type = 'text',
class = 'money',
size = 12,
value = balance_from,
name = 'balance_from'
} %]
[% INCLUDE input element_data = {
title = text('Amount To'),
type = 'text',
class = 'money',
size = 12,
value = balance_to,
name = 'balance_to'
} %]
[% INCLUDE select element_data = {
title = 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',
title = 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',
title = 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'
} %]