// Copyright (c) 2019, SolutionERP LLC and Contributors
// License: GNU General Public License v3. See license.txt

xhiveframework.ui.form.on('Payment Gateway Account', {
	refresh(frm) {
		xhiveerp.utils.check_payments_app();
		if(!frm.doc.__islocal) {
			frm.set_df_property('payment_gateway', 'read_only', 1);
		}
	}
});
