[% INCLUDE input element_data = {
name = "meta_number"
value = meta_number
class = "text"
type = "text"
size = "20"
label = CONTACT
} %]
[%
INCLUDE select element_data = {
name = "cash_accno"
options = cash_accounts
default_values = [cash_accno]
default_blank = (not batch_id)
class = "account"
value_attr = "accno"
label = text('Cash Account')
} %]
[% INCLUDE input element_data = {
name = "source"
value = source
class = "text"
type = "text"
size = "20"
label = text('Source')
} %]
[% PROCESS date_row_div %]
[% IF batch_id %]
[% INCLUDE input element_data = {
type = "hidden"
value = batch_date
name = "date_reversed"
} %]
[% batch_date %]
[%
currency_list = [];
FOREACH c IN currencies;
currency_list.push( { text = c, value = c } );
END;
%]
[%
INCLUDE select element_data = {
name = 'currency'
options = currency_list
value_attr = id
default_values = [default_currency]
label = text('Currency')
}
%]
[%
INCLUDE input element_data = {
label = text('Exchange Rate') #'
type = 'text'
size = 10
name = 'exchangerate'
value = exchangerate
class = 'fxrate'
}
%]
[% END # if batch_id -%]
[% INCLUDE button element_data = {
name = "__action"
type = "submit"
class = "submit"
value = "get_search_results"
text = text('Search')
} %]