0
1
Fork 0
hedera-web-mindshore/forms/reports/shelves/shelves.js

25 lines
342 B
JavaScript
Raw Normal View History

2015-09-22 07:20:47 +00:00
2016-09-26 09:28:47 +00:00
Hedera.Shelves = new Class
2015-09-22 07:20:47 +00:00
({
2016-09-26 09:28:47 +00:00
Extends: Hedera.Form
2016-10-04 15:27:49 +00:00
2015-09-22 07:20:47 +00:00
,activate: function ()
{
2017-04-08 11:42:27 +00:00
this.$('lot').assign ({
date: new Date (),
useIds: false
});
2015-10-23 23:23:19 +00:00
}
2016-10-04 15:27:49 +00:00
2015-11-05 07:30:19 +00:00
,onConfigChange: function ()
2015-10-23 23:23:19 +00:00
{
2017-04-08 11:42:27 +00:00
this.$('lot').assignLot (this.$('config'));
2015-09-22 07:20:47 +00:00
}
2017-03-30 11:44:53 +00:00
,onShowClick: function ()
{
2017-04-08 11:42:27 +00:00
this.gui.openReport ('shelves-report', this.$('lot').params);
2015-10-21 23:42:52 +00:00
}
});