18 package org.turro.erp.purchase;
20 import org.turro.elephant.context.Application;
21 import org.turro.erp.entity.ReceiptItem;
22 import org.turro.zkoss.input.ExpressionInput;
23 import org.turro.zkoss.input.Percentbox;
24 import org.zkoss.zk.ui.event.Event;
25 import org.zkoss.zk.ui.util.GenericForwardComposer;
26 import org.zkoss.zul.*;
35 private Window riForm;
36 private Textbox description, docnumber;
37 private Datebox start, docdate;
41 private Label reslabel, resvalue;
42 private Row dedicrow, startworkrow, costrow;
53 costrow.setVisible(
true);
57 startworkrow.setVisible(
true);
58 dedicrow.setVisible(
true);
60 costrow.setVisible(
true);
65 startworkrow.setVisible(
true);
66 dedicrow.setVisible(
false);
68 costrow.setVisible(
true);
73 startworkrow.setVisible(
false);
74 dedicrow.setVisible(
false);
75 costrow.setVisible(
true);
104 time.setValue(start.getValue());
108 start.setValue(time.getValue());
static String getString(String key)
void setDedication(double dedication)
void setDescription(String description)
void setDocumentNumber(String documentNumber)
HumanResource getHumanResource()
void setStartWorking(Date startWorking)
void setUnits(double units)
void setCost(double cost)
void setDocumentDate(Date documentDate)