$_POST['dflt_curr_act'] = $myrow["dflt_curr_act"];
}
hidden('selected_id', $selected_id);
- hidden('account_code');
- hidden('account_type');
- hidden('BankAccountCurrency', $_POST['BankAccountCurrency']);
+ }
set_focus('bank_account_name');
}
if ($is_used)
{
label_row(_("Account Type:"), $bank_account_types[$_POST['account_type']]);
+ hidden('account_type');
}
else
{
if ($is_used)
{
label_row(_("Bank Account Currency:"), $_POST['BankAccountCurrency']);
+ hidden('BankAccountCurrency', $_POST['BankAccountCurrency']);
}
else
{
yesno_list_row(_("Default currency account:"), 'dflt_curr_act');
if($is_used)
+{
label_row(_("Bank Account GL Code:"), $_POST['account_code']);
-else
+ hidden('account_code');
+} else
gl_all_accounts_list_row(_("Bank Account GL Code:"), 'account_code', null);
text_row(_("Bank Name:"), 'bank_name', null, 50, 60);