hedera-web/web/forms/admin/shelves/shelves.js

25 lines
459 B
JavaScript
Raw Normal View History

2015-09-22 07:20:47 +00:00
Vn.Shelves = new Class
({
Extends: Vn.Module
,activate: function ()
{
this.$('report-title').value = 'Anthuriums';
this.$('warehouse').value = 1;
this.$('date').value = new Date ();
this.$('shelf').value = 1;
this.$('reign').value = 1;
this.$('family').value = 2;
this.$('filter').value = 'Ant %';
this.$('max-amount').value = 50;
}
,onPreviewClick: function ()
{
var report = new ShelvesReport ();
report.showWindow ();
}
});