
Hedera.Shelves = new Class
({
	Extends: Hedera.Form

	,activate: function ()
	{
		this.$.lot.assign ({
			date: new Date (),
			useIds: false
		});
	}

	,onConfigChange: function ()
	{
		this.$.lot.assignLot (this.$.config);
	}
	
	,onShowClick: function ()
	{
		this.gui.openReport ('shelves-report', this.$.lot.$);
	}
});

