Added tag version_2_3_11 for changeset 06e6f1abb26e
[fa-stable.git] / gl / bank_transfer.php
index a4866002f03135947b2d6bf8cb7926d20c670b6e..0308eb7562e201187c598945f10118237d4de9a5 100644 (file)
@@ -71,6 +71,10 @@ function gl_payment_controls()
 
     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) 
@@ -86,10 +90,6 @@ function gl_payment_controls()
                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