X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fbank_transfer.php;h=78089f5a4db6f59b56a0d5a128042c4bf1ff48c8;hb=43aa0abba82e8fa1f770b3b798875e7cae1e4b78;hp=149db9c9f9e27cb2ebb5983ae7ddef10ca4b9f06;hpb=d67d5295b9342c011697ce4df325197e29898588;p=fa-stable.git diff --git a/gl/bank_transfer.php b/gl/bank_transfer.php index 149db9c9..78089f5a 100644 --- a/gl/bank_transfer.php +++ b/gl/bank_transfer.php @@ -37,6 +37,10 @@ if (isset($_GET['AddedID'])) safeExit(); } +if (isset($_POST['_DatePaid_changed'])) { + $Ajax->activate('_ex_rate'); +} + //---------------------------------------------------------------------------------------- function gl_payment_controls() @@ -54,7 +58,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']); @@ -84,7 +88,7 @@ function gl_payment_controls() echo ""; end_table(1); // outer table - submit_center('AddPayment',_("Enter Transfer")); + submit_center('AddPayment',_("Enter Transfer"), true, '', true); end_form(); }