22 lines
311 B
JavaScript
22 lines
311 B
JavaScript
|
|
Hedera.Items = new Class
|
|
({
|
|
Extends: Hedera.Form
|
|
|
|
,activate: function ()
|
|
{
|
|
this.$('lot').assign ({
|
|
warehouse: 7,
|
|
realm: null
|
|
});
|
|
}
|
|
|
|
,onShowClick: function ()
|
|
{
|
|
var lot = this.$('lot');
|
|
lot.assign ({rate: this.$('rate').value});
|
|
this.gui.openReport ('items-report', lot.params);
|
|
}
|
|
});
|
|
|