[% text('Bank Accounts') %]
[%
href_base = request.script _ '?&entity_id=' _ entity_id _ '&target_div=bank_act_div' _
'&form_id=' _ form_id _ '&credit_id=' _ credit_id _ '&id=';
FOREACH ba IN bank_account;
# Note that the href will be URL encoded when inserted in the template
ba.iban_href_suffix = '&bic=' _ ba.bic _ '&iban='
_ ba.iban _ '&action=edit' _ '&id=' _ ba.id;
ba.delete_href_suffix=ba.id _ '&action=delete_bank_account';
ba.delete = '[' _ text('Delete') _ ']';
END;
PROCESS dynatable
attributes = { id = 'bank_account_list', width = '100%' }
tbody = {rows = bank_account}
columns = [
{ col_id='bic', type='text', name=text('BIC/SWIFT Code') } #'
{ col_id='iban', type='href', href_base=href_base,
name=text('Account Number')}#'
{ col_id='remark', type='text', name=text('Remark') }
{ col_id='delete', type='href', href_base=href_base, name=' ' }
];
%]