Examples of POSItem


Examples of org.blueoxygen.postila.entity.POSItem

        model.removeRow(list);

    }//GEN-LAST:event_btDelete2ActionPerformed

    private void btNewActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btNewActionPerformed
        posItem = new POSItem();
        loadEmptyForm();

    }//GEN-LAST:event_btNewActionPerformed
View Full Code Here

Examples of org.blueoxygen.postila.entity.POSItem

        loadEmptyForm();

    }//GEN-LAST:event_btNewActionPerformed

    private void btAddActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAddActionPerformed
        POSItem sd = new POSItem();
        sd.setItemWarehouse(itemWarehouse);
        sd.setQuantity(tfQuantity.getText());
        sd.setPrice(itemWarehouse.getItem().getPrice());
        posItems.add(sd);
        model.addRow(new Object[]{sd.getItemWarehouse().getItem().getItemsName()!=null?sd.getItemWarehouse().getItem().getItemsName():"",
                sd.getQuantity(),
                sd.getPrice(),
                ""+(Long.parseLong(sd.getQuantity())*Long.parseLong(sd.getPrice()))
        });  
        countSum();
    }//GEN-LAST:event_btAddActionPerformed
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.