<reponame>0xhaval/hajj-system<filename>hajj_management_system/hajj_management_system/doctype/trip/trip.js<gh_stars>0// Copyright (c) 2023, envkt@example.com and contributors
// For license information, please see license.txt

frappe.ui.form.on('Trip', {
	// Filter Trip manager field
	setup: function(frm) {
        frm.set_query("trip_manager", function() {
    		return {
    			filters: [
					["Customer", "trip_manager", "=", true]
				]
    		}
    	});
	}
});
