Topic: Allow Bank Transfers Via Bank Payments
I have customized the code as below
includes/access_levels.inc Line 269
'SA_BANK2BANK' => array(SS_GL|13, _("Bank Transfer Through Bank Payment")), //added by faisal
includes/ui/gl_bank_ui.inc at Line 253
if (@$_GET['NewPayment'] == 'Yes') //Added by faisal
$skip_bank = !$_SESSION["wa_current_user"]->can_access('SA_BANK2BANK');
else {
$skip_bank = true;
}
echo gl_all_accounts_list('code_id', null, $skip_bank, true); // modified by faisal
gl/includes/db/gl_db_banking.inc at Line 477
if ($trans_type == ST_BANKPAYMENT AND $is_bank_to && !$_SESSION["wa_current_user"]->can_access('SA_BANK2BANK'))
Line numbers may vary.
Please test and comment.