19 package org.turro.erp.purchase;
21 import java.util.Date;
22 import org.turro.erp.db.ErpPU;
23 import org.turro.erp.entity.OrderItem;
24 import org.turro.jpa.Dao;
25 import org.zkoss.zk.ui.event.Event;
26 import org.zkoss.zk.ui.util.GenericForwardComposer;
27 import org.zkoss.zul.Checkbox;
28 import org.zkoss.zul.Datebox;
29 import org.zkoss.zul.Textbox;
30 import org.zkoss.zul.Window;
39 private Window draftcoGroupForm;
40 private Textbox docnumber;
41 private Datebox docdate;
42 private Checkbox sent;
46 docdate.setValue(orderItemSummary.getOrder(0).getDocumentDate());
47 docnumber.setValue(orderItemSummary.getOrder(0).getDocumentNumber());
48 sent.setChecked(orderItemSummary.getOrder(0).isSent());
57 for(Object o : orderItemSummary.orders) {
67 draftcoGroupForm.detach();
71 draftcoGroupForm.detach();
void setDocumentDate(Date documentDate)
void setDocumentNumber(String documentNumber)
void setSent(boolean sent)