0
1
Fork 0
hedera-web-mindshore/web/forms/admin/items/items.js

24 lines
400 B
JavaScript
Executable File

Vn.Items = new Class
({
Extends: Vn.Form
,activate: function ()
{
this.$('warehouse').value = 7;
this.$('realm').value = null;
}
,onPreviewClick: function ()
{
var batch = new Sql.Batch ();
batch.addValues ({
'warehouse': this.$('warehouse').value
,'realm': this.$('realm').value
,'rate': this.$('rate').value
});
this.gui.openReport ('items-report', batch);
}
});