date_row(_("Transfer Date:"), 'DatePaid', '', null, 0, 0, 0, null, true);
+ ref_row(_("Reference:"), 'ref', '', $Refs->get_next(ST_BANKTRANSFER));
+
+ table_section(2);
+
$from_currency = get_bank_account_currency($_POST['FromBankAccount']);
$to_currency = get_bank_account_currency($_POST['ToBankAccount']);
if ($from_currency != "" && $to_currency != "" && $from_currency != $to_currency)
amount_row(_("Bank Charge:"), 'charge');
}
- table_section(2);
-
- ref_row(_("Reference:"), 'ref', '', $Refs->get_next(ST_BANKTRANSFER));
-
textarea_row(_("Memo:"), 'memo_', null, 40,4);
end_outer_table(1); // outer table
$amnt_tr = input_num('charge') + input_num('amount');
- if ($limit != null && ($limit < $amnt_tr)))
+ if ($limit != null && ($limit < $amnt_tr))
{
display_error(sprintf(_("The total bank amount exceeds allowed limit (%s) for source account."), price_format($limit)));
set_focus('amount');