[% INDEX= loop.count %]
[% IF displayrow.accnoset == 0 %]
[% PROCESS input element_data = {
type = 'text'
name = "accno_$INDEX"
initial_value = displayrow.accno
class = 'AccountBox'
"data-dojo-type" = "lsmb/accounts/AccountSelector"
} %]
[% ELSE %]
[% PROCESS input element_data = {
label = displayrow.accno _ '--' _ displayrow.acc_desc
type = "hidden"
value = displayrow.accno
name = "accno_$INDEX"
id = "acc_$INDEX"
} %]
[% END %]
|
[% PROCESS input element_data = {
value = displayrow.debit
name = "debit_$INDEX"
type = "text"
size = 12
accesskey = displayrow.index
} %]
|
[% PROCESS input element_data = {
value = displayrow.credit
name = "credit_$INDEX"
type = "text"
size = 12
} %]
|
[% PROCESS input element_data = {
value = displayrow.description
name = "description_$INDEX"
type = "text"
size = 30
} %]
|
[% END %]