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

25 lines
459 B
JavaScript
Executable File

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 ();
}
});