X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fbank_transfer.php;h=c390f7a09e91fcbfaea936046d2d51443b932921;hb=19b77e12bf5c056e3141032c62cc8d9ad7a21d6e;hp=d40436d924975fa525a755b1d94866508f8c662e;hpb=0414e70dba24e2186c3ed3ffbcee3c6cd296742c;p=fa-stable.git diff --git a/gl/bank_transfer.php b/gl/bank_transfer.php index d40436d9..c390f7a0 100644 --- a/gl/bank_transfer.php +++ b/gl/bank_transfer.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $path_to_root=".."; $page_security = 5; @@ -19,7 +28,6 @@ if ($use_date_picker) page(_("Transfer between Bank Accounts"), false, false, "", $js); check_db_has_bank_accounts(_("There are no bank accounts defined in the system.")); -check_db_has_bank_trans_types(_("There are no bank transfer types defined in the system.")); //---------------------------------------------------------------------------------------- @@ -30,13 +38,17 @@ if (isset($_GET['AddedID'])) display_notification_centered( _("Transfer has been entered")); - display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL Journal Entries for this Transfer"))); + display_note(get_gl_view_str($trans_type, $trans_no, _("&View the GL Journal Entries for this Transfer"))); - hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter Another Transfer")); + hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Transfer")); safeExit(); } +if (isset($_POST['_DatePaid_changed'])) { + $Ajax->activate('_ex_rate'); +} + //---------------------------------------------------------------------------------------- function gl_payment_controls() @@ -54,7 +66,7 @@ function gl_payment_controls() bank_accounts_list_row(_("To Account:"), 'ToBankAccount', null, true); - date_row(_("Transfer Date:"), 'DatePaid'); + date_row(_("Transfer Date:"), 'DatePaid', '', null, 0, 0, 0, null, true); $from_currency = get_bank_account_currency($_POST['FromBankAccount']); $to_currency = get_bank_account_currency($_POST['ToBankAccount']); @@ -73,8 +85,6 @@ function gl_payment_controls() echo "