<reponame>ShwetaERPData/Gym-Management<filename>gym_management_system/gym_management_system/doctype/book_locker/book_locker.js<gh_stars>0// Copyright (c) 2022, upchh@example.com and contributors
// For license information, please see license.txt

frappe.ui.form.on('Book Locker', {
	 refresh: function(frm) {
		frm.fields_dict['available_lockers'].get_query = function(doc) {
			return {
				filters: {
					"is_available": '1'
				}
			}
		}
	}
});
