◆ ReceiptItemModel()
org.turro.erp.purchase.ReceiptItemModel.ReceiptItemModel |
( |
List |
data, |
|
|
Grid |
grid |
|
) |
| |
◆ createGroupFoot()
Object org.turro.erp.purchase.ReceiptItemModel.createGroupFoot |
( |
Object[] |
groupdata, |
|
|
int |
index, |
|
|
int |
col |
|
) |
| |
|
protected |
Reimplemented from org.turro.jpa.model.GroupModelManager.
Definition at line 44 of file ReceiptItemModel.java.
46 summary.items = groupdata.length;
47 summary.orders = groupdata;
48 for(Object o : groupdata) {
49 if(o instanceof ReceiptItem) {
50 ReceiptItem ri = (ReceiptItem) o;
51 summary.cost += ri.getAmount();
52 summary.quatity += ri.getUnits() * ri.getDedication();
ReceiptItemModel(List data, Grid grid)
◆ createGroupHead()
Object org.turro.erp.purchase.ReceiptItemModel.createGroupHead |
( |
Object[] |
groupdata, |
|
|
int |
index, |
|
|
int |
col |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: