// Copyright (c) 2019, SolutionERP LLC and contributors
// For license information, please see license.txt

{% include 'xhiveerp/loan_management/loan_common.js' %};

xhiveframework.ui.form.on('Loan Disbursement', {
	refresh: function(frm) {
		frm.set_query('against_loan', function() {
			return {
				'filters': {
					'docstatus': 1,
					'status': 'Sanctioned'
				}
			}
		})
	}
});
